diff --git a/kcmkwin/kwindecoration/buttons.h b/kcmkwin/kwindecoration/buttons.h index f81490c16c..a66684f4b8 100644 --- a/kcmkwin/kwindecoration/buttons.h +++ b/kcmkwin/kwindecoration/buttons.h @@ -125,10 +125,10 @@ public: void dropEvent(QDropEvent *e); void mousePressEvent(QMouseEvent *e); -signals: +Q_SIGNALS: void dropped(); -public slots: +public Q_SLOTS: void hideButton(QChar btn); void showButton(QChar btn); }; @@ -161,12 +161,12 @@ public: void mousePressEvent(QMouseEvent* e); ///< Starts dragging a button... void paintEvent(QPaintEvent* p); -signals: +Q_SIGNALS: void buttonAdded(QChar btn); void buttonRemoved(QChar btn); void changed(); -public slots: +public Q_SLOTS: bool removeSelectedButton(); ///< This slot is called after we drop on the item listbox... void recalcItemGeometry(); ///< Call this whenever the item list changes... updates the items' rect property @@ -204,7 +204,7 @@ public: void setButtonsLeft(const QString &buttons); void setButtonsRight(const QString &buttons); -signals: +Q_SIGNALS: void changed(); private: diff --git a/kcmkwin/kwindecoration/buttonsconfigdialog.h b/kcmkwin/kwindecoration/buttonsconfigdialog.h index 8612903b27..cb6fa7586c 100644 --- a/kcmkwin/kwindecoration/buttonsconfigdialog.h +++ b/kcmkwin/kwindecoration/buttonsconfigdialog.h @@ -50,7 +50,7 @@ public: QString buttonsLeft() const; QString buttonsRight() const; -private slots: +private Q_SLOTS: void changed(); void slotDefaultClicked(); void slotResetClicked(); diff --git a/kcmkwin/kwindecoration/configdialog.h b/kcmkwin/kwindecoration/configdialog.h index 7687925ac1..fac8732eca 100644 --- a/kcmkwin/kwindecoration/configdialog.h +++ b/kcmkwin/kwindecoration/configdialog.h @@ -56,10 +56,10 @@ public: KDecorationDefines::BorderSize borderSize() const; -signals: +Q_SIGNALS: void pluginSave(KConfigGroup& group); -private slots: +private Q_SLOTS: void slotSelectionChanged(); void slotAccepted(); void slotDefault(); diff --git a/kcmkwin/kwindecoration/decorationmodel.h b/kcmkwin/kwindecoration/decorationmodel.h index a191341c71..2b5632842f 100644 --- a/kcmkwin/kwindecoration/decorationmodel.h +++ b/kcmkwin/kwindecoration/decorationmodel.h @@ -125,9 +125,9 @@ public: Q_SIGNALS: void configChanged(QString themeName); -public slots: +public Q_SLOTS: void regeneratePreview(const QModelIndex& index, const QSize& size); -private slots: +private Q_SLOTS: void regenerateNextPreview(); private: void findDecorations(); diff --git a/kcmkwin/kwindecoration/kwindecoration.h b/kcmkwin/kwindecoration/kwindecoration.h index 258293d980..4cd6321658 100644 --- a/kcmkwin/kwindecoration/kwindecoration.h +++ b/kcmkwin/kwindecoration/kwindecoration.h @@ -100,7 +100,7 @@ public: int itemWidth() const; -signals: +Q_SIGNALS: void pluginLoad(const KConfigGroup& conf); void pluginSave(KConfigGroup &conf); void pluginDefaults(); @@ -109,7 +109,7 @@ protected: bool eventFilter(QObject *o, QEvent *e); virtual void showEvent(QShowEvent *ev); -protected slots: +protected Q_SLOTS: // Allows us to turn "save" on void slotSelectionChanged(); void slotConfigureButtons(); @@ -120,7 +120,7 @@ private: void init(); void readConfig(const KConfigGroup& conf); void writeConfig(KConfigGroup &conf); -private slots: +private Q_SLOTS: void updatePreviews(); void updatePreviewWidth(); void updateScrollbarRange();