diff options
author | Anne Jan Brouwer <brouwer@annejan.com> | 2016-05-30 17:18:06 +0200 |
---|---|---|
committer | Anne Jan Brouwer <annejan@noprotocol.com> | 2016-05-30 17:18:06 +0200 |
commit | b6eececed2490081ed18f6dcadc60f9fd15899e5 (patch) | |
tree | ae2045e4d9fb04898251ce4af8b448737700bc27 /mainwindow.h | |
parent | 2e0a15113fd8bd4b98c9c9f82bc9b95c28b3565e (diff) |
clang formatter
Diffstat (limited to 'mainwindow.h')
-rw-r--r-- | mainwindow.h | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/mainwindow.h b/mainwindow.h index 3f642e8b..88679008 100644 --- a/mainwindow.h +++ b/mainwindow.h @@ -1,15 +1,15 @@ #ifndef MAINWINDOW_H_ #define MAINWINDOW_H_ -#include <QMainWindow> -#include <QTreeView> +#include "storemodel.h" +#include "trayicon.h" #include <QFileSystemModel> +#include <QMainWindow> #include <QProcess> #include <QQueue> #include <QSettings> #include <QTimer> -#include "storemodel.h" -#include "trayicon.h" +#include <QTreeView> #if SINGLE_APP #include "singleapplication.h" #else @@ -33,7 +33,7 @@ class MainWindow : public QMainWindow { enum actionType { GPG, GIT, EDIT, DELETE, GPG_INTERNAL, PWGEN }; - public: +public: enum clipBoardType { CLIPBOARD_NEVER = 0, CLIPBOARD_ALWAYS = 1, @@ -56,14 +56,13 @@ class MainWindow : public QMainWindow { void config(); void executePassGitInit(); - protected: +protected: void closeEvent(QCloseEvent *event); - void keyPressEvent(QKeyEvent * event); + void keyPressEvent(QKeyEvent *event); void changeEvent(QEvent *event); bool eventFilter(QObject *obj, QEvent *event); - - private slots: +private slots: void on_updateButton_clicked(); void on_pushButton_clicked(); void on_treeView_clicked(const QModelIndex &index); @@ -90,7 +89,7 @@ class MainWindow : public QMainWindow { void focusInput(); void copyPasswordToClipboard(); - private: +private: QAction *actionAddPassword; QAction *actionAddFolder; @@ -179,4 +178,4 @@ class MainWindow : public QMainWindow { const QString &getClippedPassword(); }; -#endif // MAINWINDOW_H_ +#endif // MAINWINDOW_H_ |