Changeset View
Changeset View
Standalone View
Standalone View
src/kauthexecutejob.cpp
Show First 20 Lines • Show All 201 Lines • ▼ Show 20 Line(s) | |||||
202 | } | 202 | } | ||
203 | 203 | | |||
204 | void ExecuteJob::Private::actionPerformedSlot(const QString &taction, const ActionReply &reply) | 204 | void ExecuteJob::Private::actionPerformedSlot(const QString &taction, const ActionReply &reply) | ||
205 | { | 205 | { | ||
206 | if (taction == action.name()) { | 206 | if (taction == action.name()) { | ||
207 | if (reply.failed()) { | 207 | if (reply.failed()) { | ||
208 | q->setError(reply.errorCode()); | 208 | q->setError(reply.errorCode()); | ||
209 | q->setErrorText(reply.errorDescription()); | 209 | q->setErrorText(reply.errorDescription()); | ||
210 | } else { | | |||
211 | data = reply.data(); | | |||
212 | } | 210 | } | ||
213 | 211 | | |||
212 | data = reply.data(); | ||||
213 | | ||||
214 | q->emitResult(); | 214 | q->emitResult(); | ||
215 | } | 215 | } | ||
216 | } | 216 | } | ||
217 | 217 | | |||
218 | void ExecuteJob::Private::progressStepSlot(const QString &taction, int i) | 218 | void ExecuteJob::Private::progressStepSlot(const QString &taction, int i) | ||
219 | { | 219 | { | ||
220 | if (taction == action.name()) { | 220 | if (taction == action.name()) { | ||
221 | q->setPercent(i); | 221 | q->setPercent(i); | ||
Show All 20 Lines |