[kcmdeco] Use KConfigLoader instead of Plasma::ConfigLoader
This commit is contained in:
parent
56722972a7
commit
2ff2164ba0
1 changed files with 2 additions and 2 deletions
|
@ -47,13 +47,13 @@
|
||||||
#include <QtCore/QStandardPaths>
|
#include <QtCore/QStandardPaths>
|
||||||
// KDE
|
// KDE
|
||||||
#include <KAboutData>
|
#include <KAboutData>
|
||||||
|
#include <kconfigloader.h>
|
||||||
#include <KDialog>
|
#include <KDialog>
|
||||||
#include <KDE/KLocalizedString>
|
#include <KDE/KLocalizedString>
|
||||||
#include <KMessageBox>
|
#include <KMessageBox>
|
||||||
#include <KNS3/DownloadDialog>
|
#include <KNS3/DownloadDialog>
|
||||||
#include <KDE/KConfigDialogManager>
|
#include <KDE/KConfigDialogManager>
|
||||||
#include <KPluginFactory>
|
#include <KPluginFactory>
|
||||||
#include <Plasma/ConfigLoader>
|
|
||||||
#include <qdeclarative.h>
|
#include <qdeclarative.h>
|
||||||
|
|
||||||
// KCModule plugin interface
|
// KCModule plugin interface
|
||||||
|
@ -403,7 +403,7 @@ void KWinDecorationModule::slotConfigureDecoration()
|
||||||
QFile configFile(configPath);
|
QFile configFile(configPath);
|
||||||
KSharedConfigPtr auroraeConfig = KSharedConfig::openConfig("auroraerc");
|
KSharedConfigPtr auroraeConfig = KSharedConfig::openConfig("auroraerc");
|
||||||
KConfigGroup configGroup = auroraeConfig->group(packageName);
|
KConfigGroup configGroup = auroraeConfig->group(packageName);
|
||||||
Plasma::ConfigLoader *skeleton = new Plasma::ConfigLoader(&configGroup, &configFile, dlg);
|
KConfigLoader *skeleton = new KConfigLoader(configGroup, &configFile, dlg);
|
||||||
// load the ui file
|
// load the ui file
|
||||||
QUiLoader *loader = new QUiLoader(dlg);
|
QUiLoader *loader = new QUiLoader(dlg);
|
||||||
QFile uiFile(uiPath);
|
QFile uiFile(uiPath);
|
||||||
|
|
Loading…
Reference in a new issue