replaced signals/slots with Q_SIGNALS/Q_SLOTS
This commit is contained in:
parent
a0883968cb
commit
403388647c
|
@ -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();
|
||||||
|
|
|
@ -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();
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -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();
|
||||||
|
|
||||||
|
|
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue