CopperSpice API
1.9.2
|
The standard C++ object model provides efficient runtime support for the object paradigm. However the static type system of C++ can be inflexible under some conditions. Graphical user interface programming requires both runtime efficiency and flexibility. CopperSpice provides the GUI required support by adding the an Object Model architecture.
CopperSpice adds the following features to C++. Many of these features are implemented with standard C++ techniques based on inheritance from QObject.
These are the classes which form the basis of the CopperSpice Object Model.
QMetaClassInfo | Additional information about a class |
QMetaEnum | Meta data about an enumerator |
QMetaMethod | Meta data about a member function |
QMetaObject | Contains meta information about CopperSpice objects |
QMetaProperty | Meta data about a property |
QObject | The base class of all CopperSpice objects |
QObjectCleanupHandler | Watches the lifetime of multiple QObjects |
QPointer | Template class that provides guarded pointers to QObject |
QSignalMapper | Bundles signals from identifiable senders |
QVariant | Manages named types in the property system, stores a single value of almost any data type |
QObjects in CopperSpice
QObject and all subclasses of QObject (direct or indirect) have their copy constructor and assignment operator disabled.