20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
-
+
|
* POSSIBILITY OF SUCH DAMAGE.
*/
#import "QtObject.h"
#import "QtEvent.h"
#import "QtThread.h"
#import "OFString+QString.h"
#import "OFDataArray+QByteArray.h"
#import "OFData+QByteArray.h"
#include <QVariant>
using ObjQt::toOF;
using ObjQt::toQt;
@implementation QtObject
|
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
|
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
|
-
+
|
}
- (void)dumpObjectTree
{
_qObject->dumpObjectTree();
}
- (OFArray OF_GENERIC(OFDataArray *) *)dynamicPropertyNames
- (OFArray OF_GENERIC(OFData *) *)dynamicPropertyNames
{
const QList<QByteArray> &dynamicPropertyNames =
_qObject->dynamicPropertyNames();
OFMutableArray *ret =
[OFMutableArray arrayWithCapacity: dynamicPropertyNames.count()];
void *pool = objc_autoreleasePoolPush();
|