diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-10-08 19:08:55 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2019-10-08 19:08:55 -0400 |
| commit | 8bc84a1513325f73252f4a07504ee6d2aad4b2f3 (patch) | |
| tree | 48c1a248fbb1fe075494fe22ada865932ac2075a /src/editexecutablesdialog.h | |
| parent | b4f5c17898317720662fc15a7828b68b2e81d950 (diff) | |
remove whitespace from executable names
add from binary, clone
Diffstat (limited to 'src/editexecutablesdialog.h')
| -rw-r--r-- | src/editexecutablesdialog.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/editexecutablesdialog.h b/src/editexecutablesdialog.h index 9e39b115..2e52c722 100644 --- a/src/editexecutablesdialog.h +++ b/src/editexecutablesdialog.h @@ -141,7 +141,8 @@ private: **/
class EditExecutablesDialog : public MOBase::TutorableDialog
{
- Q_OBJECT
+ Q_OBJECT;
+ friend class IgnoreChanges;
public:
using CustomOverwrites = ToggableMap<QString>;
@@ -222,10 +223,18 @@ private: void saveOrder();
bool canMove(const QListWidgetItem* item, int direction);
void move(QListWidgetItem* item, int direction);
- void setJarBinary(const QString& binaryName);
bool isTitleConflicting(const QString& s);
void commitChanges();
void setDirty(bool b);
+
+ void addFromFile();
+ void addEmpty();
+ void clone();
+ void addNew(Executable e);
+
+ QFileInfo browseBinary(const QString& initial);
+ void setBinary(const QFileInfo& binary);
+ void setJarBinary(const QFileInfo& binary);
};
#endif // EDITEXECUTABLESDIALOG_H
|
