summaryrefslogtreecommitdiffstats
path: root/blinken/src/blinken.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'blinken/src/blinken.cpp')
-rw-r--r--blinken/src/blinken.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/blinken/src/blinken.cpp b/blinken/src/blinken.cpp
index 4322e9b6..3b97c561 100644
--- a/blinken/src/blinken.cpp
+++ b/blinken/src/blinken.cpp
@@ -20,7 +20,7 @@
#include <tdelocale.h>
#include <tdemessagebox.h>
#include <tdepopupmenu.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include "blinken.h"
#include "button.h"
@@ -65,13 +65,13 @@ blinken::blinken() : TQWidget(0, 0, WStaticContents | WNoAutoErase), m_overHighs
show();
m_unhighlighter = new TQTimer(this);
- connect(m_unhighlighter, TQT_SIGNAL(timeout()), this, TQT_SLOT(unhighlight()));
+ connect(m_unhighlighter, TQ_SIGNAL(timeout()), this, TQ_SLOT(unhighlight()));
- connect(&m_game, TQT_SIGNAL(gameEnded()), this, TQT_SLOT(checkHS()));
- connect(&m_game, TQT_SIGNAL(phaseChanged()), this, TQT_SLOT(update()));
- connect(&m_game, TQT_SIGNAL(highlight(blinkenGame::color, bool)), this, TQT_SLOT(highlight(blinkenGame::color, bool)));
+ connect(&m_game, TQ_SIGNAL(gameEnded()), this, TQ_SLOT(checkHS()));
+ connect(&m_game, TQ_SIGNAL(phaseChanged()), this, TQ_SLOT(update()));
+ connect(&m_game, TQ_SIGNAL(highlight(blinkenGame::color, bool)), this, TQ_SLOT(highlight(blinkenGame::color, bool)));
- m_helpMenu = new KHelpMenu(this, kapp->aboutData());
+ m_helpMenu = new KHelpMenu(this, tdeApp->aboutData());
for (int i = 0; i < 3; i++) m_overLevels[i] = false;
@@ -150,7 +150,7 @@ void blinken::paintEvent(TQPaintEvent *)
p.drawLine(169, 250, 469, 250);
// draw the two squares of the options
- p.setPen(TQPen(m_fontColor, 2, Qt::SolidLine, Qt::SquareCap, Qt::MiterJoin));
+ p.setPen(TQPen(m_fontColor, 2, TQt::SolidLine, TQt::SquareCap, TQt::MiterJoin));
m_soundRect = TQRect(181, 209, 25, 25);
m_fontRect = TQRect(432, 209, 25, 25);
@@ -301,7 +301,7 @@ void blinken::mousePressEvent(TQMouseEvent *e)
blinkenSettings::writeConfig();
update();
}
- else if (m_overQuit) kapp->quit();
+ else if (m_overQuit) tdeApp->quit();
else if (m_overAboutBlinken || m_overCentralLetters) m_helpMenu -> aboutApplication();
else if (m_overAboutKDE) m_helpMenu -> aboutKDE();
else if (m_overManual) m_helpMenu -> appHelpActivated();