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.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kstars/kstars/tools/modcalcprec.cpp b/kstars/kstars/tools/modcalcprec.cpp
index ddf71e2e..df2d1424 100644
--- a/kstars/kstars/tools/modcalcprec.cpp
+++ b/kstars/kstars/tools/modcalcprec.cpp
@@ -31,7 +31,7 @@
#include <kfiledialog.h>
#include <kmessagebox.h>
-modCalcPrec::modCalcPrec(TQWidget *parentSplit, const char *name) : modCalcPrecDlg(parentSplit,name) {
+modCalcPrec::modCalcPrec(TQWidget *tqparentSplit, const char *name) : modCalcPrecDlg(tqparentSplit,name) {
ra0Box->setDegType(FALSE);
rafBox->setDegType(FALSE);
@@ -57,13 +57,13 @@ SkyPoint modCalcPrec::getEquCoords (void) {
TQString modCalcPrec:: showCurrentEpoch () {
double epoch = setCurrentEpoch();
- TQString eName = TQString("%1").arg(epoch,7,'f',2);
+ TQString eName = TQString("%1").tqarg(epoch,7,'f',2);
return eName;
}
double modCalcPrec::setCurrentEpoch () {
- return KStarsDateTime::currentDateTime().epoch();
+ return KStarsDateTime::tqcurrentDateTime().epoch();
}
double modCalcPrec::getEpoch (TQString 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.").arg( f.name() );
+ TQString message = i18n( "Could not open file %1.").tqarg( 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" ).arg( inputFileName );
+ TQString message = i18n( "Invalid file: %1" ).tqarg( inputFileName );
KMessageBox::sorry( 0, message, i18n( "Invalid file" ) );
inputFileName = "";
InputLineEditBatch->setText( inputFileName );