From d029e97724711ee7974f6ddb2460c215ad39f561 Mon Sep 17 00:00:00 2001 From: Tannin Date: Fri, 3 Jan 2014 18:40:46 +0100 Subject: - hook dll now monitors all mod directories, not only overwrite - dialog for changing executables now warns if changes will be lost - main window is now locked before activating pre-start hooks - better responsiveness while main window is locked (or should be) --- src/editexecutablesdialog.h | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'src/editexecutablesdialog.h') diff --git a/src/editexecutablesdialog.h b/src/editexecutablesdialog.h index da26b177..a90cbc59 100644 --- a/src/editexecutablesdialog.h +++ b/src/editexecutablesdialog.h @@ -22,6 +22,7 @@ along with Mod Organizer. If not, see . #include "tutorabledialog.h" #include +#include #include "executableslist.h" namespace Ui { @@ -54,6 +55,7 @@ public: **/ ExecutablesList getExecutablesList() const; + void saveExecutable(); private slots: void on_binaryEdit_textChanged(const QString &arg1); @@ -66,21 +68,31 @@ private slots: void on_titleEdit_textChanged(const QString &arg1); - void on_executablesListBox_itemClicked(QListWidgetItem *item); - void on_overwriteAppIDBox_toggled(bool checked); void on_browseDirButton_clicked(); + void on_closeButton_clicked(); + + void on_executablesListBox_currentItemChanged(QListWidgetItem *current, QListWidgetItem *previous); + + void delayedRefresh(); + private: void resetInput(); void refreshExecutablesWidget(); + bool executableChanged(); + private: Ui::EditExecutablesDialog *ui; + + QListWidgetItem *m_CurrentItem; + ExecutablesList m_ExecutablesList; + }; #endif // EDITEXECUTABLESDIALOG_H -- cgit v1.3.1