summaryrefslogtreecommitdiffstats
path: root/katomic
diff options
context:
space:
mode:
Diffstat (limited to 'katomic')
-rw-r--r--katomic/gamewidget.cpp6
-rw-r--r--katomic/main.cpp2
-rw-r--r--katomic/toplevel.cpp4
3 files changed, 6 insertions, 6 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)
diff --git a/katomic/main.cpp b/katomic/main.cpp
index 2b4d9fd9..d359617e 100644
--- a/katomic/main.cpp
+++ b/katomic/main.cpp
@@ -54,7 +54,7 @@ int main(int argc, char **argv)
TQApplication::setColorSpec(TQApplication::ManyColor);
TDEApplication a;
- KGlobal::locale()->insertCatalogue("libtdegames");
+ TDEGlobal::locale()->insertCatalogue("libtdegames");
if ( a.isRestored() )
RESTORE(AtomTopLevel)
diff --git a/katomic/toplevel.cpp b/katomic/toplevel.cpp
index e2d9e745..56244c3a 100644
--- a/katomic/toplevel.cpp
+++ b/katomic/toplevel.cpp
@@ -70,12 +70,12 @@ void AtomTopLevel::configopts()
void AtomTopLevel::initConfig()
{
- config = KGlobal::config();
+ config = TDEGlobal::config();
}
void AtomTopLevel::saveConfig()
{
- config = KGlobal::config();
+ config = TDEGlobal::config();
if (settings.changed) {
config->setGroup("Options");