diff options
| author | Thomas Tanner <trtanner@btinternet.com> | 2016-06-25 11:47:15 +0100 |
|---|---|---|
| committer | Thomas Tanner <trtanner@btinternet.com> | 2016-06-25 11:47:15 +0100 |
| commit | c7101be7d8a077eba563a6fd6f15ec8169eeca51 (patch) | |
| tree | 7aec5619a3a6f953b2dd114b9590737facd42616 /src/lockeddialog.h | |
| parent | d80a77a4cba35e9be01f57ac2c1b3cea3a00e516 (diff) | |
Some refactoring of the spawn code and to make waitForApplication get the right error code (usually)
A note: It is possible for the executed program to completely exit before MO attempts to get hold of the pid from the job handle,
in which case strangeness will happen (this has always been an issue)
Diffstat (limited to 'src/lockeddialog.h')
| -rw-r--r-- | src/lockeddialog.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/lockeddialog.h b/src/lockeddialog.h index 60af425d..29ac459b 100644 --- a/src/lockeddialog.h +++ b/src/lockeddialog.h @@ -20,7 +20,12 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>. #ifndef LOCKEDDIALOG_H
#define LOCKEDDIALOG_H
-#include <QDialog>
+#include <QDialog> // for QDialog
+#include <QObject> // for Q_OBJECT, slots
+#include <QString> // for QString
+
+class QResizeEvent;
+class QWidget;
namespace Ui {
class LockedDialog;
@@ -49,6 +54,10 @@ public: **/
bool unlockClicked() const { return m_UnlockClicked; }
+ /**
+ * @brief set the name of the process being run
+ * @param name of process
+ */
void setProcessName(const QString &name);
protected:
|
