replaced signals/slots with Q_SIGNALS/Q_SLOTS

This commit is contained in:
Martchus 2015-08-25 19:15:27 +02:00
parent a0883968cb
commit 403388647c
5 changed files with 7 additions and 7 deletions

View File

@ -51,7 +51,7 @@ public:
void createFile(const QString &path, const QString &password); void createFile(const QString &path, const QString &password);
void createFile(const QString &path); void createFile(const QString &path);
public slots: public Q_SLOTS:
// file management // file management
bool createFile(); bool createFile();
void changePassword(); void changePassword();
@ -64,7 +64,7 @@ protected:
void closeEvent(QCloseEvent *event); void closeEvent(QCloseEvent *event);
void timerEvent(QTimerEvent *event); void timerEvent(QTimerEvent *event);
private slots: private Q_SLOTS:
// showing dialogs // showing dialogs
void showAboutDialog(); void showAboutDialog();
void showPassowrdGeneratorDialog(); void showPassowrdGeneratorDialog();

View File

@ -21,7 +21,7 @@ public:
explicit PasswordGeneratorDialog(QWidget *parent = 0); explicit PasswordGeneratorDialog(QWidget *parent = 0);
~PasswordGeneratorDialog(); ~PasswordGeneratorDialog();
private slots: private Q_SLOTS:
void generateNewPassword(); void generateNewPassword();
void handleCheckedCategoriesChanged(); void handleCheckedCategoriesChanged();
void handlePasswordChanged(); void handlePasswordChanged();

View File

@ -67,7 +67,7 @@ public:
bool dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent); bool dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent);
Qt::DropActions supportedDropActions() const; Qt::DropActions supportedDropActions() const;
public slots: public Q_SLOTS:
void reset(); void reset();
private: private:

View File

@ -55,7 +55,7 @@ public:
QMimeData *mimeData(const QModelIndexList &indexes) const; QMimeData *mimeData(const QModelIndexList &indexes) const;
const Io::Field *field(std::size_t row) const; const Io::Field *field(std::size_t row) const;
public slots: public Q_SLOTS:
void setHidePasswords(bool hidePasswords); void setHidePasswords(bool hidePasswords);
void reset(); void reset();

View File

@ -54,13 +54,13 @@ public:
Q_INVOKABLE QString imagePath(const QString image); Q_INVOKABLE QString imagePath(const QString image);
protected slots: protected Q_SLOTS:
void notifyPortraitMode(Qt::ScreenOrientation); void notifyPortraitMode(Qt::ScreenOrientation);
protected: protected:
qreal sizeWithRatio(const qreal height); qreal sizeWithRatio(const qreal height);
signals: Q_SIGNALS:
void currentFileChanged(); void currentFileChanged();
void applicationWidthChanged(); void applicationWidthChanged();
void portraitModeChanged(); void portraitModeChanged();