summaryrefslogtreecommitdiffstats
path: root/kxkb/kcmmisc.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-25 00:30:47 -0600
committerTimothy Pearson <[email protected]>2013-01-25 00:30:47 -0600
commitcc74f360bb40da3d79f58048f8e8611804980aa6 (patch)
treec4385d2c16b904757b1c8bb998a4aec6993373f7 /kxkb/kcmmisc.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 'kxkb/kcmmisc.cpp')
-rw-r--r--kxkb/kcmmisc.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kxkb/kcmmisc.cpp b/kxkb/kcmmisc.cpp
index 63e4d25aa..e3f8f66c8 100644
--- a/kxkb/kcmmisc.cpp
+++ b/kxkb/kcmmisc.cpp
@@ -51,7 +51,7 @@
#include <X11/Xlib.h>
KeyboardConfig::KeyboardConfig (TQWidget * parent, const char *)
- : KCModule (parent, "kcmlayout")
+ : TDECModule (parent, "kcmlayout")
{
TQString wtstr;
TQBoxLayout* lay = new TQVBoxLayout(this, 0, KDialog::spacingHint());
@@ -129,7 +129,7 @@ void KeyboardConfig::setNumLockState( int s )
void KeyboardConfig::load()
{
- KConfig config("kcminputrc");
+ TDEConfig config("kcminputrc");
XKeyboardState kbd;
@@ -150,7 +150,7 @@ void KeyboardConfig::load()
void KeyboardConfig::save()
{
- KConfig config("kcminputrc");
+ TDEConfig config("kcminputrc");
XKeyboardControl kbd;
@@ -201,7 +201,7 @@ void KeyboardConfig::delaySliderChanged (int value) {
ui->delay->setValue((int)floor(0.5 + linearValue));
- emit KCModule::changed(true);
+ emit TDECModule::changed(true);
}
void KeyboardConfig::delaySpinboxChanged (int value) {
@@ -210,24 +210,24 @@ void KeyboardConfig::delaySpinboxChanged (int value) {
ui->delaySlider->setValue ((int)floor (0.5 + logVal));
- emit KCModule::changed(true);
+ emit TDECModule::changed(true);
}
void KeyboardConfig::rateSliderChanged (int value) {
ui->rate->setValue(value/100.0);
- emit KCModule::changed(true);
+ emit TDECModule::changed(true);
}
void KeyboardConfig::rateSpinboxChanged (double value) {
ui->rateSlider->setValue ((int)(value*100));
- emit KCModule::changed(true);
+ emit TDECModule::changed(true);
}
void KeyboardConfig::changed()
{
- emit KCModule::changed(true);
+ emit TDECModule::changed(true);
}
/*
@@ -541,7 +541,7 @@ void set_repeatrate(int delay, double rate)
void KeyboardConfig::init_keyboard()
{
- KConfig *config = new KConfig("kcminputrc", true); // Read-only, no globals
+ TDEConfig *config = new TDEConfig("kcminputrc", true); // Read-only, no globals
config->setGroup("Keyboard");
XKeyboardState kbd;