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

View File

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

View File

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

View File

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

View File

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