From 2178da111f72dc574457d5242d120b4d10ea5edd Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 24 Jan 2013 13:50:05 -0600 Subject: Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4 --- ktux/sprite.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'ktux') diff --git a/ktux/sprite.cpp b/ktux/sprite.cpp index 70ad751..0fb80e4 100644 --- a/ktux/sprite.cpp +++ b/ktux/sprite.cpp @@ -46,7 +46,7 @@ extern "C" KSpriteSetup::KSpriteSetup( TQWidget *parent, const char *name ) : TQDialog( parent, name, TRUE ) { - KGlobal::locale()->insertCatalogue("ktux"); + TDEGlobal::locale()->insertCatalogue("ktux"); saver = 0; readSettings(); @@ -99,7 +99,7 @@ KSpriteSetup::~KSpriteSetup() // read settings from config file void KSpriteSetup::readSettings() { - KConfig *config = KGlobal::config(); + KConfig *config = TDEGlobal::config(); config->setGroup( "Settings" ); speed = config->readNumEntry( "Speed", 50 ); @@ -119,7 +119,7 @@ void KSpriteSetup::slotSpeed(int s) // Ok pressed - save settings and exit void KSpriteSetup::slotOkPressed() { - KConfig *config = KGlobal::config(); + KConfig *config = TDEGlobal::config(); config->setGroup("Settings"); config->writeEntry("Speed", speed); config->sync(); @@ -138,7 +138,7 @@ void KSpriteSetup::slotAbout() KSpriteSaver::KSpriteSaver( WId id ) : KScreenSaver( id ) { - KGlobal::dirs()->addResourceType("sprite", KStandardDirs::kde_default("data") + "ktux/sprites/"); + TDEGlobal::dirs()->addResourceType("sprite", KStandardDirs::kde_default("data") + "ktux/sprites/"); initialise(); readSettings(); @@ -171,12 +171,12 @@ void KSpriteSaver::readSettings() { TQString str; - KConfig *config = KGlobal::config(); + KConfig *config = TDEGlobal::config(); config->setGroup("Settings"); mSpeed = config->readNumEntry("Speed", 50); - TQString path = KGlobal::dirs()->findResourceDir( "sprite", "bg.png" ); + TQString path = TDEGlobal::dirs()->findResourceDir( "sprite", "bg.png" ); SpritePixmapManager::manager()->setPixmapDir(path); -- cgit v1.2.1