diff options
author | Yann Bodson <yann.bodson@nokia.com> | 2009-08-26 03:28:05 (GMT) |
---|---|---|
committer | Yann Bodson <yann.bodson@nokia.com> | 2009-08-26 03:28:05 (GMT) |
commit | 20e9783d0fc3c71b2a569edda407801aa2e3c371 (patch) | |
tree | 1c7ae5c35acc01e613656bb56338a4a2228c9368 /src/declarative | |
parent | 1a9eeae1ee92516abd2278b0ebf23687ff865cd7 (diff) | |
download | Qt-20e9783d0fc3c71b2a569edda407801aa2e3c371.zip Qt-20e9783d0fc3c71b2a569edda407801aa2e3c371.tar.gz Qt-20e9783d0fc3c71b2a569edda407801aa2e3c371.tar.bz2 |
Use Q_SLOTS and Q_SIGNALS.
Diffstat (limited to 'src/declarative')
-rw-r--r-- | src/declarative/debugger/qmldebugclient.cpp | 2 | ||||
-rw-r--r-- | src/declarative/debugger/qmldebugservice.cpp | 2 | ||||
-rw-r--r-- | src/declarative/debugger/qpacketprotocol.cpp | 4 | ||||
-rw-r--r-- | src/declarative/extra/qfxflowview.cpp | 2 | ||||
-rw-r--r-- | src/declarative/extra/qmlsqlquery.h | 4 | ||||
-rw-r--r-- | src/declarative/extra/qmlxmllistmodel.cpp | 2 | ||||
-rw-r--r-- | src/declarative/fx/qfxcomponentinstance.h | 2 | ||||
-rw-r--r-- | src/declarative/fx/qfxgridview.cpp | 2 | ||||
-rw-r--r-- | src/declarative/fx/qfxitem.cpp | 4 | ||||
-rw-r--r-- | src/declarative/fx/qfxlistview.cpp | 2 | ||||
-rw-r--r-- | src/declarative/fx/qfxvisualitemmodel.cpp | 2 | ||||
-rw-r--r-- | src/declarative/qml/qmlbindingoptimizations_p.h | 2 | ||||
-rw-r--r-- | src/declarative/qml/qmlcomponentjs_p.h | 2 |
13 files changed, 16 insertions, 16 deletions
diff --git a/src/declarative/debugger/qmldebugclient.cpp b/src/declarative/debugger/qmldebugclient.cpp index 7c5c37b..d13de57 100644 --- a/src/declarative/debugger/qmldebugclient.cpp +++ b/src/declarative/debugger/qmldebugclient.cpp @@ -57,7 +57,7 @@ public: QStringList enabled; QHash<QString, QmlDebugClient *> plugins; -public slots: +public Q_SLOTS: void connected(); void readyRead(); }; diff --git a/src/declarative/debugger/qmldebugservice.cpp b/src/declarative/debugger/qmldebugservice.cpp index 3576a94..b83a4b1 100644 --- a/src/declarative/debugger/qmldebugservice.cpp +++ b/src/declarative/debugger/qmldebugservice.cpp @@ -59,7 +59,7 @@ public: static QmlDebugServer *instance(); void wait(); -private slots: +private Q_SLOTS: void readyRead(); private: diff --git a/src/declarative/debugger/qpacketprotocol.cpp b/src/declarative/debugger/qpacketprotocol.cpp index d109836..6bccf4b 100644 --- a/src/declarative/debugger/qpacketprotocol.cpp +++ b/src/declarative/debugger/qpacketprotocol.cpp @@ -131,12 +131,12 @@ public: this, SLOT(bytesWritten(qint64))); } -signals: +Q_SIGNALS: void readyRead(); void packetWritten(); void invalidPacket(); -public slots: +public Q_SLOTS: void aboutToClose() { inProgress.clear(); diff --git a/src/declarative/extra/qfxflowview.cpp b/src/declarative/extra/qfxflowview.cpp index 4af8af9..b2470ba 100644 --- a/src/declarative/extra/qfxflowview.cpp +++ b/src/declarative/extra/qfxflowview.cpp @@ -57,7 +57,7 @@ public: int row() const; int column() const; -signals: +Q_SIGNALS: void posChanged(); private: diff --git a/src/declarative/extra/qmlsqlquery.h b/src/declarative/extra/qmlsqlquery.h index 55e16ac..0f27709 100644 --- a/src/declarative/extra/qmlsqlquery.h +++ b/src/declarative/extra/qmlsqlquery.h @@ -115,13 +115,13 @@ public: QmlList<QmlSqlBind *> *bindings(); const QmlList<QmlSqlBind *> *bindings() const; -public slots: +public Q_SLOTS: void exec(); protected: void timerEvent(QTimerEvent *); -private slots: +private Q_SLOTS: void resetBinds(); void resetQuery(); diff --git a/src/declarative/extra/qmlxmllistmodel.cpp b/src/declarative/extra/qmlxmllistmodel.cpp index 9b74799..816c3fd 100644 --- a/src/declarative/extra/qmlxmllistmodel.cpp +++ b/src/declarative/extra/qmlxmllistmodel.cpp @@ -123,7 +123,7 @@ public: return m_modelData; } -signals: +Q_SIGNALS: void queryCompleted(int queryId, int size); protected: diff --git a/src/declarative/fx/qfxcomponentinstance.h b/src/declarative/fx/qfxcomponentinstance.h index 940fb6d..0ba11a6 100644 --- a/src/declarative/fx/qfxcomponentinstance.h +++ b/src/declarative/fx/qfxcomponentinstance.h @@ -68,7 +68,7 @@ public: Q_SIGNALS: void instanceChanged(); -private slots: +private Q_SLOTS: void updateSize(); private: diff --git a/src/declarative/fx/qfxgridview.cpp b/src/declarative/fx/qfxgridview.cpp index b445e49..e2c7fa3 100644 --- a/src/declarative/fx/qfxgridview.cpp +++ b/src/declarative/fx/qfxgridview.cpp @@ -92,7 +92,7 @@ public: void emitAdd() { emit add(); } void emitRemove() { emit remove(); } -signals: +Q_SIGNALS: void currentItemChanged(); void delayRemoveChanged(); void add(); diff --git a/src/declarative/fx/qfxitem.cpp b/src/declarative/fx/qfxitem.cpp index 7938dc9..d1e21a3 100644 --- a/src/declarative/fx/qfxitem.cpp +++ b/src/declarative/fx/qfxitem.cpp @@ -378,7 +378,7 @@ public: static QFxKeyNavigationAttached *qmlAttachedProperties(QObject *); -signals: +Q_SIGNALS: void changed(); private: @@ -860,7 +860,7 @@ public: static QFxKeysAttached *qmlAttachedProperties(QObject *); -signals: +Q_SIGNALS: void enabledChanged(); void pressed(QFxKeyEvent *event); void released(QFxKeyEvent *event); diff --git a/src/declarative/fx/qfxlistview.cpp b/src/declarative/fx/qfxlistview.cpp index 4b28462..048cb0f 100644 --- a/src/declarative/fx/qfxlistview.cpp +++ b/src/declarative/fx/qfxlistview.cpp @@ -110,7 +110,7 @@ public: void emitAdd() { emit add(); } void emitRemove() { emit remove(); } -signals: +Q_SIGNALS: void currentItemChanged(); void sectionChanged(); void prevSectionChanged(); diff --git a/src/declarative/fx/qfxvisualitemmodel.cpp b/src/declarative/fx/qfxvisualitemmodel.cpp index fd2796c..82bec09 100644 --- a/src/declarative/fx/qfxvisualitemmodel.cpp +++ b/src/declarative/fx/qfxvisualitemmodel.cpp @@ -87,7 +87,7 @@ public: return rv; } -signals: +Q_SIGNALS: void indexChanged(); public: diff --git a/src/declarative/qml/qmlbindingoptimizations_p.h b/src/declarative/qml/qmlbindingoptimizations_p.h index ab264c7..4862007 100644 --- a/src/declarative/qml/qmlbindingoptimizations_p.h +++ b/src/declarative/qml/qmlbindingoptimizations_p.h @@ -99,7 +99,7 @@ public: virtual void setEnabled(bool); virtual int propertyIndex(); -private slots: +private Q_SLOTS: virtual void update(); private: diff --git a/src/declarative/qml/qmlcomponentjs_p.h b/src/declarative/qml/qmlcomponentjs_p.h index 8c69b5f..cee3035 100644 --- a/src/declarative/qml/qmlcomponentjs_p.h +++ b/src/declarative/qml/qmlcomponentjs_p.h @@ -87,7 +87,7 @@ Q_SIGNALS: void isErrorChanged(); void isReadyChanged(); void isLoadingChanged(); -private slots: +private Q_SLOTS: void statusChange(QmlComponent::Status newStatus); }; |