diff options
Diffstat (limited to 'kgoldrunner/src/kgrdialog.cpp')
-rw-r--r-- | kgoldrunner/src/kgrdialog.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kgoldrunner/src/kgrdialog.cpp b/kgoldrunner/src/kgrdialog.cpp index 9a5ecb44..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,14 +537,14 @@ 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); mle-> setMinimumSize ((FIELDWIDTH*c/2), (FIELDHEIGHT/2)*c); // Configure the text box. - mle-> tqsetAlignment (AlignLeft); + mle-> setAlignment (AlignLeft); #ifndef QT3 mle-> setWordWrap (TQMultiLineEdit::WidgetWidth); mle-> setFixedVisibleLines (9); @@ -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"); } @@ -694,7 +694,7 @@ KGrECDialog::KGrECDialog (int action, int collnIndex, } // Configure the edit box. - mle-> tqsetAlignment (AlignLeft); + mle-> setAlignment (AlignLeft); #ifndef QT3 mle-> setWordWrap (TQMultiLineEdit::WidgetWidth); mle-> setFixedVisibleLines (8); @@ -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); @@ -950,7 +950,7 @@ void KGrMessage::wrapped (TQWidget * parent, TQString title, TQString contents) OK-> setMaximumWidth (3*c); mle-> setFrameStyle (TQFrame::NoFrame); - mle-> tqsetAlignment (AlignLeft); + mle-> setAlignment (AlignLeft); mle-> setReadOnly (TRUE); mle-> setText (contents); |