diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:33:36 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:33:36 -0600 |
commit | 3c5631f74d1c75204f950140331e10f739082ee9 (patch) | |
tree | a2811ff6c81d3c771745cde47734e65b1da3d806 /kgamma | |
parent | 6adb71382c3d5277c3dcbc4ec24c5ff36b4c07ef (diff) | |
download | tdegraphics-3c5631f74d1c75204f950140331e10f739082ee9.tar.gz tdegraphics-3c5631f74d1c75204f950140331e10f739082ee9.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kgamma')
-rw-r--r-- | kgamma/kcmkgamma/kgamma.cpp | 12 | ||||
-rw-r--r-- | kgamma/kcmkgamma/kgamma.h | 2 |
2 files changed, 7 insertions, 7 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); diff --git a/kgamma/kcmkgamma/kgamma.h b/kgamma/kcmkgamma/kgamma.h index 132c349b..cae9b20c 100644 --- a/kgamma/kcmkgamma/kgamma.h +++ b/kgamma/kcmkgamma/kgamma.h @@ -25,7 +25,7 @@ class TQComboBox; class XVidExtWrap; class TDEProcess; -class KGamma: public KCModule +class KGamma: public TDECModule { Q_OBJECT |