summaryrefslogtreecommitdiffstats
path: root/kgoldrunner/src/kgrdialog.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:55:35 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:55:35 -0600
commitc0f375feba0103bed2bac1b1f05e76e9ae28fa89 (patch)
tree9c30a9097d650343df41d867f0e008769529eb08 /kgoldrunner/src/kgrdialog.cpp
parent0e2b76239f354a9eead0b4e37d86d390ec57ffa9 (diff)
downloadtdegames-c0f375feba0103bed2bac1b1f05e76e9ae28fa89.tar.gz
tdegames-c0f375feba0103bed2bac1b1f05e76e9ae28fa89.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'kgoldrunner/src/kgrdialog.cpp')
-rw-r--r--kgoldrunner/src/kgrdialog.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kgoldrunner/src/kgrdialog.cpp b/kgoldrunner/src/kgrdialog.cpp
index 862889c7..4a58b235 100644
--- a/kgoldrunner/src/kgrdialog.cpp
+++ b/kgoldrunner/src/kgrdialog.cpp
@@ -132,7 +132,7 @@ KGrSLDialog::KGrSLDialog (int action, int requestedLevel, int collnIndex,
TQPoint p = parent->mapToGlobal (TQPoint (0,0));
- // Base the tqgeometry of the dialog box on the playing area.
+ // Base the geometry of the dialog box on the playing area.
int cell = parent->width() / (FIELDWIDTH + 4);
dad-> move (p.x()+2*cell, p.y()+2*cell);
dad-> setMinimumSize ((FIELDWIDTH*cell/2), (FIELDHEIGHT-1)*cell);
@@ -357,7 +357,7 @@ void KGrSLDialog::slAboutColln ()
{
// User clicked the "About" button ...
int n = slCollnIndex;
- TQString title = i18n("About \"%1\"").tqarg(collections.at(n)->name);
+ TQString title = i18n("About \"%1\"").arg(collections.at(n)->name);
if (collections.at(n)->about.length() > 0) {
// Convert game description to ASCII and UTF-8 codes, then translate it.
@@ -404,7 +404,7 @@ void KGrSLDialog::slPaintLevel ()
TQString filePath = game->getFilePath
(collections.at(n)->owner, collections.at(n), number->value());
thumbNail->setFilePath (filePath, slName);
- thumbNail->tqrepaint(); // Will call "drawContents (p)".
+ thumbNail->repaint(); // Will call "drawContents (p)".
}
void KGrSLDialog::slotHelp ()
@@ -537,7 +537,7 @@ KGrNHDialog::KGrNHDialog(const TQString & levelName, const TQString & levelHint,
dad-> setCaption (i18n("Edit Name & Hint"));
#endif
- // Base the tqgeometry of the text box on the playing area.
+ // Base the geometry of the text box on the playing area.
TQPoint p = parent->mapToGlobal (TQPoint (0,0));
int c = parent->width() / (FIELDWIDTH + 4);
dad-> move (p.x()+4*c, p.y()+4*c);
@@ -642,7 +642,7 @@ KGrECDialog::KGrECDialog (int action, int collnIndex,
TQPoint p = parent->mapToGlobal (TQPoint (0,0));
- // Base the tqgeometry of the dialog box on the playing area.
+ // Base the geometry of the dialog box on the playing area.
int cell = parent->width() / (FIELDWIDTH + 4);
dad-> move (p.x()+2*cell, p.y()+2*cell);
dad-> setMinimumSize ((FIELDWIDTH*cell/2), (FIELDHEIGHT-1)*cell);
@@ -669,7 +669,7 @@ KGrECDialog::KGrECDialog (int action, int collnIndex,
collections.at(defaultGame)->nLevels));
#else
nLevL-> setText (i18n("%1 levels")
- .tqarg(collections.at(defaultGame)->nLevels));
+ .arg(collections.at(defaultGame)->nLevels));
#endif
OKText = i18n("Save Changes");
}
@@ -802,7 +802,7 @@ KGrLGDialog::KGrLGDialog (TQFile * savedGames,
dad-> setCaption (i18n("Select Saved Game"));
- // Base the tqgeometry of the list box on the playing area.
+ // Base the geometry of the list box on the playing area.
TQPoint p = parent->mapToGlobal (TQPoint (0,0));
int c = parent->width() / (FIELDWIDTH + 4);
dad-> move (p.x()+2*c, p.y()+2*c);
@@ -942,7 +942,7 @@ void KGrMessage::wrapped (TQWidget * parent, TQString title, TQString contents)
mm-> setCaption (title);
- // Base the tqgeometry of the text box on the playing area.
+ // Base the geometry of the text box on the playing area.
TQPoint p = parent->mapToGlobal (TQPoint (0,0));
int c = parent->width() / (FIELDWIDTH + 4);
mm-> move (p.x()+4*c, p.y()+4*c);