From afe0d749c438b086a7efa08e4d443be94f56d101 Mon Sep 17 00:00:00 2001 From: Tannin Date: Sat, 7 May 2016 00:18:23 +0200 Subject: added option to use a mod as the target to create now files instead of "overwrite" --- src/editexecutablesdialog.h | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) (limited to 'src/editexecutablesdialog.h') diff --git a/src/editexecutablesdialog.h b/src/editexecutablesdialog.h index 4f6c5315..0f3dbaff 100644 --- a/src/editexecutablesdialog.h +++ b/src/editexecutablesdialog.h @@ -24,11 +24,16 @@ along with Mod Organizer. If not, see . #include #include #include "executableslist.h" +#include "profile.h" namespace Ui { class EditExecutablesDialog; } + +class ModList; + + /** * @brief Dialog to manage the list of executables **/ @@ -44,7 +49,10 @@ public: * @param executablesList current list of executables * @param parent parent widget **/ - explicit EditExecutablesDialog(const ExecutablesList &executablesList, QWidget *parent = 0); + explicit EditExecutablesDialog(const ExecutablesList &executablesList, + const ModList &modList, + Profile *profile, + QWidget *parent = 0); ~EditExecutablesDialog(); @@ -56,6 +64,10 @@ public: ExecutablesList getExecutablesList() const; void saveExecutable(); + +private slots: + void on_newFilesModCheckBox_toggled(bool checked); + private slots: void on_binaryEdit_textChanged(const QString &arg1); @@ -89,12 +101,13 @@ private: bool executableChanged(); private: - Ui::EditExecutablesDialog *ui; + Ui::EditExecutablesDialog *ui; - QListWidgetItem *m_CurrentItem; + QListWidgetItem *m_CurrentItem; - ExecutablesList m_ExecutablesList; + ExecutablesList m_ExecutablesList; + Profile *m_Profile; }; #endif // EDITEXECUTABLESDIALOG_H -- cgit v1.3.1