From 9eaaa7d4cee3a095433b00e01b05d4988ac56d12 Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Fri, 20 Jan 2006 11:09:06 +0000 Subject: [PATCH] Use QT macro for signal/slots svn path=/trunk/KDE/kdebase/workspace/kcontrol/crypto/; revision=500480 --- applet.h | 2 +- appletChain.h | 4 ++-- appletCompositor.h | 2 +- appletLayout.h | 2 +- tests/testAppletInfo.h | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/applet.h b/applet.h index 35bf09945..2dda7d792 100644 --- a/applet.h +++ b/applet.h @@ -67,7 +67,7 @@ class KDE_EXPORT Applet : public QWidget */ virtual void constraintsUpdated(); - signals: + Q_SIGNALS: void requestFocus(bool focus); protected: diff --git a/appletChain.h b/appletChain.h index 4b7240090..3b6e26c92 100644 --- a/appletChain.h +++ b/appletChain.h @@ -51,11 +51,11 @@ class KDE_EXPORT AppletChain : public QObject, public KShared int xineramaScreen(); void setXineramaScreen(int screen); - public slots: + public Q_SLOTS: void loadApplet(KService::Ptr); void addApplet(Plasma::Applet*); - signals: + Q_SIGNALS: void appletAdded(Applet*); void appletRemoved(Applet*); diff --git a/appletCompositor.h b/appletCompositor.h index fb268582a..539baa350 100644 --- a/appletCompositor.h +++ b/appletCompositor.h @@ -20,7 +20,7 @@ class KDE_EXPORT AppletCompositor : public QWidget public: AppletCompositor(QWidget *parent); - protected slots: + protected Q_SLOTS: virtual void mergeTwoApplets(); private: diff --git a/appletLayout.h b/appletLayout.h index 55f2b8bf3..e8df155c4 100644 --- a/appletLayout.h +++ b/appletLayout.h @@ -34,7 +34,7 @@ class KDE_EXPORT AppletLayout : public QLayout virtual void setGeometry(const QRect &rect); virtual QSize sizeHint() const; virtual QLayoutItem *takeAt(int index); - signals: + Q_SIGNALS: void mergeTwoApplets(); void splitTwoApplets(); protected: diff --git a/tests/testAppletInfo.h b/tests/testAppletInfo.h index a0978e164..72419145c 100644 --- a/tests/testAppletInfo.h +++ b/tests/testAppletInfo.h @@ -37,7 +37,7 @@ class TestAppletInfo: public QObject TestAppletInfo(QObject* parent = 0); ~TestAppletInfo(); - private slots: + private Q_SLOTS: void name_data(QtTestTable& t); void name(); void comment_data(QtTestTable& t);