summaryrefslogtreecommitdiffstats
path: root/kgamma/kcmkgamma/kgamma.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-25 00:33:36 -0600
committerTimothy Pearson <[email protected]>2013-01-25 00:33:36 -0600
commit3c5631f74d1c75204f950140331e10f739082ee9 (patch)
treea2811ff6c81d3c771745cde47734e65b1da3d806 /kgamma/kcmkgamma/kgamma.cpp
parent6adb71382c3d5277c3dcbc4ec24c5ff36b4c07ef (diff)
downloadtdegraphics-3c5631f74d1c75204f950140331e10f739082ee9.tar.gz
tdegraphics-3c5631f74d1c75204f950140331e10f739082ee9.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kgamma/kcmkgamma/kgamma.cpp')
-rw-r--r--kgamma/kcmkgamma/kgamma.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kgamma/kcmkgamma/kgamma.cpp b/kgamma/kcmkgamma/kgamma.cpp
index 2a129daf..8a9a33fd 100644
--- a/kgamma/kcmkgamma/kgamma.cpp
+++ b/kgamma/kcmkgamma/kgamma.cpp
@@ -56,7 +56,7 @@ extern "C"
}
KGamma::KGamma(TQWidget *parent, const char *name, const TQStringList&)
- :KCModule(parent,name)
+ :TDECModule(parent,name)
{
bool ok;
GammaCorrection = true;
@@ -291,7 +291,7 @@ void KGamma::load() {
/** Restore latest saved gamma values */
void KGamma::load(bool useDefaults) {
if (GammaCorrection) {
- KConfig *config = new KConfig("kgammarc");
+ TDEConfig *config = new TDEConfig("kgammarc");
config->setReadDefaults( useDefaults );
@@ -344,7 +344,7 @@ void KGamma::save() {
}
xv->setScreen(currentScreen);
- KConfig *config = new KConfig("kgammarc");
+ TDEConfig *config = new TDEConfig("kgammarc");
config->setGroup("SyncBox");
if ( syncbox->isChecked() ) config->writeEntry("sync", "yes");
else config->writeEntry("sync", "no");
@@ -385,7 +385,7 @@ void KGamma::defaults() {
}
bool KGamma::loadSettings() {
- KConfig *config = new KConfig("kgammarc");
+ TDEConfig *config = new TDEConfig("kgammarc");
config->setGroup("ConfigFile");
TQString ConfigFile( config->readEntry("use") );
config->setGroup("SyncBox");
@@ -402,7 +402,7 @@ bool KGamma::loadSettings() {
}
bool KGamma::loadUserSettings() {
- KConfig *config = new KConfig("kgammarc");
+ TDEConfig *config = new TDEConfig("kgammarc");
for (int i = 0; i < ScreenCount; i++) {
config->setGroup(TQString( "Screen %1" ).arg(i) );
@@ -606,7 +606,7 @@ extern "C"
if (ok) {
xv.setGammaLimits(0.4, 3.5);
float rgamma, ggamma, bgamma;
- KConfig *config = new KConfig("kgammarc");
+ TDEConfig *config = new TDEConfig("kgammarc");
for (int i = 0; i < xv._ScreenCount(); i++) {
xv.setScreen(i);