ObjQt  Diff

Differences From Artifact [56fa6f8c8c]:

To Artifact [579279b5d5]:


25
26
27
28
29
30
31
32

33
34
35
36
37

38
39
40
41
42

43
44

45
46
47
48
49
50
51
25
26
27
28
29
30
31

32
33
34
35
36

37
38
39
40
41

42
43

44
45
46
47
48
49
50
51







-
+




-
+




-
+

-
+








#import "helpers.h"

using ObjQt::toOF;
using ObjQt::toQt;

@implementation QtApplication
- initWithQGuiApplication: (QGuiApplication*)qGuiApplication
- initWithQGuiApplication: (QGuiApplication *)qGuiApplication
{
	OF_INVALID_INIT_METHOD
}

- initWithQApplication: (QApplication*)qApplication
- initWithQApplication: (QApplication *)qApplication
{
	return [super initWithQGuiApplication: qApplication];
}

- (QApplication*)qApplication
- (QApplication *)qApplication
{
	return qobject_cast<QApplication*>(_qObject);
	return qobject_cast<QApplication *>(_qObject);
}

- (bool)autoSIPEnabled
{
	return toQt(self)->autoSipEnabled();
}

110
111
112
113
114
115
116
117

118
119
120
121
122

123
124
125
126
127
128
129
110
111
112
113
114
115
116

117
118
119
120
121

122
123
124
125
126
127
128
129







-
+




-
+







}

- (void)setStartDragTime: (int)startDragTime
{
	toQt(self)->setStartDragTime(startDragTime);
}

- (OFString*)styleSheet
- (OFString *)styleSheet
{
	return toOF(toQt(self)->styleSheet());
}

- (void)setStyleSheet: (OFString*)styleSheet
- (void)setStyleSheet: (OFString *)styleSheet
{
	toQt(self)->setStyleSheet(toQt(styleSheet));
}

- (int)wheelScrollLines
{
	return toQt(self)->wheelScrollLines();