summaryrefslogtreecommitdiffstats
path: root/kshisen
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-24 13:45:16 -0600
committerTimothy Pearson <[email protected]>2013-01-24 13:45:16 -0600
commitf3141fbf4b9ff6dd0f37e08aa552ab71e8f391c7 (patch)
treeb312fd7d5b7a34b88941b2fc50661431637b78b4 /kshisen
parent23a5c62758c4898e3afc1b8bb4c3ae78f4b526ac (diff)
downloadtdegames-f3141fbf4b9ff6dd0f37e08aa552ab71e8f391c7.tar.gz
tdegames-f3141fbf4b9ff6dd0f37e08aa552ab71e8f391c7.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'kshisen')
-rw-r--r--kshisen/board.cpp4
-rw-r--r--kshisen/main.cpp2
-rw-r--r--kshisen/tileset.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/kshisen/board.cpp b/kshisen/board.cpp
index ae2fd750..475b3672 100644
--- a/kshisen/board.cpp
+++ b/kshisen/board.cpp
@@ -74,7 +74,7 @@ Board::Board(TQWidget *parent, const char *name) :
_redo.setAutoDelete(true);
_undo.setAutoDelete(true);
- TQPixmap bg(KGlobal::dirs()->findResource("appdata", "kshisen_bgnd.png"));
+ TQPixmap bg(TDEGlobal::dirs()->findResource("appdata", "kshisen_bgnd.png"));
setBackgroundPixmap(bg);
loadSettings();
@@ -458,7 +458,7 @@ void Board::paintEvent(TQPaintEvent *e)
if(paused)
{
- p.setFont(KGlobalSettings::largeFont());
+ p.setFont(TDEGlobalSettings::largeFont());
p.drawText(rect(), TQt::AlignCenter, i18n("Game Paused"));
}
else
diff --git a/kshisen/main.cpp b/kshisen/main.cpp
index 00bff799..db5d96d8 100644
--- a/kshisen/main.cpp
+++ b/kshisen/main.cpp
@@ -63,7 +63,7 @@ int main(int argc, char **argv)
TDECmdLineArgs::init( argc, argv, &aboutData );
TDEApplication a;
- KGlobal::locale()->insertCatalogue("libtdegames");
+ TDEGlobal::locale()->insertCatalogue("libtdegames");
App *app = new App();
app->show();
diff --git a/kshisen/tileset.cpp b/kshisen/tileset.cpp
index 4ca6319d..fdaf184f 100644
--- a/kshisen/tileset.cpp
+++ b/kshisen/tileset.cpp
@@ -36,7 +36,7 @@
TileSet::TileSet() : scaledTiles(nTiles)
{
//loadTiles
- TQImage tileset(KGlobal::dirs()->findResource("appdata", "tileset.png"));
+ TQImage tileset(TDEGlobal::dirs()->findResource("appdata", "tileset.png"));
if(tileset.isNull())
{
KMessageBox::sorry(0, i18n("Cannot load tiles pixmap!"));