summaryrefslogtreecommitdiffstats
path: root/libksirtet/common
diff options
context:
space:
mode:
Diffstat (limited to 'libksirtet/common')
-rw-r--r--libksirtet/common/ai.cpp2
-rw-r--r--libksirtet/common/field.cpp6
-rw-r--r--libksirtet/common/inter.cpp20
-rw-r--r--libksirtet/common/main.cpp14
-rw-r--r--libksirtet/common/misc_ui.cpp4
5 files changed, 23 insertions, 23 deletions
diff --git a/libksirtet/common/ai.cpp b/libksirtet/common/ai.cpp
index d201d9fd..35d9d89f 100644
--- a/libksirtet/common/ai.cpp
+++ b/libksirtet/common/ai.cpp
@@ -89,7 +89,7 @@ AI::AI(uint tTime, uint oTime, const Data *DATA)
: timer(this), thinkTime(tTime), orderTime(oTime), stopped(false),
board(0)
{
- connect(&timer, TQT_SIGNAL(timeout()), TQT_SLOT(timeout()));
+ connect(&timer, TQ_SIGNAL(timeout()), TQ_SLOT(timeout()));
for (uint i=0; DATA[i].name; i++) {
Element element;
diff --git a/libksirtet/common/field.cpp b/libksirtet/common/field.cpp
index f1b9cbc9..85b16fd6 100644
--- a/libksirtet/common/field.cpp
+++ b/libksirtet/common/field.cpp
@@ -85,9 +85,9 @@ Field::Field(TQWidget *parent)
vbl->addWidget(showNext, 0);
vbl->addStretch(4);
- connect(board, TQT_SIGNAL(scoreUpdated()), TQT_SLOT(scoreUpdatedSlot()));
- connect(board, TQT_SIGNAL(levelUpdated()), TQT_SLOT(levelUpdated()));
- connect(board, TQT_SIGNAL(removedUpdated()), TQT_SLOT(removedUpdated()));
+ connect(board, TQ_SIGNAL(scoreUpdated()), TQ_SLOT(scoreUpdatedSlot()));
+ connect(board, TQ_SIGNAL(levelUpdated()), TQ_SLOT(levelUpdated()));
+ connect(board, TQ_SIGNAL(removedUpdated()), TQ_SLOT(removedUpdated()));
initVariableGUI();
}
diff --git a/libksirtet/common/inter.cpp b/libksirtet/common/inter.cpp
index cc9a86ed..99c61e56 100644
--- a/libksirtet/common/inter.cpp
+++ b/libksirtet/common/inter.cpp
@@ -12,17 +12,17 @@
const ActionData Interface::ACTION_DATA[Nb_Actions] = {
- { I18N_NOOP("Move Left"), "move left", TQT_SLOT(moveLeft()), 0 },
- { I18N_NOOP("Move Right"), "move right", TQT_SLOT(moveRight()), 0 },
- { I18N_NOOP("Drop Down"), "drop down", TQT_SLOT(dropDownStart()),
- TQT_SLOT(dropDownStop()) },
- { I18N_NOOP("One Line Down"), "one line down", TQT_SLOT(oneLineDown()), 0 },
- { I18N_NOOP("Rotate Left"), "rotate left", TQT_SLOT(rotateLeft()), 0 },
- { I18N_NOOP("Rotate Right"), "rotate right", TQT_SLOT(rotateRight()), 0 },
+ { I18N_NOOP("Move Left"), "move left", TQ_SLOT(moveLeft()), 0 },
+ { I18N_NOOP("Move Right"), "move right", TQ_SLOT(moveRight()), 0 },
+ { I18N_NOOP("Drop Down"), "drop down", TQ_SLOT(dropDownStart()),
+ TQ_SLOT(dropDownStop()) },
+ { I18N_NOOP("One Line Down"), "one line down", TQ_SLOT(oneLineDown()), 0 },
+ { I18N_NOOP("Rotate Left"), "rotate left", TQ_SLOT(rotateLeft()), 0 },
+ { I18N_NOOP("Rotate Right"), "rotate right", TQ_SLOT(rotateRight()), 0 },
{ I18N_NOOP("Move to Left Column"), "move left total",
- TQT_SLOT(moveLeftTotal()), 0 },
+ TQ_SLOT(moveLeftTotal()), 0 },
{ I18N_NOOP("Move to Right Column"), "move right total",
- TQT_SLOT(moveRightTotal()), 0 }
+ TQ_SLOT(moveRightTotal()), 0 }
};
const int Interface::KEYCODE_ONE[Nb_Actions] = {
@@ -45,7 +45,7 @@ MPBoard *Interface::newBoard(uint i)
{
Field *f = static_cast<Field *>(cfactory->createField(this));
f->settingsChanged();
- connect(this, TQT_SIGNAL(settingsChanged()), f, TQT_SLOT(settingsChanged()));
+ connect(this, TQ_SIGNAL(settingsChanged()), f, TQ_SLOT(settingsChanged()));
if ( i==0 ) _firstField = f;
return f;
}
diff --git a/libksirtet/common/main.cpp b/libksirtet/common/main.cpp
index 3553e9c1..0d0a75cb 100644
--- a/libksirtet/common/main.cpp
+++ b/libksirtet/common/main.cpp
@@ -25,22 +25,22 @@ void MainWindow::init()
// Modes
bool ama = ( bfactory->bbi.nbArcadeStages!=0 );
TQString s = (ama ? i18n("&Single Human (Normal)") : i18n("&Single Human"));
- (void)new TDEAction(s, 0, inter, TQT_SLOT(normalGame()),
+ (void)new TDEAction(s, 0, inter, TQ_SLOT(normalGame()),
actionCollection(), "mp_single_human");
if (ama) (void)new TDEAction(i18n("&Single Human (Arcade)"), 0,
- inter, TQT_SLOT(arcadeGame()),
+ inter, TQ_SLOT(arcadeGame()),
actionCollection(), "mp_arcade");
- (void)new TDEAction(i18n("Human vs &Human"), 0, inter, TQT_SLOT(humanVsHuman()),
+ (void)new TDEAction(i18n("Human vs &Human"), 0, inter, TQ_SLOT(humanVsHuman()),
actionCollection(), "mp_human_vs_human");
(void)new TDEAction(i18n("Human vs &Computer"), 0,
- inter, TQT_SLOT(humanVsComputer()),
+ inter, TQ_SLOT(humanVsComputer()),
actionCollection(), "mp_human_vs_computer");
- (void)new TDEAction(i18n("&More..."), 0, inter, TQT_SLOT(dialog()),
+ (void)new TDEAction(i18n("&More..."), 0, inter, TQ_SLOT(dialog()),
actionCollection(), "mp_more");
buildGUI(inter);
- connect(this, TQT_SIGNAL(settingsChanged()),
- inter, TQT_SLOT(settingsChangedSlot()));
+ connect(this, TQ_SIGNAL(settingsChanged()),
+ inter, TQ_SLOT(settingsChangedSlot()));
}
void MainWindow::addKeys(KKeyDialog &d)
diff --git a/libksirtet/common/misc_ui.cpp b/libksirtet/common/misc_ui.cpp
index e9adf4cb..f4ba7203 100644
--- a/libksirtet/common/misc_ui.cpp
+++ b/libksirtet/common/misc_ui.cpp
@@ -38,7 +38,7 @@ Shadow::Shadow(BaseBoard *board, TQWidget *parent)
_board(board), _show(false)
{
KZoomMainWindow::addWidget(this);
- connect(board, TQT_SIGNAL(updatePieceConfigSignal()), TQT_SLOT(update()));
+ connect(board, TQ_SIGNAL(updatePieceConfigSignal()), TQ_SLOT(update()));
}
TQSize Shadow::sizeHint() const
@@ -130,7 +130,7 @@ void GiftPool::put(uint n)
if ( n==0 ) return;
if ( nb==0 && !ready )
TQTimer::singleShot(cfactory->cbi.giftPoolTimeout,
- this, TQT_SLOT(timeout()));
+ this, TQ_SLOT(timeout()));
uint e = TQMIN(nb+n, leds.size());
for (uint i=nb; i<e; i++) leds[i]->on();
uint f = TQMIN(nb+n-e, leds.size());