summaryrefslogtreecommitdiffstats
path: root/blinken
diff options
context:
space:
mode:
Diffstat (limited to 'blinken')
-rw-r--r--blinken/src/blinken.cpp4
-rw-r--r--blinken/src/blinkengame.cpp2
-rw-r--r--blinken/src/button.cpp4
-rw-r--r--blinken/src/highscoredialog.cpp4
4 files changed, 7 insertions, 7 deletions
diff --git a/blinken/src/blinken.cpp b/blinken/src/blinken.cpp
index 969efc20..1e720613 100644
--- a/blinken/src/blinken.cpp
+++ b/blinken/src/blinken.cpp
@@ -71,7 +71,7 @@ blinken::blinken() : TQWidget(0, 0, WStaticContents | WNoAutoErase), m_overHighs
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;
@@ -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();
diff --git a/blinken/src/blinkengame.cpp b/blinken/src/blinkengame.cpp
index 7c1304d0..6a5f51ae 100644
--- a/blinken/src/blinkengame.cpp
+++ b/blinken/src/blinkengame.cpp
@@ -156,7 +156,7 @@ blinkenGame::color blinkenGame::generateColor()
// make the compiler happy :-D
color c = none;
- r = 1 + (int)(4.0 * kapp -> random() / (RAND_MAX + 1.0));
+ r = 1 + (int)(4.0 * tdeApp -> random() / (RAND_MAX + 1.0));
switch(r)
{
case 1:
diff --git a/blinken/src/button.cpp b/blinken/src/button.cpp
index 584feeb3..a8fadf3d 100644
--- a/blinken/src/button.cpp
+++ b/blinken/src/button.cpp
@@ -17,7 +17,7 @@
button::button(blinkenGame::color c) : m_selected(false), m_color(c)
{
- TDEConfig *kc = kapp->config();
+ TDEConfig *kc = tdeApp->config();
kc->setGroup("General");
TQString cs = getColorString();
TQString pixmap = TQString("images/%1h.png").arg(cs);
@@ -58,7 +58,7 @@ void button::setShortcut(int key)
m_key = key;
m_selected = false;
- TDEConfig *kc = kapp->config();
+ TDEConfig *kc = tdeApp->config();
kc->setGroup("General");
kc->writeEntry(getColorString(), key);
kc->sync();
diff --git a/blinken/src/highscoredialog.cpp b/blinken/src/highscoredialog.cpp
index 8996a3de..f3a54835 100644
--- a/blinken/src/highscoredialog.cpp
+++ b/blinken/src/highscoredialog.cpp
@@ -130,7 +130,7 @@ highScoreDialog::highScoreDialog(TQWidget *parent) : KDialogBase(parent, 0, true
m_tw = new myTabWidget(this);
setMainWidget(m_tw);
- TDEConfig *cfg = kapp -> config();
+ TDEConfig *cfg = tdeApp -> config();
for (int i = 1; i <= 3; i++)
{
cfg -> setGroup(TQString("Level%1").arg(i));
@@ -169,7 +169,7 @@ void highScoreDialog::addScore(int level, int score, const TQString &name)
m_scores[level].insert(it, qMakePair(score, name));
m_scores[level].remove(--m_scores[level].end());
- TDEConfig *cfg = kapp -> config();
+ TDEConfig *cfg = tdeApp -> config();
cfg -> setGroup(TQString("Level%1").arg(level + 1));
int j;
for (it = m_scores[level].begin(), j = 1; it != m_scores[level].end(); ++it, j++)