From 0e2b76239f354a9eead0b4e37d86d390ec57ffa9 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 18 Dec 2011 18:31:10 -0600 Subject: Rename old tq methods that no longer need a unique name --- katomic/feld.cpp | 10 +++++----- katomic/feld.h | 2 +- katomic/gamewidget.cpp | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) (limited to 'katomic') 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); -- cgit v1.2.1