ObjQt  Diff

Differences From Artifact [f6acd86617]:

To Artifact [786b963eba]:


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







+
-
-
+
+

-
-
+
+


-
-
-
+
+
+

-
+




-
+




-
+





-
+






@property Qt::ShortcutContext shortcutContext;
@property (copy) OFString *statusTip;
@property (copy) OFString *text;
@property (copy) OFString *toolTip;
@property (getter=isVisible) bool visible;
@property (copy) OFString *whatsThis;

- initWithQObject: (QObject *)qObject OF_UNAVAILABLE;
- initWithQAction: (QAction*)qAction;
- (QActionGroup*)actionGroup;
- initWithQAction: (QAction *)qAction;
- (QActionGroup *)actionGroup;
- (void)activate: (QAction::ActionEvent)event;
- (QList<QGraphicsWidget*>)associatedGraphicsWidgets;
- (OFArray OF_GENERIC(QtWidget*)*)associatedWidgets;
- (QList<QGraphicsWidget *>)associatedGraphicsWidgets;
- (OFArray OF_GENERIC(QtWidget *) *)associatedWidgets;
- (QVariant)data;
- (bool)isSeparator;
- (QMenu*)menu;
- (QtWidget*)parentWidget;
- (void)setActionGroup: (QActionGroup*)group;
- (QMenu *)menu;
- (QtWidget *)parentWidget;
- (void)setActionGroup: (QActionGroup *)group;
- (void)setData: (const QVariant&)data;
- (void)setMenu: (QMenu*)menu;
- (void)setMenu: (QMenu *)menu;
- (void)setSeparator: (bool)isSeparator;
- (void)setShortcuts: (const QList<QKeySequence>&)shortcuts;
- (void)setShortcutsWithStandardKey: (QKeySequence::StandardKey)key;
- (QList<QKeySequence>)shortcuts;
- (bool)showStatusText: (QtWidget*)widget;
- (bool)showStatusText: (QtWidget *)widget;
@end

namespace ObjQt {

static OF_INLINE QtAction*
static OF_INLINE QtAction *
toOF(QAction *qAction)
{
	return [[[QtAction alloc] initWithQAction: qAction] autorelease];
}

static OF_INLINE QAction*
static OF_INLINE QAction *
toQt(QtAction *action)
{
	return [action qAction];
}

}