Changeset View
Changeset View
Standalone View
Standalone View
src/quickaddons/configmodule.cpp
Show First 20 Lines • Show All 250 Lines • ▼ Show 20 Line(s) | 247 | { | |||
---|---|---|---|---|---|
251 | QQuickItem *page = d->subPages.takeLast(); | 251 | QQuickItem *page = d->subPages.takeLast(); | ||
252 | emit pageRemoved(); | 252 | emit pageRemoved(); | ||
253 | emit depthChanged(depth()); | 253 | emit depthChanged(depth()); | ||
254 | page->deleteLater(); | 254 | page->deleteLater(); | ||
255 | 255 | | |||
256 | setCurrentIndex(qMin(d->currentIndex, depth() - 1)); | 256 | setCurrentIndex(qMin(d->currentIndex, depth() - 1)); | ||
257 | } | 257 | } | ||
258 | 258 | | |||
259 | void ConfigModule::showPassiveNotification(const QString &message, const QVariant &timeout, const QString &actionText, const QJSValue &callBack) | ||||
260 | { | ||||
261 | emit passiveNotificationRequested(message, timeout, actionText, callBack); | ||||
262 | } | ||||
263 | | ||||
259 | ConfigModule::Buttons ConfigModule::buttons() const | 264 | ConfigModule::Buttons ConfigModule::buttons() const | ||
260 | { | 265 | { | ||
261 | return d->_buttons; | 266 | return d->_buttons; | ||
262 | } | 267 | } | ||
263 | 268 | | |||
264 | void ConfigModule::setButtons(const KQuickAddons::ConfigModule::Buttons buttons) | 269 | void ConfigModule::setButtons(const KQuickAddons::ConfigModule::Buttons buttons) | ||
265 | { | 270 | { | ||
266 | if (d->_buttons == buttons) { | 271 | if (d->_buttons == buttons) { | ||
▲ Show 20 Lines • Show All 222 Lines • Show Last 20 Lines |