summaryrefslogtreecommitdiffstats
path: root/kstars/kstars/tools/modcalcprec.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kstars/kstars/tools/modcalcprec.cpp')
-rw-r--r--kstars/kstars/tools/modcalcprec.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kstars/kstars/tools/modcalcprec.cpp b/kstars/kstars/tools/modcalcprec.cpp
index 10665daa..ddf71e2e 100644
--- a/kstars/kstars/tools/modcalcprec.cpp
+++ b/kstars/kstars/tools/modcalcprec.cpp
@@ -57,7 +57,7 @@ SkyPoint modCalcPrec::getEquCoords (void) {
TQString modCalcPrec:: showCurrentEpoch () {
double epoch = setCurrentEpoch();
- TQString eName = TQString("%1").tqarg(epoch,7,'f',2);
+ TQString eName = TQString("%1").arg(epoch,7,'f',2);
return eName;
}
@@ -176,7 +176,7 @@ void modCalcPrec::slotRunBatch() {
if ( TQFile::exists(inputFileName) ) {
TQFile f( inputFileName );
if ( !f.open( IO_ReadOnly) ) {
- TQString message = i18n( "Could not open file %1.").tqarg( f.name() );
+ TQString message = i18n( "Could not open file %1.").arg( f.name() );
KMessageBox::sorry( 0, message, i18n( "Could Not Open File" ) );
inputFileName = "";
return;
@@ -188,7 +188,7 @@ void modCalcPrec::slotRunBatch() {
// readFile( istream );
f.close();
} else {
- TQString message = i18n( "Invalid file: %1" ).tqarg( inputFileName );
+ TQString message = i18n( "Invalid file: %1" ).arg( inputFileName );
KMessageBox::sorry( 0, message, i18n( "Invalid file" ) );
inputFileName = "";
InputLineEditBatch->setText( inputFileName );