Changeset View
Changeset View
Standalone View
Standalone View
kcms/componentchooser/componentchooserfilemanager.cpp
Show First 20 Lines • Show All 44 Lines • ▼ Show 20 Line(s) | 44 | { | |||
---|---|---|---|---|---|
45 | emit changed(true); | 45 | emit changed(true); | ||
46 | } | 46 | } | ||
47 | 47 | | |||
48 | void CfgFileManager::defaults() | 48 | void CfgFileManager::defaults() | ||
49 | { | 49 | { | ||
50 | load(nullptr); | 50 | load(nullptr); | ||
51 | } | 51 | } | ||
52 | 52 | | |||
53 | bool CfgFileManager::isDefaults() const | ||||
54 | { | ||||
55 | return false; | ||||
56 | } | ||||
57 | | ||||
53 | static KService::List appOffers() | 58 | static KService::List appOffers() | ||
54 | { | 59 | { | ||
55 | return KMimeTypeTrader::self()->query(QStringLiteral("inode/directory"), QStringLiteral("Application")); | 60 | return KMimeTypeTrader::self()->query(QStringLiteral("inode/directory"), QStringLiteral("Application")); | ||
56 | } | 61 | } | ||
57 | 62 | | |||
58 | void CfgFileManager::load(KConfig *) { | 63 | void CfgFileManager::load(KConfig *) { | ||
59 | qDeleteAll(mDynamicWidgets); | 64 | qDeleteAll(mDynamicWidgets); | ||
60 | mDynamicWidgets.clear(); | 65 | mDynamicWidgets.clear(); | ||
▲ Show 20 Lines • Show All 82 Lines • Show Last 20 Lines |