diff options
author | Timothy Pearson <[email protected]> | 2013-01-25 00:30:47 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-25 00:30:47 -0600 |
commit | cc74f360bb40da3d79f58048f8e8611804980aa6 (patch) | |
tree | c4385d2c16b904757b1c8bb998a4aec6993373f7 /kcontrol/access/kcmaccess.cpp | |
parent | 79b21d47bce1ee428affc97534cd8b257232a871 (diff) | |
download | tdebase-cc74f360bb40da3d79f58048f8e8611804980aa6.tar.gz tdebase-cc74f360bb40da3d79f58048f8e8611804980aa6.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kcontrol/access/kcmaccess.cpp')
-rw-r--r-- | kcontrol/access/kcmaccess.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kcontrol/access/kcmaccess.cpp b/kcontrol/access/kcmaccess.cpp index 64cb290e9..218dbfbb4 100644 --- a/kcontrol/access/kcmaccess.cpp +++ b/kcontrol/access/kcmaccess.cpp @@ -101,7 +101,7 @@ void ExtendedIntNumInput::slotSliderValueChanged(int val) m_spin->setValue ((int)floor(0.5 + linearVal)); } -static bool needToRunKAccessDaemon( KConfig *config ) +static bool needToRunKAccessDaemon( TDEConfig *config ) { // We always start the KAccess Daemon, if it is not needed, // it will terminate itself after configuring the AccessX @@ -222,7 +222,7 @@ TQString mouseKeysShortcut (Display *display) { } KAccessConfig::KAccessConfig(TQWidget *parent, const char *) - : KCModule(parent, "kcmaccess") + : TDECModule(parent, "kcmaccess") { TDEAboutData *about = @@ -602,7 +602,7 @@ void KAccessConfig::load() void KAccessConfig::load( bool useDefaults ) { - KConfig *config = new KConfig("kaccessrc", true, false); + TDEConfig *config = new TDEConfig("kaccessrc", true, false); config->setGroup("Bell"); config->setReadDefaults( useDefaults ); @@ -657,7 +657,7 @@ void KAccessConfig::load( bool useDefaults ) void KAccessConfig::save() { - KConfig *config= new KConfig("kaccessrc", false); + TDEConfig *config= new TDEConfig("kaccessrc", false); config->setGroup("Bell"); @@ -707,7 +707,7 @@ void KAccessConfig::save() customBell->isChecked() || visibleBell->isChecked()) { - KConfig cfg("kdeglobals", false, false); + TDEConfig cfg("kdeglobals", false, false); cfg.setGroup("General"); cfg.writeEntry("UseSystemBell", true); cfg.sync(); @@ -783,7 +783,7 @@ void KAccessConfig::checkAccess() extern "C" { - KDE_EXPORT KCModule *create_access(TQWidget *parent, const char *name) + KDE_EXPORT TDECModule *create_access(TQWidget *parent, const char *name) { return new KAccessConfig(parent, name); } @@ -793,7 +793,7 @@ extern "C" */ KDE_EXPORT void init_access() { - KConfig *config = new KConfig("kaccessrc", true, false); + TDEConfig *config = new TDEConfig("kaccessrc", true, false); bool run = needToRunKAccessDaemon( config ); delete config; |