Use QT macro for signal/slots

svn path=/trunk/KDE/kdebase/workspace/kcontrol/crypto/; revision=500480
This commit is contained in:
Laurent Montel 2006-01-20 11:09:06 +00:00
parent 3e059c6213
commit 9eaaa7d4ce
5 changed files with 6 additions and 6 deletions

View File

@ -67,7 +67,7 @@ class KDE_EXPORT Applet : public QWidget
*/ */
virtual void constraintsUpdated(); virtual void constraintsUpdated();
signals: Q_SIGNALS:
void requestFocus(bool focus); void requestFocus(bool focus);
protected: protected:

View File

@ -51,11 +51,11 @@ class KDE_EXPORT AppletChain : public QObject, public KShared
int xineramaScreen(); int xineramaScreen();
void setXineramaScreen(int screen); void setXineramaScreen(int screen);
public slots: public Q_SLOTS:
void loadApplet(KService::Ptr); void loadApplet(KService::Ptr);
void addApplet(Plasma::Applet*); void addApplet(Plasma::Applet*);
signals: Q_SIGNALS:
void appletAdded(Applet*); void appletAdded(Applet*);
void appletRemoved(Applet*); void appletRemoved(Applet*);

View File

@ -20,7 +20,7 @@ class KDE_EXPORT AppletCompositor : public QWidget
public: public:
AppletCompositor(QWidget *parent); AppletCompositor(QWidget *parent);
protected slots: protected Q_SLOTS:
virtual void mergeTwoApplets(); virtual void mergeTwoApplets();
private: private:

View File

@ -34,7 +34,7 @@ class KDE_EXPORT AppletLayout : public QLayout
virtual void setGeometry(const QRect &rect); virtual void setGeometry(const QRect &rect);
virtual QSize sizeHint() const; virtual QSize sizeHint() const;
virtual QLayoutItem *takeAt(int index); virtual QLayoutItem *takeAt(int index);
signals: Q_SIGNALS:
void mergeTwoApplets(); void mergeTwoApplets();
void splitTwoApplets(); void splitTwoApplets();
protected: protected:

View File

@ -37,7 +37,7 @@ class TestAppletInfo: public QObject
TestAppletInfo(QObject* parent = 0); TestAppletInfo(QObject* parent = 0);
~TestAppletInfo(); ~TestAppletInfo();
private slots: private Q_SLOTS:
void name_data(QtTestTable& t); void name_data(QtTestTable& t);
void name(); void name();
void comment_data(QtTestTable& t); void comment_data(QtTestTable& t);