Changeset View
Changeset View
Standalone View
Standalone View
src/ui/dialog.cpp
Show First 20 Lines • Show All 228 Lines • ▼ Show 20 Line(s) | 209 | { | |||
---|---|---|---|---|---|
229 | } | 229 | } | ||
230 | } | 230 | } | ||
231 | 231 | | |||
232 | void Dialog::slotFinished() | 232 | void Dialog::slotFinished() | ||
233 | { | 233 | { | ||
234 | setProgressDialogVisible(false); | 234 | setProgressDialogVisible(false); | ||
235 | emit stop(); | 235 | emit stop(); | ||
236 | //FIXME: should we emit done here? | 236 | //FIXME: should we emit done here? | ||
237 | #if SONNETUI_BUILD_DEPRECATED_SINCE(5, 65) | ||||
237 | emit done(d->checker->text()); | 238 | emit done(d->checker->text()); | ||
239 | #endif | ||||
240 | emit spellCheckDone(d->checker->text()); | ||||
238 | emit spellCheckStatus(tr("Spell check stopped.")); | 241 | emit spellCheckStatus(tr("Spell check stopped.")); | ||
239 | accept(); | 242 | accept(); | ||
240 | } | 243 | } | ||
241 | 244 | | |||
242 | void Dialog::slotCancel() | 245 | void Dialog::slotCancel() | ||
243 | { | 246 | { | ||
244 | d->canceled = true; | 247 | d->canceled = true; | ||
245 | d->deleteProgressDialog(false); // this method can be called in response to | 248 | d->deleteProgressDialog(false); // this method can be called in response to | ||
▲ Show 20 Lines • Show All 188 Lines • Show Last 20 Lines |