Overview
Comment: | Add QtAction and add more methods to QtWidget |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
d43a88101962b3420aa41918ff643c83 |
User & Date: | js on 2017-04-15 02:16:34 |
Other Links: | manifest | tags |
Context
2017-04-15
| ||
02:42 | Make Qt project work on non-Mac systems check-in: 0df95396ff user: js tags: trunk | |
02:16 | Add QtAction and add more methods to QtWidget check-in: d43a881019 user: js tags: trunk | |
2017-04-12
| ||
09:17 | Add a license check-in: 01e4161d3e user: js tags: trunk | |
Changes
Modified ObjQt.pro from [ca2d60cd6c] to [24307d8f20].
︙ | |||
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | + + | QtCore/QtChildEvent.h \ QtCore/QtCoreApplication.h \ QtCore/QtEvent.h \ QtCore/QtObject.h \ QtCore/QtThread.h \ QtGui/QtGuiApplication.h \ QtGui/QtPaintDevice.h \ QtWidgets/QtAction.h \ QtWidgets/QtApplication.h \ QtWidgets/QtWidget.h SOURCES += common/OFString+QString.mm \ QtCore/QtChildEvent.mm \ QtCore/QtCoreApplication.mm \ QtCore/QtEvent.mm \ QtCore/QtObject.mm \ QtCore/QtThread.mm \ QtGui/QtGuiApplication.mm \ QtGui/QtPaintDevice.mm \ QtWidgets/QtAction.mm \ QtWidgets/QtApplication.mm \ QtWidgets/QtWidget.mm QMAKE_CXXFLAGS += $$system("objfw-config --cppflags --objcflags --cxxflags") QMAKE_CXXFLAGS_WARN_ON = -Wall \ -Werror \ -Wsemicolon-before-method-body \ -Wobjc-missing-property-synthesis LIBS += $$system("objfw-config --ldflags --libs") |
Modified QtCore/QtEvent.mm from [1775579049] to [a8eec8c991].
︙ | |||
19 20 21 22 23 24 25 | 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | - + | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. */ #import "QtEvent.h" @implementation QtEvent |
︙ |
Modified QtCore/QtObject.mm from [5927aab5bc] to [d103de14ea].
︙ | |||
86 87 88 89 90 91 92 93 94 95 96 97 98 99 | 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 | + + | OFMutableArray *children = [OFMutableArray arrayWithCapacity: qChildren.count()]; void *pool = objc_autoreleasePoolPush(); for (QObject *qChild: qChildren) [children addObject: [[[QtObject alloc] initWithQObject: qChild] autorelease]]; [children makeImmutable]; objc_autoreleasePoolPop(pool); return children; } - (QMetaObject::Connection)connectSignal: (OFString*)signal |
︙ | |||
139 140 141 142 143 144 145 146 147 148 149 150 151 152 | 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 | + + | for (const QByteArray &qDynamicPropertyName: qDynamicPropertyNames) { OFDataArray *dynamicPropertyName = [OFDataArray dataArray]; [dynamicPropertyName addItems: qDynamicPropertyName.data() count: qDynamicPropertyName.count()]; [dynamicPropertyNames addObject: dynamicPropertyName]; } [dynamicPropertyNames makeImmutable]; objc_autoreleasePoolPop(pool); return dynamicPropertyNames; } - (bool)handleEvent: (QtEvent*)event |
︙ |
Added QtWidgets/QtAction.h version [c64a4c6e90].
|
Added QtWidgets/QtAction.mm version [122eed180b].