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);
|
||||
|
||||
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();
|
||||
|
|
|
@ -21,7 +21,7 @@ public:
|
|||
explicit PasswordGeneratorDialog(QWidget *parent = 0);
|
||||
~PasswordGeneratorDialog();
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void generateNewPassword();
|
||||
void handleCheckedCategoriesChanged();
|
||||
void handlePasswordChanged();
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue