[kcmdeco] slots/signals -> Q_SLOTS/Q_SIGNALS

This commit is contained in:
Martin Gräßlin 2013-10-01 07:59:59 +02:00
parent 8055cde910
commit 8681c69d60
5 changed files with 13 additions and 13 deletions

View file

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

View file

@ -50,7 +50,7 @@ public:
QString buttonsLeft() const;
QString buttonsRight() const;
private slots:
private Q_SLOTS:
void changed();
void slotDefaultClicked();
void slotResetClicked();

View file

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

View file

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

View file

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