summaryrefslogtreecommitdiffstats
path: root/kwallet/konfigurator/konfigurator.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:38:13 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:38:13 -0600
commit4bb787f41f7cdefac2aac33ef59317b7157302c1 (patch)
treec9726401d4eeb6fff8e78c4e35facb644c417e77 /kwallet/konfigurator/konfigurator.cpp
parentaef5eada7f51ee48f3d21448db290bd8f06953a8 (diff)
downloadtdeutils-4bb787f41f7cdefac2aac33ef59317b7157302c1.tar.gz
tdeutils-4bb787f41f7cdefac2aac33ef59317b7157302c1.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kwallet/konfigurator/konfigurator.cpp')
-rw-r--r--kwallet/konfigurator/konfigurator.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kwallet/konfigurator/konfigurator.cpp b/kwallet/konfigurator/konfigurator.cpp
index 3506f58..dd03591 100644
--- a/kwallet/konfigurator/konfigurator.cpp
+++ b/kwallet/konfigurator/konfigurator.cpp
@@ -41,7 +41,7 @@ typedef KGenericFactory<KWalletConfig, TQWidget> KWalletFactory;
K_EXPORT_COMPONENT_FACTORY(kcm_kwallet, KWalletFactory("kcmkwallet"))
KWalletConfig::KWalletConfig(TQWidget *parent, const char *name, const TQStringList&)
-: KCModule(KWalletFactory::instance(), parent, name) {
+: TDECModule(KWalletFactory::instance(), parent, name) {
TDEAboutData *about =
new TDEAboutData(I18N_NOOP("kcmkwallet"),
@@ -51,7 +51,7 @@ KWalletConfig::KWalletConfig(TQWidget *parent, const char *name, const TQStringL
about->addAuthor("George Staikos", 0, "staikos@kde.org");
setAboutData( about );
- _cfg = new KConfig("kwalletrc", false, false);
+ _cfg = new TDEConfig("kwalletrc", false, false);
TQVBoxLayout *vbox = new TQVBoxLayout(this, 0, KDialog::spacingHint());
vbox->add(_wcw = new WalletConfigWidget(this));
@@ -182,7 +182,7 @@ void KWalletConfig::load() {
}
void KWalletConfig::load(bool useDefaults) {
- KConfigGroup config(_cfg, "Wallet");
+ TDEConfigGroup config(_cfg, "Wallet");
config.setReadDefaults( useDefaults );
_wcw->_enabled->setChecked(config.readBoolEntry("Enabled", true));
_wcw->_openPrompt->setChecked(config.readBoolEntry("Prompt on Open", true));
@@ -235,7 +235,7 @@ void KWalletConfig::load(bool useDefaults) {
void KWalletConfig::save() {
- KConfigGroup config(_cfg, "Wallet");
+ TDEConfigGroup config(_cfg, "Wallet");
config.writeEntry("Enabled", _wcw->_enabled->isChecked());
config.writeEntry("Launch Manager", _wcw->_launchManager->isChecked());
config.writeEntry("Leave Manager Open", !_wcw->_autocloseManager->isChecked());