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();
signals:
Q_SIGNALS:
void requestFocus(bool focus);
protected:

View File

@ -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*);

View File

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

View File

@ -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:

View File

@ -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);