summaryrefslogtreecommitdiffstats
path: root/kcontrol/bell/bell.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:30:47 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:30:47 -0600
commitcc74f360bb40da3d79f58048f8e8611804980aa6 (patch)
treec4385d2c16b904757b1c8bb998a4aec6993373f7 /kcontrol/bell/bell.cpp
parent79b21d47bce1ee428affc97534cd8b257232a871 (diff)
downloadtdebase-cc74f360bb40da3d79f58048f8e8611804980aa6.tar.gz
tdebase-cc74f360bb40da3d79f58048f8e8611804980aa6.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kcontrol/bell/bell.cpp')
-rw-r--r--kcontrol/bell/bell.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kcontrol/bell/bell.cpp b/kcontrol/bell/bell.cpp
index eff4eb2aa..0c04a8aa4 100644
--- a/kcontrol/bell/bell.cpp
+++ b/kcontrol/bell/bell.cpp
@@ -40,7 +40,7 @@
extern "C"
{
- KDE_EXPORT KCModule *create_bell(TQWidget *parent, const char *)
+ KDE_EXPORT TDECModule *create_bell(TQWidget *parent, const char *)
{
return new KBellConfig(parent, "kcmbell");
}
@@ -52,7 +52,7 @@ extern "C"
XGetKeyboardControl(kapp->getDisplay(), &kbd);
- KConfig config("kcmbellrc", true, false);
+ TDEConfig config("kcmbellrc", true, false);
config.setGroup("General");
kbdc.bell_percent = config.readNumEntry("Volume", kbd.bell_percent);
@@ -65,7 +65,7 @@ extern "C"
}
KBellConfig::KBellConfig(TQWidget *parent, const char *name):
- KCModule(parent, name)
+ TDECModule(parent, name)
{
TQBoxLayout *layout = new TQVBoxLayout(this, 0, KDialog::spacingHint());
@@ -160,7 +160,7 @@ void KBellConfig::load( bool useDefaults )
m_pitch->setValue(kbd.bell_pitch);
m_duration->setValue(kbd.bell_duration);
- KConfig cfg("kdeglobals", false, false);
+ TDEConfig cfg("kdeglobals", false, false);
cfg.setReadDefaults( useDefaults );
cfg.setGroup("General");
m_useBell->setChecked(cfg.readBoolEntry("UseSystemBell", false));
@@ -183,7 +183,7 @@ void KBellConfig::save()
KBBellPercent | KBBellPitch | KBBellDuration,
&kbd);
- KConfig config("kcmbellrc", false, false);
+ TDEConfig config("kcmbellrc", false, false);
config.setGroup("General");
config.writeEntry("Volume",bellVolume);
config.writeEntry("Pitch",bellPitch);
@@ -191,14 +191,14 @@ void KBellConfig::save()
config.sync();
- KConfig cfg("kdeglobals", false, false);
+ TDEConfig cfg("kdeglobals", false, false);
cfg.setGroup("General");
cfg.writeEntry("UseSystemBell", m_useBell->isChecked());
cfg.sync();
if (!m_useBell->isChecked())
{
- KConfig config("kaccessrc", false);
+ TDEConfig config("kaccessrc", false);
config.setGroup("Bell");
config.writeEntry("SystemBell", false);