diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-24 13:45:16 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-24 13:45:16 -0600 |
commit | f3141fbf4b9ff6dd0f37e08aa552ab71e8f391c7 (patch) | |
tree | b312fd7d5b7a34b88941b2fc50661431637b78b4 /ksnake | |
parent | 23a5c62758c4898e3afc1b8bb4c3ae78f4b526ac (diff) | |
download | tdegames-f3141fbf4b9ff6dd0f37e08aa552ab71e8f391c7.tar.gz tdegames-f3141fbf4b9ff6dd0f37e08aa552ab71e8f391c7.zip |
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'ksnake')
-rw-r--r-- | ksnake/levels.cpp | 2 | ||||
-rw-r--r-- | ksnake/main.cpp | 2 | ||||
-rw-r--r-- | ksnake/pixServer.cpp | 2 | ||||
-rw-r--r-- | ksnake/rattler.cpp | 2 |
4 files changed, 4 insertions, 4 deletions
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() |