summaryrefslogtreecommitdiffstats
path: root/katomic/gamewidget.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:45:16 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:45:16 -0600
commitf3141fbf4b9ff6dd0f37e08aa552ab71e8f391c7 (patch)
treeb312fd7d5b7a34b88941b2fc50661431637b78b4 /katomic/gamewidget.cpp
parent23a5c62758c4898e3afc1b8bb4c3ae78f4b526ac (diff)
downloadtdegames-f3141fbf4b9ff6dd0f37e08aa552ab71e8f391c7.tar.gz
tdegames-f3141fbf4b9ff6dd0f37e08aa552ab71e8f391c7.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'katomic/gamewidget.cpp')
-rw-r--r--katomic/gamewidget.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/katomic/gamewidget.cpp b/katomic/gamewidget.cpp
index 194ff3f6..c3a7e3f8 100644
--- a/katomic/gamewidget.cpp
+++ b/katomic/gamewidget.cpp
@@ -171,7 +171,7 @@ GameWidget::GameWidget ( TQWidget *parent, const char* name )
: TQWidget( parent, name )
{
level = 1;
- nlevels = KGlobal::dirs()->findAllResources("appdata", "levels/level_*",
+ nlevels = TDEGlobal::dirs()->findAllResources("appdata", "levels/level_*",
false, true).count();
TQHBoxLayout *top = new TQHBoxLayout(this, 10);
@@ -210,7 +210,7 @@ GameWidget::GameWidget ( TQWidget *parent, const char* name )
slay->addWidget(new TQLabel(i18n("Highscore:"), bg));
- TQFont headerFont = KGlobalSettings::generalFont();
+ TQFont headerFont = TDEGlobalSettings::generalFont();
headerFont.setBold(true);
hs = new TQLabel (highest, bg);
@@ -229,7 +229,7 @@ GameWidget::GameWidget ( TQWidget *parent, const char* name )
updateLevel(1);
- KConfig *config = KGlobal::config();
+ KConfig *config = TDEGlobal::config();
config->setGroup("Options");
settings.anim_speed = config->readNumEntry("Animation Speed", 1);
if (settings.anim_speed < 1 || settings.anim_speed > MAX_SPEED)