Commit 82a4a2bd authored by Laurent Montel's avatar Laurent Montel 😁

normalize

parent 7816b366
......@@ -38,7 +38,7 @@ class PageFrame : public QFrame
protected:
virtual void showEvent(QShowEvent*) { emit shown(); }
signals:
Q_SIGNALS:
void shown();
};
......@@ -68,11 +68,11 @@ class CommandEdit : public QWidget
virtual QSize minimumSizeHint() const;
virtual QSize sizeHint() const { return minimumSizeHint(); }
signals:
Q_SIGNALS:
void scriptToggled(bool);
void changed(); // emitted when any changes occur
private slots:
private Q_SLOTS:
void slotCmdScriptToggled(bool);
private:
......
......@@ -46,7 +46,7 @@ class Private : public QObject
QWidget* mMsgParent;
public slots:
public Q_SLOTS:
void windowAdded(WId);
void cancelRtcWake();
......@@ -63,7 +63,7 @@ class PrivateNewAlarmDlg : public QObject
explicit PrivateNewAlarmDlg(EditAlarmDlg*);
void accept(EditAlarmDlg*);
private slots:
private Q_SLOTS:
void okClicked();
void cancelClicked();
};
......
......@@ -44,7 +44,7 @@ class ExtraSpinBox : public SpinBox
: SpinBox(minValue, maxValue, parent), mInhibitPaintSignal(0) { }
void inhibitPaintSignal(int i) { mInhibitPaintSignal = i; }
signals:
Q_SIGNALS:
void painted();
protected:
......
......@@ -41,13 +41,13 @@ class AudioThread : public QThread
static MessageWin* mAudioOwner; // window which owns the unique AudioThread
signals:
Q_SIGNALS:
void readyToPlay();
protected:
virtual void run();
private slots:
private Q_SLOTS:
void checkAudioPlay();
void playStateChanged(Phonon::State);
void stopPlay();
......
......@@ -85,7 +85,7 @@ class MiscPrefTab : public PrefsTabBase
virtual void restore(bool defaults, bool allTabs);
virtual void apply(bool syncToDisc);
private slots:
private Q_SLOTS:
void slotAutostartClicked();
void slotOtherTerminalToggled(bool);
......@@ -137,7 +137,7 @@ class StorePrefTab : public PrefsTabBase
virtual void restore(bool defaults, bool allTabs);
virtual void apply(bool syncToDisc);
private slots:
private Q_SLOTS:
void slotArchivedToggled(bool);
void slotClearArchived();
......@@ -167,7 +167,7 @@ class EmailPrefTab : public PrefsTabBase
virtual void restore(bool defaults, bool allTabs);
virtual void apply(bool syncToDisc);
private slots:
private Q_SLOTS:
void slotEmailClientChanged(QAbstractButton*);
void slotFromAddrChanged(QAbstractButton*);
void slotBccAddrChanged(QAbstractButton*);
......@@ -208,7 +208,7 @@ class EditPrefTab : public PrefsTabBase
virtual void restore(bool defaults, bool allTabs);
virtual void apply(bool syncToDisc);
private slots:
private Q_SLOTS:
void slotBrowseSoundFile();
private:
......@@ -248,7 +248,7 @@ class ViewPrefTab : public PrefsTabBase
virtual void restore(bool defaults, bool allTabs);
virtual void apply(bool syncToDisc);
private slots:
private Q_SLOTS:
void slotTooltipAlarmsToggled(bool);
void slotTooltipMaxToggled(bool);
void slotTooltipTimeToggled(bool);
......
......@@ -66,7 +66,7 @@ class Rule : public NoRule
virtual void saveState();
virtual bool stateChanged() const;
signals:
Q_SIGNALS:
void frequencyChanged();
void changed(); // emitted whenever any control changes
......@@ -144,17 +144,17 @@ class MonthYearRule : public Rule
virtual void saveState();
virtual bool stateChanged() const;
signals:
Q_SIGNALS:
void typeChanged(DayPosType);
protected:
DayPosType buttonType(QAbstractButton* b) const { return b == mDayButton ? DATE : POS; }
virtual void daySelected(int /*day*/) { }
protected slots:
protected Q_SLOTS:
virtual void clicked(QAbstractButton*);
private slots:
private Q_SLOTS:
virtual void slotDaySelected(int index);
private:
......@@ -200,10 +200,10 @@ class YearlyRule : public MonthYearRule
protected:
virtual void daySelected(int day);
protected slots:
protected Q_SLOTS:
virtual void clicked(QAbstractButton*);
private slots:
private Q_SLOTS:
void enableFeb29();
private:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment