From 5e5c9c07291f6b09623d31c92b1fb61c4ede576e Mon Sep 17 00:00:00 2001 From: Sandro Jäckel Date: Thu, 22 Feb 2018 16:54:34 +0100 Subject: Applied clang-format on source --- src/categoriesdialog.h | 46 ++++++++++++++++++++-------------------------- 1 file changed, 20 insertions(+), 26 deletions(-) (limited to 'src/categoriesdialog.h') 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 m_IDs; - + int m_HighestID; + std::set m_IDs; }; #endif // CATEGORIESDIALOG_H - -- cgit v1.3.1