diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2022-05-17 11:47:01 +0200 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2023-07-09 17:20:40 +0200 |
| commit | d13f6bb870cdda71257f665367be8ef9fca86255 (patch) | |
| tree | 52e214718478f1e52856572f5aa1a2ac58537f9f /src/queryoverwritedialog.h | |
| parent | 86bb01ba9eac879d3685c439ac9da0028bc4bc80 (diff) | |
Apply clang-format.
Diffstat (limited to 'src/queryoverwritedialog.h')
| -rw-r--r-- | src/queryoverwritedialog.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/queryoverwritedialog.h b/src/queryoverwritedialog.h index a98f23ef..a8769ea8 100644 --- a/src/queryoverwritedialog.h +++ b/src/queryoverwritedialog.h @@ -22,7 +22,8 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>. #include <QDialog> -namespace Ui { +namespace Ui +{ class QueryOverwriteDialog; } @@ -30,20 +31,22 @@ class QueryOverwriteDialog : public QDialog { Q_OBJECT public: - enum Action { + enum Action + { ACT_NONE, ACT_MERGE, ACT_REPLACE, ACT_RENAME }; - enum Backup { + enum Backup + { BACKUP_NO, BACKUP_YES }; public: - QueryOverwriteDialog(QWidget *parent, Backup b); + QueryOverwriteDialog(QWidget* parent, Backup b); ~QueryOverwriteDialog(); bool backup() const; Action action() const { return m_Action; } @@ -54,8 +57,8 @@ private slots: void on_cancelBtn_clicked(); private: - Ui::QueryOverwriteDialog *ui; + Ui::QueryOverwriteDialog* ui; Action m_Action; }; -#endif // QUERYOVERWRITEDIALOG_H +#endif // QUERYOVERWRITEDIALOG_H |
