Changeset View
Changeset View
Standalone View
Standalone View
src/downloadwidget.cpp
Show First 20 Lines • Show All 236 Lines • ▼ Show 20 Line(s) | 233 | { | |||
---|---|---|---|---|---|
237 | ui.closeButton->setVisible(dialogMode); | 237 | ui.closeButton->setVisible(dialogMode); | ||
238 | ui.backButton->setVisible(false); | 238 | ui.backButton->setVisible(false); | ||
239 | KStandardGuiItem::assign(ui.backButton, KStandardGuiItem::Back); | 239 | KStandardGuiItem::assign(ui.backButton, KStandardGuiItem::Back); | ||
240 | q->connect(ui.backButton, &QPushButton::clicked, this, &DownloadWidgetPrivate::slotShowOverview); | 240 | q->connect(ui.backButton, &QPushButton::clicked, this, &DownloadWidgetPrivate::slotShowOverview); | ||
241 | 241 | | |||
242 | q->connect(engine, &KNSCore::Engine::signalMessage, this, &DownloadWidgetPrivate::slotShowMessage); | 242 | q->connect(engine, &KNSCore::Engine::signalMessage, this, &DownloadWidgetPrivate::slotShowMessage); | ||
243 | 243 | | |||
244 | q->connect(engine, &KNSCore::Engine::signalBusy, ui.progressIndicator, &ProgressIndicator::busy); | 244 | q->connect(engine, &KNSCore::Engine::signalBusy, ui.progressIndicator, &ProgressIndicator::busy); | ||
245 | q->connect(engine, &KNSCore::Engine::signalError, ui.progressIndicator, &ProgressIndicator::error); | 245 | q->connect(engine, &KNSCore::Engine::signalErrorCode, ui.progressIndicator, &ProgressIndicator::error); | ||
246 | q->connect(engine, &KNSCore::Engine::signalIdle, ui.progressIndicator, &ProgressIndicator::idle); | 246 | q->connect(engine, &KNSCore::Engine::signalIdle, ui.progressIndicator, &ProgressIndicator::idle); | ||
247 | 247 | | |||
248 | q->connect(engine, &KNSCore::Engine::signalProvidersLoaded, this, &DownloadWidgetPrivate::slotProvidersLoaded); | 248 | q->connect(engine, &KNSCore::Engine::signalProvidersLoaded, this, &DownloadWidgetPrivate::slotProvidersLoaded); | ||
249 | // Entries have been fetched and should be shown: | 249 | // Entries have been fetched and should be shown: | ||
250 | q->connect(engine, &KNSCore::Engine::signalEntriesLoaded, this, &DownloadWidgetPrivate::slotEntriesLoaded); | 250 | q->connect(engine, &KNSCore::Engine::signalEntriesLoaded, this, &DownloadWidgetPrivate::slotEntriesLoaded); | ||
251 | 251 | | |||
252 | // An entry has changes - eg because it was installed | 252 | // An entry has changes - eg because it was installed | ||
253 | q->connect(engine, &KNSCore::Engine::signalEntryChanged, this, &DownloadWidgetPrivate::slotEntryChanged); | 253 | q->connect(engine, &KNSCore::Engine::signalEntryChanged, this, &DownloadWidgetPrivate::slotEntryChanged); | ||
▲ Show 20 Lines • Show All 179 Lines • Show Last 20 Lines |