summaryrefslogtreecommitdiff
path: root/src/editexecutablesdialog.h
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2014-01-03 18:40:46 +0100
committerTannin <devnull@localhost>2014-01-03 18:40:46 +0100
commitd029e97724711ee7974f6ddb2460c215ad39f561 (patch)
tree2a9cf43f430e8e4ff502b3dc33cd8f6b551ade03 /src/editexecutablesdialog.h
parenta9435f637e8c83d189ee467cdc640b263f27d206 (diff)
- 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)
Diffstat (limited to 'src/editexecutablesdialog.h')
-rw-r--r--src/editexecutablesdialog.h16
1 files changed, 14 insertions, 2 deletions
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 <http://www.gnu.org/licenses/>.
#include "tutorabledialog.h"
#include <QListWidgetItem>
+#include <QTimer>
#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