Update to recent ObjFW changes
This commit is contained in:
parent
ba805dab97
commit
1e5a65195e
28 changed files with 341 additions and 331 deletions
|
@ -36,21 +36,22 @@
|
|||
@property (copy) OFString *styleSheet;
|
||||
@property int wheelScrollLines;
|
||||
|
||||
- initWithQApplication: (QApplication*)qApplication;
|
||||
- initWithQGuiApplication: (QGuiApplication *)qGuiApplication OF_UNAVAILABLE;
|
||||
- initWithQApplication: (QApplication *)qApplication;
|
||||
- (void)aboutQt;
|
||||
- (void)closeAllWindows;
|
||||
@end
|
||||
|
||||
namespace ObjQt {
|
||||
|
||||
static OF_INLINE QtApplication*
|
||||
static OF_INLINE QtApplication *
|
||||
toOF(QApplication *qApplication)
|
||||
{
|
||||
return [[[QtApplication alloc]
|
||||
initWithQApplication: qApplication] autorelease];
|
||||
}
|
||||
|
||||
static OF_INLINE QApplication*
|
||||
static OF_INLINE QApplication *
|
||||
toQt(QtApplication *application)
|
||||
{
|
||||
return [application qApplication];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue