summaryrefslogtreecommitdiff
path: root/src/editexecutablesdialog.h
diff options
context:
space:
mode:
authorTannin <Tannin@Miranda>2013-02-17 09:26:29 +0100
committerTannin <Tannin@Miranda>2013-02-17 09:26:29 +0100
commit6516a6b7c19713de28db7142612f1c095e541317 (patch)
tree06829bf7f82e1251a9e3db27185b7df90833bbc8 /src/editexecutablesdialog.h
parent5d1154c24e2475ed2b7ac248de27ab7b501a1e5e (diff)
- moved shared and uibase libraries to namespaces
- bugfix: the "fix mods" function was accessing the save game data incorrectly, causing a crash
Diffstat (limited to 'src/editexecutablesdialog.h')
-rw-r--r--src/editexecutablesdialog.h134
1 files changed, 67 insertions, 67 deletions
diff --git a/src/editexecutablesdialog.h b/src/editexecutablesdialog.h
index fad72dfd..da26b177 100644
--- a/src/editexecutablesdialog.h
+++ b/src/editexecutablesdialog.h
@@ -17,70 +17,70 @@ You should have received a copy of the GNU General Public License
along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef EDITEXECUTABLESDIALOG_H
-#define EDITEXECUTABLESDIALOG_H
-
-#include "tutorabledialog.h"
-#include <QListWidgetItem>
-#include "executableslist.h"
-
-namespace Ui {
- class EditExecutablesDialog;
-}
-
-/**
- * @brief Dialog to manage the list of executables
- **/
-class EditExecutablesDialog : public TutorableDialog
-{
- Q_OBJECT
-
-public:
-
- /**
- * @brief constructor
- *
- * @param executablesList current list of executables
- * @param parent parent widget
- **/
- explicit EditExecutablesDialog(const ExecutablesList &executablesList, QWidget *parent = 0);
-
- ~EditExecutablesDialog();
-
- /**
- * @brief retrieve the updated list of executables
- *
- * @return updated list of executables
- **/
- ExecutablesList getExecutablesList() const;
-
-private slots:
-
- void on_binaryEdit_textChanged(const QString &arg1);
-
- void on_addButton_clicked();
-
- void on_browseButton_clicked();
-
- void on_removeButton_clicked();
-
- void on_titleEdit_textChanged(const QString &arg1);
-
- void on_executablesListBox_itemClicked(QListWidgetItem *item);
-
- void on_overwriteAppIDBox_toggled(bool checked);
-
- void on_browseDirButton_clicked();
-
-private:
-
- void resetInput();
-
- void refreshExecutablesWidget();
-
-private:
- Ui::EditExecutablesDialog *ui;
- ExecutablesList m_ExecutablesList;
-};
-
-#endif // EDITEXECUTABLESDIALOG_H
+#ifndef EDITEXECUTABLESDIALOG_H
+#define EDITEXECUTABLESDIALOG_H
+
+#include "tutorabledialog.h"
+#include <QListWidgetItem>
+#include "executableslist.h"
+
+namespace Ui {
+ class EditExecutablesDialog;
+}
+
+/**
+ * @brief Dialog to manage the list of executables
+ **/
+class EditExecutablesDialog : public MOBase::TutorableDialog
+{
+ Q_OBJECT
+
+public:
+
+ /**
+ * @brief constructor
+ *
+ * @param executablesList current list of executables
+ * @param parent parent widget
+ **/
+ explicit EditExecutablesDialog(const ExecutablesList &executablesList, QWidget *parent = 0);
+
+ ~EditExecutablesDialog();
+
+ /**
+ * @brief retrieve the updated list of executables
+ *
+ * @return updated list of executables
+ **/
+ ExecutablesList getExecutablesList() const;
+
+private slots:
+
+ void on_binaryEdit_textChanged(const QString &arg1);
+
+ void on_addButton_clicked();
+
+ void on_browseButton_clicked();
+
+ void on_removeButton_clicked();
+
+ void on_titleEdit_textChanged(const QString &arg1);
+
+ void on_executablesListBox_itemClicked(QListWidgetItem *item);
+
+ void on_overwriteAppIDBox_toggled(bool checked);
+
+ void on_browseDirButton_clicked();
+
+private:
+
+ void resetInput();
+
+ void refreshExecutablesWidget();
+
+private:
+ Ui::EditExecutablesDialog *ui;
+ ExecutablesList m_ExecutablesList;
+};
+
+#endif // EDITEXECUTABLESDIALOG_H