ObjQt  Diff

Differences From Artifact [de5ca4911a]:

To Artifact [b2c785da49]:


34
35
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
34
35
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







+
-
-
+
+




-
+






-
+






@property (getter=isChecked) bool checked;
@property (getter=isDown) bool down;
@property QIcon icon;
@property of_dimension_t iconSize;
@property QKeySequence shortcut;
@property (copy) OFString *text;

- initWithQWidget: (QWidget *)qWidget OF_UNAVAILABLE;
- initWithQAbstractButton: (QAbstractButton*)qAbstractButton;
- (QButtonGroup*)group;
- initWithQAbstractButton: (QAbstractButton *)qAbstractButton;
- (QButtonGroup *)group;
@end

namespace ObjQt {

static OF_INLINE QtAbstractButton*
static OF_INLINE QtAbstractButton *
toOF(QAbstractButton *qAbstractButton)
{
	return [[[QtAbstractButton alloc]
	    initWithQAbstractButton: qAbstractButton] autorelease];
}

static OF_INLINE QAbstractButton*
static OF_INLINE QAbstractButton *
toQt(QtAbstractButton *abstractButton)
{
	return [abstractButton qAbstractButton];
}

}