From f3141fbf4b9ff6dd0f37e08aa552ab71e8f391c7 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 24 Jan 2013 13:45:16 -0600 Subject: Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4 --- ksnake/levels.cpp | 2 +- ksnake/main.cpp | 2 +- ksnake/pixServer.cpp | 2 +- ksnake/rattler.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'ksnake') diff --git a/ksnake/levels.cpp b/ksnake/levels.cpp index fe85cb39..21b59fbd 100644 --- a/ksnake/levels.cpp +++ b/ksnake/levels.cpp @@ -35,7 +35,7 @@ Levels *leV = 0; Levels::Levels() { leV = this; - list = KGlobal::dirs()->findAllResources("appdata", "levels/*"); + list = TDEGlobal::dirs()->findAllResources("appdata", "levels/*"); list.prepend( "dummy" ); } diff --git a/ksnake/main.cpp b/ksnake/main.cpp index b70a8a5a..ae4f9098 100644 --- a/ksnake/main.cpp +++ b/ksnake/main.cpp @@ -44,7 +44,7 @@ int main( int argc, char **argv ) TDECmdLineArgs::init( argc, argv, &aboutData ); TDEApplication app; - KGlobal::locale()->insertCatalogue("libtdegames"); + TDEGlobal::locale()->insertCatalogue("libtdegames"); Game *ksnake = new Game(); app.setMainWidget( ksnake ); diff --git a/ksnake/pixServer.cpp b/ksnake/pixServer.cpp index 244ff17d..08bbb0f0 100644 --- a/ksnake/pixServer.cpp +++ b/ksnake/pixServer.cpp @@ -146,7 +146,7 @@ void PixServer::initbackPixmaps() } else if(Settings::bgimage_enabled()) { // A bit of a hack. TQStringList backgroundPixmaps = - KGlobal::dirs()->findAllResources("appdata", "backgrounds/*.png"); + TDEGlobal::dirs()->findAllResources("appdata", "backgrounds/*.png"); path = backgroundPixmaps[(Settings::bgimage())]; } diff --git a/ksnake/rattler.cpp b/ksnake/rattler.cpp index 86ab1528..458c88bf 100644 --- a/ksnake/rattler.cpp +++ b/ksnake/rattler.cpp @@ -79,7 +79,7 @@ Rattler::Rattler( TQWidget *parent, const char *name ) TQTimer::singleShot( 2000, this, TQT_SLOT(demo()) ); // Why wait? backgroundPixmaps = - KGlobal::dirs()->findAllResources("appdata", "backgrounds/*.png"); + TDEGlobal::dirs()->findAllResources("appdata", "backgrounds/*.png"); } Rattler::~Rattler() -- cgit v1.2.1