Update to recent ObjFW changes
This commit is contained in:
parent
ba805dab97
commit
1e5a65195e
28 changed files with 341 additions and 331 deletions
|
@ -46,34 +46,35 @@
|
|||
@property (getter=isVisible) bool visible;
|
||||
@property (copy) OFString *whatsThis;
|
||||
|
||||
- initWithQAction: (QAction*)qAction;
|
||||
- (QActionGroup*)actionGroup;
|
||||
- initWithQObject: (QObject *)qObject OF_UNAVAILABLE;
|
||||
- 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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue