summaryrefslogtreecommitdiffstats
path: root/katomic
diff options
context:
space:
mode:
Diffstat (limited to 'katomic')
-rw-r--r--katomic/feld.cpp10
-rw-r--r--katomic/feld.h2
-rw-r--r--katomic/gamewidget.cpp4
3 files changed, 8 insertions, 8 deletions
diff --git a/katomic/feld.cpp b/katomic/feld.cpp
index dcddf606..b18f78ae 100644
--- a/katomic/feld.cpp
+++ b/katomic/feld.cpp
@@ -124,7 +124,7 @@ void Feld::mousePressEvent (TQMouseEvent *e)
resetValidDirs();
chosen = false;
}
- emittqStatus();
+ emitStatus();
}
const atom& Feld::getAtom(uint index) const
@@ -154,7 +154,7 @@ void Feld::nextAtom()
xpos = x; ypos = y;
chosen = true;
resetValidDirs();
- emittqStatus();
+ emitStatus();
return;
}
}
@@ -187,7 +187,7 @@ void Feld::previousAtom()
xpos = x; ypos = y;
chosen = true;
resetValidDirs();
- emittqStatus();
+ emitStatus();
return;
}
}
@@ -198,7 +198,7 @@ void Feld::previousAtom()
}
-void Feld::emittqStatus()
+void Feld::emitStatus()
{
if (!chosen || moving) {}
else {
@@ -231,7 +231,7 @@ void Feld::done ()
if (moving)
return;
- emittqStatus();
+ emitStatus();
if (checkDone())
emit gameOver(moves);
diff --git a/katomic/feld.h b/katomic/feld.h
index 66b1499d..668dbdf2 100644
--- a/katomic/feld.h
+++ b/katomic/feld.h
@@ -65,7 +65,7 @@ protected:
void paintMovingAtom();
void mousePressEvent (TQMouseEvent *);
void mouseMoveEvent (TQMouseEvent *);
- void emittqStatus();
+ void emitStatus();
protected:
struct UndoInfo {
diff --git a/katomic/gamewidget.cpp b/katomic/gamewidget.cpp
index 064037ef..daeb9438 100644
--- a/katomic/gamewidget.cpp
+++ b/katomic/gamewidget.cpp
@@ -214,7 +214,7 @@ GameWidget::GameWidget ( TQWidget *parent, const char* name )
headerFont.setBold(true);
hs = new TQLabel (highest, bg);
- hs->tqsetAlignment(TQt::AlignRight);
+ hs->setAlignment(TQt::AlignRight);
hs->setFont(headerFont);
slay->addWidget(hs);
@@ -223,7 +223,7 @@ GameWidget::GameWidget ( TQWidget *parent, const char* name )
slay->addWidget(new TQLabel(i18n("Your score so far:"), bg));
ys = new TQLabel (current, bg);
- ys->tqsetAlignment(TQt::AlignRight);
+ ys->setAlignment(TQt::AlignRight);
ys->setFont(headerFont);
slay->addWidget(ys);