diff options
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
-
|
