KoMacro::MetaParameter Class Reference
#include <metaparameter.h>
Inheritance diagram for KoMacro::MetaParameter:

Detailed Description
Class to provide abstract methods for the undocumented Qt3 QUObject-API functionality.The design tried to limit future porting to Qt4 by providing a somewhat similar API to the Qt4 QMeta* stuff.
Definition at line 42 of file metaparameter.h.
Public Types | |
| typedef QValueList< KSharedPtr< MetaParameter > > | List |
| List of MetaParameter instances. | |
| enum | Type { TypeNone = 0, TypeVariant, TypeObject } |
| Possible types the MetaParameter could provide. More... | |
Public Member Functions | |
| MetaParameter (const QString &signatureargument=QString::null) | |
| Constructor. | |
| ~MetaParameter () | |
| Destructor. | |
| Type | type () const |
| const QString | typeName () const |
| void | setType (Type type) |
| Set the MetaParameter::Type this variable is. | |
| QVariant::Type | variantType () const |
| void | setVariantType (QVariant::Type varianttype) |
| Set the MetaParameter::Type this variable is. | |
| bool | validVariable (KSharedPtr< Variable > variable) const |
Protected Member Functions | |
| void | setSignatureArgument (const QString &signatureargument) |
Properties | |
| Type | type |
| Property to get the type of the variable. | |
| QString | typeName |
| Property to get the type of the variable as string. | |
Member Typedef Documentation
|
|
List of MetaParameter instances.
Reimplemented in KoMacro::Variable. Definition at line 60 of file metaparameter.h. |
Member Enumeration Documentation
|
|
Possible types the MetaParameter could provide.
Definition at line 80 of file metaparameter.h. |
Constructor & Destructor Documentation
|
|
Constructor.
Definition at line 60 of file metaparameter.cpp. References setSignatureArgument(), and TypeNone. |
|
|
Destructor.
Definition at line 71 of file metaparameter.cpp. |
Member Function Documentation
|
|
Definition at line 111 of file metaparameter.cpp. References setType(), setVariantType(), type(), and TypeObject. Referenced by MetaParameter(), and KoMacro::Variable::Variable(). |
|
|
Set the MetaParameter::Type this variable is.
Definition at line 94 of file metaparameter.cpp. Referenced by KoMacro::Variable::setObject(), setSignatureArgument(), and KoMacro::Variable::Variable(). |
|
|
Set the MetaParameter::Type this variable is.
Definition at line 105 of file metaparameter.cpp. References TypeVariant. Referenced by setSignatureArgument(), KoMacro::Variable::setVariant(), and KoMacro::Variable::Variable(). |
|
|
Referenced by setSignatureArgument(), KoMacro::Variable::toString(), validVariable(), and KoMacro::Variable::Variable(). |
|
|
|
|
|
Definition at line 140 of file metaparameter.cpp. References type(). |
|
|
Definition at line 100 of file metaparameter.cpp. |
Property Documentation
|
|
Property to get the type of the variable.
Definition at line 48 of file metaparameter.h. |
|
|
Property to get the type of the variable as string.
Definition at line 53 of file metaparameter.h. |
The documentation for this class was generated from the following files:
