[Kangaroo Index] [Kangaroo Hierarchy] [Headers]
An interface for a signal/slot handling base class. More...
#include <qtobjc/QObject.h>
An interface declaring most of the methods that were in the C++ 'qobject.h' header. Since the Qt library uses multiple inheritance these methods are defined as an Objective-C protocol. Then classes, such as QWidget, can inherit from both QObject and QPainterDevice. They inherit the interface 'QObjectInterface' as a protocol from QObject, and behaviour from the 'QPainterDevice' implementation. From the point of view of Objective-C, the methods in QObject with the same names in QWidget are reimplementations of the same 'QObjectInterface' interface. In fact, the two implementations call the same QtC function calls, and invoke the same C++ member functions.
See the interfaces QObject and QtSupport for the remainder of the public methods for QObject.
This interface is implemented by the two categories QObject(QObjectImplementation) and QWidget(QObjectImplementation). Both implementations call the same C++ member functions of QObject.
Create a new QObject with the given parent and name
Emit a signal with no parameter
Emit a signal with an int parameter
Emit a signal with a void * parameter corresponding to an Objective-C instance
| Kdoc |