Base-class for server-side property editor extensions.  
 More...
#include <propertycontrollerextension.h>
 | 
|   | PropertyControllerExtension (const QString &name) | 
|   | Create a new property extension.  
  | 
|   | 
| 
QString  | name () const | 
|   | Returns the identifier of this extension, used for client/server communication. 
  | 
|   | 
| virtual bool  | setMetaObject (const QMetaObject *metaObject) | 
|   | Sets the meta object that should be represented by this extension. This variant is used for QMetaObjects without a specific object instance.  
  | 
|   | 
| virtual bool  | setObject (void *object, const QString &typeName) | 
|   | Sets the object that should be represented by this extension. This variant is used for non-QObject types using Gammaray::MetaObjectRepository.  
  | 
|   | 
| virtual bool  | setQObject (QObject *object) | 
|   | Sets the QObject that should be represented by this extension. This variant is used for QObject-derived types.  
  | 
|   | 
Base-class for server-side property editor extensions. 
This can be used to add your own tabs to the property widget. Re-implement the corresponding variant of setObject/setMetaObject you can handle, the default implementations do nothing and return false.
- Since
 - 2.1 
 
 
◆ PropertyControllerExtension()
  
  
      
        
          | GammaRay::PropertyControllerExtension::PropertyControllerExtension  | 
          ( | 
          const QString &  | 
          name | ) | 
           | 
         
       
   | 
  
explicit   | 
  
 
Create a new property extension. 
- Parameters
 - 
  
    | name | The extension identifier used for client/server communication.  | 
  
   
 
 
◆ setMetaObject()
  
  
      
        
          | virtual bool GammaRay::PropertyControllerExtension::setMetaObject  | 
          ( | 
          const QMetaObject *  | 
          metaObject | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
Sets the meta object that should be represented by this extension. This variant is used for QMetaObjects without a specific object instance. 
- Returns
 true if the extension can handle object, false otherwise. 
 
 
◆ setObject()
  
  
      
        
          | virtual bool GammaRay::PropertyControllerExtension::setObject  | 
          ( | 
          void *  | 
          object,  | 
         
        
           | 
           | 
          const QString &  | 
          typeName  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
virtual   | 
  
 
Sets the object that should be represented by this extension. This variant is used for non-QObject types using Gammaray::MetaObjectRepository. 
- Returns
 true if the extension can handle object, false otherwise. 
 
 
◆ setQObject()
  
  
      
        
          | virtual bool GammaRay::PropertyControllerExtension::setQObject  | 
          ( | 
          QObject *  | 
          object | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
Sets the QObject that should be represented by this extension. This variant is used for QObject-derived types. 
- Returns
 true if the extension can handle object, false otherwise.