summaryrefslogtreecommitdiffstats
path: root/kgoldrunner/src/kgrdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kgoldrunner/src/kgrdialog.cpp')
-rw-r--r--kgoldrunner/src/kgrdialog.cpp50
1 files changed, 25 insertions, 25 deletions
diff --git a/kgoldrunner/src/kgrdialog.cpp b/kgoldrunner/src/kgrdialog.cpp
index 789ee953..4e7a8dba 100644
--- a/kgoldrunner/src/kgrdialog.cpp
+++ b/kgoldrunner/src/kgrdialog.cpp
@@ -213,36 +213,36 @@ KGrSLDialog::KGrSLDialog (int action, int requestedLevel, int collnIndex,
slPaintLevel();
thumbNail->show();
- connect (colln, TQT_SIGNAL (highlighted (int)), this, TQT_SLOT (slColln (int)));
- connect (collnA, TQT_SIGNAL (clicked ()), this, TQT_SLOT (slAboutColln ()));
+ connect (colln, TQ_SIGNAL (highlighted (int)), this, TQ_SLOT (slColln (int)));
+ connect (collnA, TQ_SIGNAL (clicked ()), this, TQ_SLOT (slAboutColln ()));
- connect (display, TQT_SIGNAL (textChanged (const TQString &)),
- this, TQT_SLOT (slUpdate (const TQString &)));
+ connect (display, TQ_SIGNAL (textChanged (const TQString &)),
+ this, TQ_SLOT (slUpdate (const TQString &)));
- connect (number, TQT_SIGNAL (valueChanged(int)), this, TQT_SLOT(slShowLevel(int)));
+ connect (number, TQ_SIGNAL (valueChanged(int)), this, TQ_SLOT(slShowLevel(int)));
// Only enable name and hint dialog here if saving a new or edited level.
// At other times the name and hint have not been loaded or initialised yet.
if ((slAction == SL_CREATE) || (slAction == SL_SAVE)) {
- connect (levelNH, TQT_SIGNAL (clicked()), game, TQT_SLOT (editNameAndHint()));
+ connect (levelNH, TQ_SIGNAL (clicked()), game, TQ_SLOT (editNameAndHint()));
}
else {
levelNH->setEnabled (FALSE);
levelNH->hide();
}
- connect (colln, TQT_SIGNAL (highlighted (int)), this, TQT_SLOT (slPaintLevel ()));
- connect (number, TQT_SIGNAL (sliderReleased()), this, TQT_SLOT (slPaintLevel()));
- connect (number, TQT_SIGNAL (nextLine()), this, TQT_SLOT (slPaintLevel()));
- connect (number, TQT_SIGNAL (prevLine()), this, TQT_SLOT (slPaintLevel()));
- connect (number, TQT_SIGNAL (nextPage()), this, TQT_SLOT (slPaintLevel()));
- connect (number, TQT_SIGNAL (prevPage()), this, TQT_SLOT (slPaintLevel()));
+ connect (colln, TQ_SIGNAL (highlighted (int)), this, TQ_SLOT (slPaintLevel ()));
+ connect (number, TQ_SIGNAL (sliderReleased()), this, TQ_SLOT (slPaintLevel()));
+ connect (number, TQ_SIGNAL (nextLine()), this, TQ_SLOT (slPaintLevel()));
+ connect (number, TQ_SIGNAL (prevLine()), this, TQ_SLOT (slPaintLevel()));
+ connect (number, TQ_SIGNAL (nextPage()), this, TQ_SLOT (slPaintLevel()));
+ connect (number, TQ_SIGNAL (prevPage()), this, TQ_SLOT (slPaintLevel()));
#ifdef KGR_PORTABLE
// Set the exits from this dialog box.
- connect (OK, TQT_SIGNAL (clicked ()), this, TQT_SLOT (accept ()));
- connect (CANCEL, TQT_SIGNAL (clicked ()), this, TQT_SLOT (reject ()));
- connect (HELP, TQT_SIGNAL (clicked ()), this, TQT_SLOT (slotHelp ()));
+ connect (OK, TQ_SIGNAL (clicked ()), this, TQ_SLOT (accept ()));
+ connect (CANCEL, TQ_SIGNAL (clicked ()), this, TQ_SLOT (reject ()));
+ connect (HELP, TQ_SIGNAL (clicked ()), this, TQ_SLOT (slotHelp ()));
#endif
}
@@ -557,8 +557,8 @@ KGrNHDialog::KGrNHDialog(const TQString & levelName, const TQString & levelHint,
// OK-> setAccel (Key_Return); // No! We need it in "mle" box.
CANCEL-> setAccel (Key_Escape);
- connect (OK, TQT_SIGNAL (clicked ()), dad, TQT_SLOT (accept ()));
- connect (CANCEL, TQT_SIGNAL (clicked ()), dad, TQT_SLOT (reject ()));
+ connect (OK, TQ_SIGNAL (clicked ()), dad, TQ_SLOT (accept ()));
+ connect (CANCEL, TQ_SIGNAL (clicked ()), dad, TQ_SLOT (reject ()));
#endif
}
@@ -709,8 +709,8 @@ KGrECDialog::KGrECDialog (int action, int collnIndex,
mle-> setText ("");
}
- connect (ecKGrB, TQT_SIGNAL (clicked ()), this, TQT_SLOT (ecSetKGr ()));
- connect (ecTradB, TQT_SIGNAL (clicked ()), this, TQT_SLOT (ecSetTrad ()));
+ connect (ecKGrB, TQ_SIGNAL (clicked ()), this, TQ_SLOT (ecSetKGr ()));
+ connect (ecTradB, TQ_SIGNAL (clicked ()), this, TQ_SLOT (ecSetTrad ()));
#ifdef KGR_PORTABLE
OK-> setGeometry (10, 145 + mle->height(), 100, 25);
@@ -721,8 +721,8 @@ KGrECDialog::KGrECDialog (int action, int collnIndex,
dad-> resize (300, 175 + mle->height());
- connect (OK, TQT_SIGNAL (clicked ()), this, TQT_SLOT (accept()));
- connect (CANCEL, TQT_SIGNAL (clicked ()), this, TQT_SLOT (reject()));
+ connect (OK, TQ_SIGNAL (clicked ()), this, TQ_SLOT (accept()));
+ connect (CANCEL, TQ_SIGNAL (clicked ()), this, TQ_SLOT (reject()));
#endif
}
@@ -842,10 +842,10 @@ KGrLGDialog::KGrLGDialog (TQFile * savedGames,
lgList-> setSelected (0, TRUE);
lgHighlight = 0;
- connect (lgList, TQT_SIGNAL (highlighted (int)), this, TQT_SLOT (lgSelect (int)));
+ connect (lgList, TQ_SIGNAL (highlighted (int)), this, TQ_SLOT (lgSelect (int)));
#ifdef KGR_PORTABLE
- connect (OK, TQT_SIGNAL (clicked ()), this, TQT_SLOT (accept ()));
- connect (CANCEL, TQT_SIGNAL (clicked ()), this, TQT_SLOT (reject ()));
+ connect (OK, TQ_SIGNAL (clicked ()), this, TQ_SLOT (accept ()));
+ connect (CANCEL, TQ_SIGNAL (clicked ()), this, TQ_SLOT (reject ()));
#endif
}
@@ -963,7 +963,7 @@ void KGrMessage::wrapped (TQWidget * parent, TQString title, TQString contents)
#endif
OK-> setAccel (Key_Return);
- connect (OK, TQT_SIGNAL (clicked ()), mm, TQT_SLOT (accept ()));
+ connect (OK, TQ_SIGNAL (clicked ()), mm, TQ_SLOT (accept ()));
mm-> exec ();