summaryrefslogtreecommitdiffstats
path: root/kscreensaver
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:43:14 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:43:14 -0600
commit79b21d47bce1ee428affc97534cd8b257232a871 (patch)
tree0df1fa0109d9f2bcef932eda8b5c25b2e06669ed /kscreensaver
parent9a898d493f493adbc404f7223043c85f3817472b (diff)
downloadtdebase-79b21d47bce1ee428affc97534cd8b257232a871.tar.gz
tdebase-79b21d47bce1ee428affc97534cd8b257232a871.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'kscreensaver')
-rw-r--r--kscreensaver/blankscrn.cpp6
-rw-r--r--kscreensaver/random.cpp10
2 files changed, 8 insertions, 8 deletions
diff --git a/kscreensaver/blankscrn.cpp b/kscreensaver/blankscrn.cpp
index 1f57726b2..10d4c18d4 100644
--- a/kscreensaver/blankscrn.cpp
+++ b/kscreensaver/blankscrn.cpp
@@ -75,7 +75,7 @@ KBlankSetup::KBlankSetup( TQWidget *parent, const char *name )
// read settings from config file
void KBlankSetup::readSettings()
{
- KConfig *config = KGlobal::config();
+ KConfig *config = TDEGlobal::config();
config->setGroup( "Settings" );
color = config->readColorEntry( "Color", &black );
@@ -90,7 +90,7 @@ void KBlankSetup::slotColor( const TQColor &col )
// Ok pressed - save settings and exit
void KBlankSetup::slotOk()
{
- KConfig *config = KGlobal::config();
+ KConfig *config = TDEGlobal::config();
config->setGroup( "Settings" );
config->writeEntry( "Color", color );
config->sync();
@@ -121,7 +121,7 @@ void KBlankSaver::setColor( const TQColor &col )
// read configuration settings from config file
void KBlankSaver::readSettings()
{
- KConfig *config = KGlobal::config();
+ KConfig *config = TDEGlobal::config();
config->setGroup( "Settings" );
color = config->readColorEntry( "Color", &black );
diff --git a/kscreensaver/random.cpp b/kscreensaver/random.cpp
index dd8390226..3f9e69479 100644
--- a/kscreensaver/random.cpp
+++ b/kscreensaver/random.cpp
@@ -128,13 +128,13 @@ int main(int argc, char *argv[])
windowId = RootWindow(tqt_xdisplay(), tqt_xscreen());
}
- KGlobal::dirs()->addResourceType("scrsav",
- KGlobal::dirs()->kde_default("apps") +
+ TDEGlobal::dirs()->addResourceType("scrsav",
+ TDEGlobal::dirs()->kde_default("apps") +
"apps/ScreenSavers/");
- KGlobal::dirs()->addResourceType("scrsav",
- KGlobal::dirs()->kde_default("apps") +
+ TDEGlobal::dirs()->addResourceType("scrsav",
+ TDEGlobal::dirs()->kde_default("apps") +
"System/ScreenSavers/");
- TQStringList tempSaverFileList = KGlobal::dirs()->findAllResources("scrsav",
+ TQStringList tempSaverFileList = TDEGlobal::dirs()->findAllResources("scrsav",
"*.desktop", false, true);
TQStringList saverFileList;