Overview
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 2017-05-14 00:50:18 |
Context
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 | |
Changes
Changes to src/QtCore/QtChildEvent.h.
︙ | ︙ | |||
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 |
︙ | ︙ |
Changes to src/QtCore/QtCoreApplication.h.
︙ | ︙ | |||
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 |
︙ | ︙ |
Changes to src/QtCore/QtEvent.h.
︙ | ︙ | |||
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 |
︙ | ︙ |
Changes to src/QtCore/QtObject.h.
︙ | ︙ | |||
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 |
︙ | ︙ |
Changes to src/QtCore/QtThread.h.
︙ | ︙ | |||
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; |
︙ | ︙ |
Changes to src/QtGui/QtGUIApplication.h.
︙ | ︙ | |||
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; |
︙ | ︙ |
Changes to src/QtGui/QtPaintDevice.h.
︙ | ︙ | |||
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) { |
︙ | ︙ |
Changes to src/QtWidgets/QtAbstractButton.h.
︙ | ︙ | |||
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 { |
︙ | ︙ |
Changes to src/QtWidgets/QtAction.h.
︙ | ︙ | |||
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; |
︙ | ︙ |
Changes to src/QtWidgets/QtApplication.h.
︙ | ︙ | |||
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 |
︙ | ︙ |
Changes to src/QtWidgets/QtPushButton.h.
︙ | ︙ | |||
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 |
︙ | ︙ |
Changes to src/QtWidgets/QtWidget.h.
︙ | ︙ | |||
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; |
︙ | ︙ |