Changeset View
Changeset View
Standalone View
Standalone View
src/kkeysequencewidget.cpp
Show First 20 Lines • Show All 334 Lines • ▼ Show 20 Line(s) | 334 | { | |||
---|---|---|---|---|---|
335 | return d->allowModifierless; | 335 | return d->allowModifierless; | ||
336 | } | 336 | } | ||
337 | 337 | | |||
338 | void KKeySequenceWidget::setClearButtonShown(bool show) | 338 | void KKeySequenceWidget::setClearButtonShown(bool show) | ||
339 | { | 339 | { | ||
340 | d->clearButton->setVisible(show); | 340 | d->clearButton->setVisible(show); | ||
341 | } | 341 | } | ||
342 | 342 | | |||
343 | #ifndef KXMLGUI_NO_DEPRECATED | 343 | #if KXMLGUI_BUILD_DEPRECATED_SINCE(4, 1) | ||
344 | void KKeySequenceWidget::setCheckActionList(const QList<QAction *> &checkList) // deprecated | 344 | void KKeySequenceWidget::setCheckActionList(const QList<QAction *> &checkList) // deprecated | ||
345 | { | 345 | { | ||
346 | d->checkList = checkList; | 346 | d->checkList = checkList; | ||
347 | Q_ASSERT(d->checkActionCollections.isEmpty()); // don't call this method if you call setCheckActionCollections! | 347 | Q_ASSERT(d->checkActionCollections.isEmpty()); // don't call this method if you call setCheckActionCollections! | ||
348 | } | 348 | } | ||
349 | #endif | 349 | #endif | ||
350 | 350 | | |||
351 | void KKeySequenceWidget::setCheckActionCollections(const QList<KActionCollection *> &actionCollections) | 351 | void KKeySequenceWidget::setCheckActionCollections(const QList<KActionCollection *> &actionCollections) | ||
▲ Show 20 Lines • Show All 510 Lines • Show Last 20 Lines |