diff --git a/gui/mainwindow.h b/gui/mainwindow.h index 15f27e5..61e4286 100644 --- a/gui/mainwindow.h +++ b/gui/mainwindow.h @@ -51,7 +51,7 @@ public: void createFile(const QString &path, const QString &password); void createFile(const QString &path); -public slots: +public Q_SLOTS: // file management bool createFile(); void changePassword(); @@ -64,7 +64,7 @@ protected: void closeEvent(QCloseEvent *event); void timerEvent(QTimerEvent *event); -private slots: +private Q_SLOTS: // showing dialogs void showAboutDialog(); void showPassowrdGeneratorDialog(); diff --git a/gui/passwordgeneratordialog.h b/gui/passwordgeneratordialog.h index dc91779..bf2f4a8 100644 --- a/gui/passwordgeneratordialog.h +++ b/gui/passwordgeneratordialog.h @@ -21,7 +21,7 @@ public: explicit PasswordGeneratorDialog(QWidget *parent = 0); ~PasswordGeneratorDialog(); -private slots: +private Q_SLOTS: void generateNewPassword(); void handleCheckedCategoriesChanged(); void handlePasswordChanged(); diff --git a/model/entrymodel.h b/model/entrymodel.h index deb0fa0..932884e 100644 --- a/model/entrymodel.h +++ b/model/entrymodel.h @@ -67,7 +67,7 @@ public: bool dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent); Qt::DropActions supportedDropActions() const; -public slots: +public Q_SLOTS: void reset(); private: diff --git a/model/fieldmodel.h b/model/fieldmodel.h index 1e93c49..13fd80b 100644 --- a/model/fieldmodel.h +++ b/model/fieldmodel.h @@ -55,7 +55,7 @@ public: QMimeData *mimeData(const QModelIndexList &indexes) const; const Io::Field *field(std::size_t row) const; -public slots: +public Q_SLOTS: void setHidePasswords(bool hidePasswords); void reset(); diff --git a/quickgui/applicationinfo.h b/quickgui/applicationinfo.h index 946ac06..d4f1729 100644 --- a/quickgui/applicationinfo.h +++ b/quickgui/applicationinfo.h @@ -54,13 +54,13 @@ public: Q_INVOKABLE QString imagePath(const QString image); -protected slots: +protected Q_SLOTS: void notifyPortraitMode(Qt::ScreenOrientation); protected: qreal sizeWithRatio(const qreal height); -signals: +Q_SIGNALS: void currentFileChanged(); void applicationWidthChanged(); void portraitModeChanged();