Comment: | Make all properties nonatomic |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
b2aa2ffc1d674bf0fd94adf4a8fc3bbb |
User & Date: | js on 2017-05-14 00:50:18 |
Other Links: | manifest | tags |
2017-05-14
| ||
00:57 | Declare designated initializers check-in: 201f28b1d1 user: js tags: trunk | |
00:50 | Make all properties nonatomic check-in: b2aa2ffc1d user: js tags: trunk | |
2017-05-08
| ||
00:11 | Update to recent ObjFW changes check-in: 860515ac5a user: js tags: trunk | |
Modified src/QtCore/QtChildEvent.h from [c15e46d342] to [8aa26cef59].
︙ | ︙ | |||
21 22 23 24 25 26 27 | */ #import "QtEvent.h" @class QtObject; @interface QtChildEvent: QtEvent | | | | | | | 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | */ #import "QtEvent.h" @class QtObject; @interface QtChildEvent: QtEvent @property (readonly, nonatomic) QChildEvent *qChildEvent; @property (readonly, nonatomic, getter=isAdded) bool added; @property (readonly, nonatomic) QtObject *child; @property (readonly, nonatomic, getter=isPolished) bool polished; @property (readonly, nonatomic, getter=isRemoved) bool removed; - initWithQEvent: (QEvent *)event OF_UNAVAILABLE; - initWithQChildEvent: (QChildEvent *)qChildEvent; - initWithType: (QChildEvent::Type)type child: (QtObject *)child; @end |
︙ | ︙ |
Modified src/QtCore/QtCoreApplication.h from [96e4d8b08f] to [9a82637e75].
︙ | ︙ | |||
21 22 23 24 25 26 27 | */ #import "QtObject.h" #include <QCoreApplication> @interface QtCoreApplication: QtObject | | | | | | 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | */ #import "QtObject.h" #include <QCoreApplication> @interface QtCoreApplication: QtObject @property (readonly, nonatomic) QCoreApplication *qCoreApplication; @property (nonatomic, copy) OFString *applicationName, *applicationVersion; @property (nonatomic, copy) OFString *organizationDomain, *organizationName; @property (nonatomic, getter=isQuitLockEnabled) bool quitLockEnabled; - initWithQObject: (QObject *)qObject OF_UNAVAILABLE; - initWithQCoreApplication: (QCoreApplication *)qCoreApplication; - (void)installNativeEventFilter: (QAbstractNativeEventFilter *)filterObject; - (void)quit; - (void)removeNativeEventFilter: (QAbstractNativeEventFilter *)filterObject; - (bool)sendEvent: (QtEvent *)event |
︙ | ︙ |
Modified src/QtCore/QtEvent.h from [6e6d3c6c45] to [ff20e49325].
︙ | ︙ | |||
28 29 30 31 32 33 34 | @interface QtEvent: OFObject <QtOwnershipManaging> { QEvent *_qEvent; bool _ownsEvent; } | | | | | | 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | @interface QtEvent: OFObject <QtOwnershipManaging> { QEvent *_qEvent; bool _ownsEvent; } @property (readonly, nonatomic) QEvent *qEvent; @property (nonatomic, getter=isAccepted) bool accepted; @property (readonly, nonatomic, getter=isSpontaneous) bool spontaneous; @property (readonly, nonatomic) QEvent::Type type; + (int)registerEventType: (int)hint; - init OF_UNAVAILABLE; - initWithQEvent: (QEvent *)qEvent; - (void)accept; - (void)ignore; @end |
︙ | ︙ |
Modified src/QtCore/QtObject.h from [ba457e33e9] to [d82bf2c426].
︙ | ︙ | |||
31 32 33 34 35 36 37 | @interface QtObject: OFObject <QtOwnershipManaging> { QObject *_qObject; bool _ownsObject; } | | | | | | 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | @interface QtObject: OFObject <QtOwnershipManaging> { QObject *_qObject; bool _ownsObject; } @property (readonly, nonatomic) QObject *qObject; @property (readonly, nonatomic) const QMetaObject *metaObject; @property (nonatomic, retain) QtObject *parent; @property (nonatomic, copy) OFString *objectName; - init OF_UNAVAILABLE; - initWithQObject: (QObject *)qObject; - (bool)setBlockSignals: (bool)block; - (OFArray OF_GENERIC(QtObject *) *)children; - (QMetaObject::Connection)connectSignal: (OFString *)signal sender: (QtObject *)sender |
︙ | ︙ |
Modified src/QtCore/QtThread.h from [43325aa0ce] to [fa16c3e3b9].
︙ | ︙ | |||
21 22 23 24 25 26 27 | */ #import "QtObject.h" #include <QThread> @interface QtThread: QtObject | | | | > | | | | | | 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | */ #import "QtObject.h" #include <QThread> @interface QtThread: QtObject @property (readonly, nonatomic) QThread *qThread; @property (nonatomic) QAbstractEventDispatcher *eventDispatcher; @property (readonly, nonatomic, getter=isFinished) bool finished; @property (readonly, nonatomic, getter=isInterruptionRequested) bool interruptionRequested; @property (readonly, nonatomic, getter=isRunning) bool running; @property (readonly, nonatomic) int loopLevel; @property (nonatomic) QThread::Priority priority; @property (nonatomic) unsigned int stackSize; - initWithQObject: (QObject *)qObject OF_UNAVAILABLE; - initWithQThread: (QThread *)qThread; - (void)exitWithReturnCode: (int)returnCode; - (void)requestInterruption; - (bool)waitForMilliseconds: (unsigned long)time; - (void)quit; |
︙ | ︙ |
Modified src/QtGui/QtGUIApplication.h from [8f1cb558e8] to [3b927b4443].
︙ | ︙ | |||
21 22 23 24 25 26 27 | */ #import "QtCoreApplication.h" #include <QGuiApplication> @interface QtGUIApplication: QtCoreApplication | | | | | | | | | | 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | */ #import "QtCoreApplication.h" #include <QGuiApplication> @interface QtGUIApplication: QtCoreApplication @property (readonly, nonatomic) QGuiApplication *qGuiApplication; @property (nonatomic, copy) OFString *applicationDisplayName; #if QT_VERSION >= QT_VERSION_CHECK(5, 7, 0) @property (nonatomic, copy) OFString *desktopFileName; #endif @property (nonatomic) Qt::LayoutDirection layoutDirection; @property (readonly, nonatomic) OFString *platformName; @property (readonly, nonatomic) QScreen *primaryScreen; @property (nonatomic) bool quitsOnLastWindowClosed; @property (nonatomic) QIcon windowIcon; - initWithQCoreApplication: (QCoreApplication *)qCoreApplication OF_UNAVAILABLE; - initWithQGuiApplication: (QGuiApplication *)qGuiApplication; - (double)devicePixelRatio; - (bool)isSavingSession; - (bool)isSessionRestored; - (OFString *)sessionID; |
︙ | ︙ |
Modified src/QtGui/QtPaintDevice.h from [ac14220fb1] to [8609205557].
︙ | ︙ | |||
41 42 43 44 45 46 47 | - (int)physicalDPIX; - (int)physicalDPIY; - (int)width; - (int)widthMM; @end @interface QtPaintDevice: OFObject <QtPaintDevice> | | | 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | - (int)physicalDPIX; - (int)physicalDPIY; - (int)width; - (int)widthMM; @end @interface QtPaintDevice: OFObject <QtPaintDevice> @property (readonly, nonatomic) QObject *qObject; @end namespace ObjQt { static OF_INLINE QPaintDevice * toQt(QtPaintDevice *paintDevice) { |
︙ | ︙ |
Modified src/QtWidgets/QtAbstractButton.h from [b2c785da49] to [c50d80772c].
︙ | ︙ | |||
21 22 23 24 25 26 27 | */ #import "QtWidget.h" #include <QAbstractButton> @interface QtAbstractButton: QtWidget | | | | | | | | | | | | | | 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | */ #import "QtWidget.h" #include <QAbstractButton> @interface QtAbstractButton: QtWidget @property (readonly, nonatomic) QAbstractButton *qAbstractButton; @property (nonatomic) bool autoExclusive; @property (nonatomic) bool autoRepeat; @property (nonatomic) int autoRepeatDelay; @property (nonatomic) int autoRepeatInterval; @property (nonatomic, getter=isCheckable) bool checkable; @property (nonatomic, getter=isChecked) bool checked; @property (nonatomic, getter=isDown) bool down; @property (nonatomic) QIcon icon; @property (nonatomic) of_dimension_t iconSize; @property (nonatomic) QKeySequence shortcut; @property (nonatomic, copy) OFString *text; - initWithQWidget: (QWidget *)qWidget OF_UNAVAILABLE; - initWithQAbstractButton: (QAbstractButton *)qAbstractButton; - (QButtonGroup *)group; @end namespace ObjQt { |
︙ | ︙ |
Modified src/QtWidgets/QtAction.h from [786b963eba] to [bd2dd3adc8].
︙ | ︙ | |||
23 24 25 26 27 28 29 | #import "QtObject.h" #include <QAction> @class QtWidget; @interface QtAction: QtObject | | | | | | | | | | | | | | | | | | | | 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | #import "QtObject.h" #include <QAction> @class QtWidget; @interface QtAction: QtObject @property (readonly, nonatomic) QAction *qAction; @property (nonatomic) bool autoRepeat; @property (nonatomic, getter=isCheckable) bool checkable; @property (nonatomic, getter=isChecked) bool checked; @property (nonatomic, getter=isEnabled) bool enabled; @property (nonatomic) QFont font; @property (nonatomic) QIcon icon; @property (nonatomic, copy) OFString *iconText; @property (nonatomic, getter=isIconVisibleInMenu) bool iconVisibleInMenu; @property (nonatomic) QAction::MenuRole menuRole; @property (nonatomic) QAction::Priority priority; @property (nonatomic) QKeySequence shortcut; @property (nonatomic) Qt::ShortcutContext shortcutContext; @property (nonatomic, copy) OFString *statusTip; @property (nonatomic, copy) OFString *text; @property (nonatomic, copy) OFString *toolTip; @property (nonatomic, getter=isVisible) bool visible; @property (nonatomic, copy) OFString *whatsThis; - initWithQObject: (QObject *)qObject OF_UNAVAILABLE; - initWithQAction: (QAction *)qAction; - (QActionGroup *)actionGroup; - (void)activate: (QAction::ActionEvent)event; - (QList<QGraphicsWidget *>)associatedGraphicsWidgets; - (OFArray OF_GENERIC(QtWidget *) *)associatedWidgets; |
︙ | ︙ |
Modified src/QtWidgets/QtApplication.h from [f8eefb765d] to [1c7a702202].
︙ | ︙ | |||
21 22 23 24 25 26 27 | */ #import "QtGUIApplication.h" #include <QApplication> @interface QtApplication: QtGUIApplication | | | | | | | | | | | | 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | */ #import "QtGUIApplication.h" #include <QApplication> @interface QtApplication: QtGUIApplication @property (readonly, nonatomic) QApplication *qApplication; @property (nonatomic) bool autoSIPEnabled; @property (nonatomic) int cursorFlashTime; @property (nonatomic) int doubleClickInterval; @property (nonatomic) of_dimension_t globalStrut; @property (nonatomic) int keyboardInputInterval; @property (nonatomic) int startDragDistance; @property (nonatomic) int startDragTime; @property (nonatomic, copy) OFString *styleSheet; @property (nonatomic) int wheelScrollLines; - initWithQGuiApplication: (QGuiApplication *)qGuiApplication OF_UNAVAILABLE; - initWithQApplication: (QApplication *)qApplication; - (void)aboutQt; - (void)closeAllWindows; @end |
︙ | ︙ |
Modified src/QtWidgets/QtPushButton.h from [6a47526835] to [dbffbb2ba9].
︙ | ︙ | |||
23 24 25 26 27 28 29 | #import "QtAbstractButton.h" #include <QMenu> #include <QPushButton> @interface QtPushButton: QtAbstractButton | | | | | | | 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | #import "QtAbstractButton.h" #include <QMenu> #include <QPushButton> @interface QtPushButton: QtAbstractButton @property (readonly, nonatomic) QPushButton *qPushButton; @property (nonatomic) QMenu *menu; @property (nonatomic) bool autoDefault; @property (nonatomic, getter=isDefault, setter=setDefault:) bool default_; @property (nonatomic, getter=isFlat) bool flat; - initWithQAbstractButton: (QAbstractButton *)qAbstractButton OF_UNAVAILABLE; - initWithQPushButton: (QPushButton *)qPushButton; - initWithText: (OFString *)text; - initWithIcon: (QIcon)icon text: (OFString *)text; @end |
︙ | ︙ |
Modified src/QtWidgets/QtWidget.h from [5ea63b6548] to [5c1d80b6ca].
︙ | ︙ | |||
24 25 26 27 28 29 30 | #import "QtPaintDevice.h" #include <QWidget> @class QtAction; @interface QtWidget: QtObject | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 24 25 26 27 28 29 30 31 32 33 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 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 | #import "QtPaintDevice.h" #include <QWidget> @class QtAction; @interface QtWidget: QtObject @property (readonly, nonatomic) QWidget *qWidget; @property (nonatomic) bool acceptDrops; @property (nonatomic, copy) OFString *accessibleDescription; @property (nonatomic, copy) OFString *accessibleName; @property (nonatomic) bool autoFillBackground; @property (nonatomic) of_dimension_t baseSize; @property (readonly, nonatomic) of_rectangle_t childrenRect; @property (readonly, nonatomic) QRegion childrenRegion; @property (nonatomic) Qt::ContextMenuPolicy contextMenuPolicy; @property (nonatomic) QCursor cursor; @property (nonatomic, getter=isEnabled) bool enabled; @property (nonatomic) Qt::FocusPolicy focusPolicy; @property (nonatomic) const QFont &font; @property (readonly, nonatomic) of_rectangle_t frameGeometry; @property (readonly, nonatomic) of_dimension_t frameSize; @property (readonly, nonatomic, getter=isFullScreen) bool fullScreen; @property (nonatomic) of_rectangle_t geometry; @property (readonly, nonatomic) int height; @property (nonatomic) Qt::InputMethodHints inputMethodHints; @property (readonly, nonatomic) bool isActiveWindow; @property (nonatomic) Qt::LayoutDirection layoutDirection; @property (nonatomic) QLocale locale; @property (nonatomic, readonly, getter=isMaximized) bool maximized; @property (nonatomic) int maximumHeight; @property (nonatomic) of_dimension_t maximumSize; @property (nonatomic) int maximumWidth; @property (readonly, nonatomic, getter=isMinimized) bool minimized; @property (nonatomic) int minimumHeight; @property (nonatomic) of_dimension_t minimumSize; @property (readonly, nonatomic) of_dimension_t minimumSizeHint; @property (nonatomic) int minimumWidth; @property (readonly, nonatomic, getter=isModal) bool modal; @property (nonatomic, getter=hasMouseTracking) bool mouseTracking; @property (readonly, nonatomic) of_rectangle_t normalGeometry; @property (nonatomic) const QPalette &palette; @property (nonatomic, setter=moveToPosition:) of_point_t pos; @property (readonly, nonatomic) of_rectangle_t rect; @property (nonatomic, setter=resizeTo:) of_dimension_t size; @property (readonly, nonatomic) of_dimension_t sizeHint; @property (nonatomic) of_dimension_t sizeIncrement; @property (nonatomic) QSizePolicy sizePolicy; @property (nonatomic, copy) OFString *statusTip; @property (nonatomic, copy) OFString *styleSheet; @property (nonatomic, copy) OFString *toolTip; @property (nonatomic) int toolTipDuration; @property (nonatomic) bool updatesEnabled; @property (nonatomic, getter=isVisible) bool visible; @property (nonatomic, copy) OFString *whatsThis; @property (readonly, nonatomic) int width; @property (nonatomic) Qt::WindowFlags windowFlags; @property (nonatomic) QIcon windowIcon; @property (nonatomic) Qt::WindowModality windowModality; @property (nonatomic, getter=isWindowModified) bool windowModified; @property (nonatomic) double windowOpacity; @property (nonatomic, copy) OFString *windowTitle; @property (readonly, nonatomic) int x; @property (readonly, nonatomic) int y; - initWithQObject: (QObject *)qObject OF_UNAVAILABLE; - initWithQWidget: (QWidget *)qWidget; - (OFArray OF_GENERIC(QtAction *) *)actions; - (void)activateWindow; - (void)addAction: (QtAction *)action; - (void)addActions: (OFArray OF_GENERIC(QtAction *) *)actions; |
︙ | ︙ |