summaryrefslogtreecommitdiff
path: root/src/processrunner.h
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2019-11-06 07:20:56 -0500
committerisanae <14251494+isanae@users.noreply.github.com>2019-11-06 07:45:03 -0500
commit4f84565085e19b6f6939783c64ebf95599f879be (patch)
tree17d2b7b11f57ddcb399917f851c29079285af02f /src/processrunner.h
parent8f40ec0bdcb99cc1a0a2bde3074842391844f5d6 (diff)
renamed LockWidget to UILocker
lock interface up to two processes
Diffstat (limited to 'src/processrunner.h')
-rw-r--r--src/processrunner.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/processrunner.h b/src/processrunner.h
index 276c46b1..af5cd416 100644
--- a/src/processrunner.h
+++ b/src/processrunner.h
@@ -65,7 +65,7 @@ public:
ProcessRunner& setForcedLibraries(const ForcedLibraries& forcedLibraries);
ProcessRunner& setProfileName(const QString& profileName);
ProcessRunner& setWaitForCompletion(
- WaitFlags flags=NoFlags, LockWidget::Reasons reason=LockWidget::LockUI);
+ WaitFlags flags=NoFlags, UILocker::Reasons reason=UILocker::LockUI);
// if the target is an executable file, runs that; for anything else, calls
// ShellExecute() on it
@@ -134,7 +134,7 @@ public:
// running a process, but it uses the same internal stuff as when running a
// process
//
- Results waitForAllUSVFSProcessesWithLock(LockWidget::Reasons reason);
+ Results waitForAllUSVFSProcessesWithLock(UILocker::Reasons reason);
private:
OrganizerCore& m_core;
@@ -143,7 +143,7 @@ private:
QString m_customOverwrite;
ForcedLibraries m_forcedLibraries;
QString m_profileName;
- LockWidget::Reasons m_lockReason;
+ UILocker::Reasons m_lockReason;
WaitFlags m_waitFlags;
QString m_shellOpen;
env::HandlePtr m_handle;
@@ -164,7 +164,7 @@ private:
// creates the lock widget and calls f()
//
- void withLock(std::function<void (LockWidget::Session&)> f);
+ void withLock(std::function<void (UILocker::Session&)> f);
};
Q_DECLARE_OPERATORS_FOR_FLAGS(ProcessRunner::WaitFlags);