diff options
| author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2018-02-22 16:54:34 +0100 |
|---|---|---|
| committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2018-02-22 16:54:34 +0100 |
| commit | 5e5c9c07291f6b09623d31c92b1fb61c4ede576e (patch) | |
| tree | 0684c123db375336e0e03f0240155a12e744db16 /src/categoriesdialog.h | |
| parent | 5ad912e1934061b38825801a27f7c12933878005 (diff) | |
Applied clang-format on source
Diffstat (limited to 'src/categoriesdialog.h')
| -rw-r--r-- | src/categoriesdialog.h | 46 |
1 files changed, 20 insertions, 26 deletions
diff --git a/src/categoriesdialog.h b/src/categoriesdialog.h index 72d2154d..141eb907 100644 --- a/src/categoriesdialog.h +++ b/src/categoriesdialog.h @@ -30,42 +30,36 @@ class CategoriesDialog; /**
* @brief Dialog that allows users to configure mod categories
**/
-class CategoriesDialog : public MOBase::TutorableDialog
-{
- Q_OBJECT
-
-public:
+class CategoriesDialog : public MOBase::TutorableDialog {
+ Q_OBJECT
- explicit CategoriesDialog(QWidget *parent = 0);
- ~CategoriesDialog();
+public:
+ explicit CategoriesDialog(QWidget* parent = 0);
+ ~CategoriesDialog();
- /**
- * @brief store changes here to the global categories store (categories.h)
- *
- **/
- void commitChanges();
+ /**
+ * @brief store changes here to the global categories store (categories.h)
+ *
+ **/
+ void commitChanges();
private slots:
- void on_categoriesTable_customContextMenuRequested(const QPoint &pos);
- void addCategory_clicked();
- void removeCategory_clicked();
- void cellChanged(int row, int column);
+ void on_categoriesTable_customContextMenuRequested(const QPoint& pos);
+ void addCategory_clicked();
+ void removeCategory_clicked();
+ void cellChanged(int row, int column);
private:
-
- void refreshIDs();
- void fillTable();
+ void refreshIDs();
+ void fillTable();
private:
+ Ui::CategoriesDialog* ui;
+ int m_ContextRow;
- Ui::CategoriesDialog *ui;
- int m_ContextRow;
-
- int m_HighestID;
- std::set<int> m_IDs;
-
+ int m_HighestID;
+ std::set<int> m_IDs;
};
#endif // CATEGORIESDIALOG_H
-
|
