diff options
| author | Eran Mizrahi <erasmux@gmail.com> | 2017-12-09 21:39:22 +0200 |
|---|---|---|
| committer | Eran Mizrahi <erasmux@gmail.com> | 2017-12-10 02:53:19 +0200 |
| commit | 66b17eea8ac83ee6f7b729974240d995a1e8ed3a (patch) | |
| tree | 8a89aef1c9122dc7b233aa823880d9f60231e91f /src/lockeddialog.h | |
| parent | 89b1f1d48dd05b372abca64b311b1107f044a897 (diff) | |
Wait for processes run using command line shortcuts
Diffstat (limited to 'src/lockeddialog.h')
| -rw-r--r-- | src/lockeddialog.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lockeddialog.h b/src/lockeddialog.h index 29ac459b..8803efae 100644 --- a/src/lockeddialog.h +++ b/src/lockeddialog.h @@ -20,6 +20,7 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>. #ifndef LOCKEDDIALOG_H
#define LOCKEDDIALOG_H
+#include "ilockedwaitingforprocess.h"
#include <QDialog> // for QDialog
#include <QObject> // for Q_OBJECT, slots
#include <QString> // for QString
@@ -39,7 +40,7 @@ namespace Ui { * data on which Mod Organizer works. After the UI is unlocked (manually or after the
* external application closed) MO will refresh all of its data sources
**/
-class LockedDialog : public QDialog
+class LockedDialog : public QDialog, public ILockedWaitingForProcess
{
Q_OBJECT
@@ -52,13 +53,13 @@ public: *
* @return true if the user clicked the unlock button
**/
- bool unlockClicked() const { return m_UnlockClicked; }
+ bool unlockClicked() override { return m_UnlockClicked; }
/**
* @brief set the name of the process being run
* @param name of process
*/
- void setProcessName(const QString &name);
+ void setProcessName(const QString &name) override;
protected:
|
