Changeset View
Changeset View
Standalone View
Standalone View
krusader/Dialogs/krpleasewait.cpp
Show First 20 Lines • Show All 124 Lines • ▼ Show 20 Line(s) | 109 | { | |||
---|---|---|---|---|---|
125 | } | 125 | } | ||
126 | } | 126 | } | ||
127 | 127 | | |||
128 | void KRPleaseWaitHandler::cycleProgress() | 128 | void KRPleaseWaitHandler::cycleProgress() | ||
129 | { | 129 | { | ||
130 | if (cycleMutex) return; | 130 | if (cycleMutex) return; | ||
131 | cycleMutex = true; | 131 | cycleMutex = true; | ||
132 | if (dlg) dlg->cycleProgress(); | 132 | if (dlg) dlg->cycleProgress(); | ||
133 | if (cycle) QTimer::singleShot(2000, this, SLOT(cycleProgress())); | 133 | if (cycle) QTimer::singleShot(2000, this, &KRPleaseWaitHandler::cycleProgress); | ||
134 | cycleMutex = false; | 134 | cycleMutex = false; | ||
135 | } | 135 | } | ||
136 | 136 | | |||
137 | void KRPleaseWaitHandler::killJob() | 137 | void KRPleaseWaitHandler::killJob() | ||
138 | { | 138 | { | ||
139 | if (!job.isNull()) job->kill(KJob::EmitResult); | 139 | if (!job.isNull()) job->kill(KJob::EmitResult); | ||
140 | stopWait(); | 140 | stopWait(); | ||
141 | _wasCancelled = true; | 141 | _wasCancelled = true; | ||
Show All 15 Lines |