Use dot syntax
This commit is contained in:
parent
e5a0058952
commit
5b48e3eb1e
31 changed files with 98 additions and 90 deletions
|
@ -36,8 +36,10 @@
|
|||
@property (nonatomic, copy) OFString *styleSheet;
|
||||
@property (nonatomic) int wheelScrollLines;
|
||||
|
||||
- initWithQGuiApplication: (QGuiApplication *)qGuiApplication OF_UNAVAILABLE;
|
||||
- initWithQApplication: (QApplication *)qApplication OF_DESIGNATED_INITIALIZER;
|
||||
- (instancetype)initWithQGuiApplication: (QGuiApplication *)qGuiApplication
|
||||
OF_UNAVAILABLE;
|
||||
- (instancetype)initWithQApplication: (QApplication *)qApplication
|
||||
OF_DESIGNATED_INITIALIZER;
|
||||
- (void)aboutQt;
|
||||
- (void)closeAllWindows;
|
||||
@end
|
||||
|
@ -57,7 +59,7 @@ toOF(QApplication *qApplication)
|
|||
static OF_INLINE QApplication *
|
||||
toQt(QtApplication *application)
|
||||
{
|
||||
return [application qApplication];
|
||||
return application.qApplication;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue