summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--asciiquarium/src/aasaver.cpp10
-rw-r--r--asciiquarium/src/aasaver.h8
-rw-r--r--asciiquarium/src/asciiquarium.desktop4
-rw-r--r--asciiquarium/src/frame.cpp4
-rw-r--r--asciiquarium/src/screen.cpp4
5 files changed, 15 insertions, 15 deletions
diff --git a/asciiquarium/src/aasaver.cpp b/asciiquarium/src/aasaver.cpp
index 984ca0ea..0fba1340 100644
--- a/asciiquarium/src/aasaver.cpp
+++ b/asciiquarium/src/aasaver.cpp
@@ -36,8 +36,8 @@
// by Dirk Staneker 1997
#include <kdebug.h>
-#include <klocale.h>
-#include <kconfigdialog.h>
+#include <tdelocale.h>
+#include <tdeconfigdialog.h>
#include <ntqdesktopwidget.h>
#include <ntqpainter.h>
@@ -1239,14 +1239,14 @@ extern "C"
KDE_EXPORT TQDialog *kss_setup()
{
- KConfigDialog *dialog = KConfigDialog::exists("settings");
+ TDEConfigDialog *dialog = TDEConfigDialog::exists("settings");
if(dialog)
return dialog;
- dialog = new KConfigDialog(0, "settings", AASaverConfig::self());
+ dialog = new TDEConfigDialog(0, "settings", AASaverConfig::self());
SettingsWidget *settings = new SettingsWidget(0, "settings_widget");
- dialog->addPage(settings, i18n("Asciiquarium Settings"), "kscreensaver");
+ dialog->addPage(settings, i18n("Asciiquarium Settings"), "tdescreensaver");
return dialog;
}
diff --git a/asciiquarium/src/aasaver.h b/asciiquarium/src/aasaver.h
index 725378c4..94a95b36 100644
--- a/asciiquarium/src/aasaver.h
+++ b/asciiquarium/src/aasaver.h
@@ -28,8 +28,8 @@
#ifndef AA_AASAVER_H
#define AA_AASAVER_H
-#include <kscreensaver.h>
-#include <kapplication.h>
+#include <tdescreensaver.h>
+#include <tdeapplication.h>
#include <stdlib.h>
@@ -83,13 +83,13 @@ public:
/// Returns a random double between [0.0, limit).
static double doubleRand(double limit)
{
- return (limit * (static_cast<double>(KApplication::random()) / RAND_MAX));
+ return (limit * (static_cast<double>(TDEApplication::random()) / RAND_MAX));
}
/// Returns a random integer between [0, limit)
static int intRand(int limit)
{
- return KApplication::random() % limit;
+ return TDEApplication::random() % limit;
}
/**
diff --git a/asciiquarium/src/asciiquarium.desktop b/asciiquarium/src/asciiquarium.desktop
index e73d64d3..1bdbc754 100644
--- a/asciiquarium/src/asciiquarium.desktop
+++ b/asciiquarium/src/asciiquarium.desktop
@@ -1,11 +1,11 @@
[Desktop Entry]
Encoding=UTF-8
Exec=asciiquarium.kss
-Icon=kscreensaver
+Icon=tdescreensaver
Type=Application
Actions=InWindow;Root;Setup
Name=Asciiquarium
-X-KDE-Category=Miscellaneous
+X-TDE-Category=Miscellaneous
[Desktop Action InWindow]
Exec=asciiquarium.kss -window-id %w
diff --git a/asciiquarium/src/frame.cpp b/asciiquarium/src/frame.cpp
index 9f73e1fe..ef5997f1 100644
--- a/asciiquarium/src/frame.cpp
+++ b/asciiquarium/src/frame.cpp
@@ -25,7 +25,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#include <kglobalsettings.h>
+#include <tdeglobalsettings.h>
#include <kdebug.h>
#include <ntqvaluevector.h>
@@ -55,7 +55,7 @@ void Frame::convertDataToPixmap(const Screen *screen)
p.begin(&pix, true);
p2.begin(&mask, true);
- p.setFont(KGlobalSettings::fixedFont());
+ p.setFont(TDEGlobalSettings::fixedFont());
TQFontMetrics fm(p.font());
int leadHeight = fm.leading() + fm.descent();
diff --git a/asciiquarium/src/screen.cpp b/asciiquarium/src/screen.cpp
index 20f57d13..534e8b07 100644
--- a/asciiquarium/src/screen.cpp
+++ b/asciiquarium/src/screen.cpp
@@ -32,7 +32,7 @@
#include <ntqtimer.h>
#include <ntqwidget.h>
-#include <kglobalsettings.h>
+#include <tdeglobalsettings.h>
#include "screen.h"
#include "sprite.h"
@@ -40,7 +40,7 @@
Screen::Screen(AASaver* widget): m_widget(widget)
{
- TQFontMetrics fm(KGlobalSettings::fixedFont());
+ TQFontMetrics fm(TDEGlobalSettings::fixedFont());
// Compute cell geometries.
m_cellW = fm.maxWidth();