summaryrefslogtreecommitdiff
path: root/src/categoriesdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/categoriesdialog.h')
-rw-r--r--src/categoriesdialog.h46
1 files changed, 26 insertions, 20 deletions
diff --git a/src/categoriesdialog.h b/src/categoriesdialog.h
index 141eb907..72d2154d 100644
--- a/src/categoriesdialog.h
+++ b/src/categoriesdialog.h
@@ -30,36 +30,42 @@ class CategoriesDialog;
/**
* @brief Dialog that allows users to configure mod categories
**/
-class CategoriesDialog : public MOBase::TutorableDialog {
- Q_OBJECT
-
+class CategoriesDialog : public MOBase::TutorableDialog
+{
+ Q_OBJECT
+
public:
- explicit CategoriesDialog(QWidget* parent = 0);
- ~CategoriesDialog();
- /**
- * @brief store changes here to the global categories store (categories.h)
- *
- **/
- void commitChanges();
+ explicit CategoriesDialog(QWidget *parent = 0);
+ ~CategoriesDialog();
+
+ /**
+ * @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;
- int m_HighestID;
- std::set<int> m_IDs;
+ Ui::CategoriesDialog *ui;
+ int m_ContextRow;
+
+ int m_HighestID;
+ std::set<int> m_IDs;
+
};
#endif // CATEGORIESDIALOG_H
+