Critical Qt classes are subclasses of class QObject. Qt distinguishes some member functions of these classes, namely slots, signals and properties. Qt provides means to enumerate these slots, signals and properties at run time. Please refer to the Qt documentation on the Qt object model for more details.

Instances of these classes are known as Qt objects. Pointers to Qt objects can be exposed to the Lua interpeter because Qt variants can contain values of type QObjectPointer which is a guarded pointer to a Qt object.

Such values have a special treatment:

Subsections

  1. Memory management
  2. Properties
  3. Slots and Invokable Methods
  4. Named Children
  5. Signals