diff options
Diffstat (limited to 'katomic/gamewidget.cpp')
-rw-r--r-- | katomic/gamewidget.cpp | 6 |
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) |