Differences From Artifact [6c34637edf]:
- File QtCore/QtObject.h — part of check-in [3ece549448] at 2017-04-15 17:18:52 on branch trunk — Make toOF/toQt more powerful and complete QtWidget (user: js, size: 3355) [annotate] [blame] [check-ins using]
- File
src/QtCore/QtObject.h
— part of check-in
[baf52ea3b1]
at
2017-04-17 23:25:45
on branch trunk
— Add a proper build system
Also lowers the minimum required Qt version to 5.5. (user: js, size: 3355) [annotate] [blame] [check-ins using]
To Artifact [ba457e33e9]:
- File src/QtCore/QtObject.h — part of check-in [860515ac5a] at 2017-05-08 00:11:18 on branch trunk — Update to recent ObjFW changes (user: js, size: 3403) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
36 37 38 39 40 41 42 | } @property (readonly) QObject *qObject; @property (readonly) const QMetaObject *metaObject; @property (retain) QtObject *parent; @property (copy) OFString *objectName; | > | | | | | | | | | | | | | | | | | | | | | | | | 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 | } @property (readonly) QObject *qObject; @property (readonly) const QMetaObject *metaObject; @property (retain) QtObject *parent; @property (copy) OFString *objectName; - init OF_UNAVAILABLE; - initWithQObject: (QObject *)qObject; - (bool)setBlockSignals: (bool)block; - (OFArray OF_GENERIC(QtObject *) *)children; - (QMetaObject::Connection)connectSignal: (OFString *)signal sender: (QtObject *)sender method: (OFString *)method type: (Qt::ConnectionType)type; - (bool)disconnectSignal: (OFString *)signal receiver: (QtObject *)receiver method: (OFString *)method; - (bool)disconnectAllSignalsForReceiver: (QtObject *)receiver method: (OFString *)method; - (void)dumpObjectInfo; - (void)dumpObjectTree; - (OFArray OF_GENERIC(OFDataArray *) *)dynamicPropertyNames; - (bool)handleEvent: (QtEvent *)event; - (bool)filterEvent: (QtEvent *)event forObject: (QtObject *)watched; // MISSING: T findChild(const QString &name = QString(), // Qt::FindChildOptions options = Qt::FindChildrenRecursively) const; // MISSING QList<T> findChildren(const QString &name = QString(), // Qt::FindChildOptions options = Qt::FindChildrenRecursively) const; // MISSING: QList<T> findChildren(const QRegExp ®Exp, // Qt::FindChildOptions options = Qt::FindChildrenRecursively) const; - (bool)inheritsClassWithName: (OFString *)className; - (void)installEventFilter: (QtObject *)filterObj; - (bool)isWidgetType; - (bool)isWindowType; - (void)killTimerWithID: (int)ID; - (void)moveToThread: (QtThread *)targetThread; - (QVariant)propertyForName: (OFString *)name; - (void)removeEventFilter: (QtObject *)obj; - (bool)setProperty: (QVariant&)value forName: (OFString *)name; - (bool)signalsBlocked; - (int)startTimerWithInterval: (int)interval type: (Qt::TimerType)type; - (QtThread *)thread; - (void)deleteLater; @end namespace ObjQt { static OF_INLINE QtObject * toOF(QObject *qObject) { return [[[QtObject alloc] initWithQObject: qObject] autorelease]; } static OF_INLINE QObject * toQt(QtObject *object) { return [object qObject]; } } |