summaryrefslogtreecommitdiffstats
path: root/kstars/kstars/timebox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kstars/kstars/timebox.cpp')
-rw-r--r--kstars/kstars/timebox.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kstars/kstars/timebox.cpp b/kstars/kstars/timebox.cpp
index 1ceee2d7..b3dabc31 100644
--- a/kstars/kstars/timebox.cpp
+++ b/kstars/kstars/timebox.cpp
@@ -102,8 +102,8 @@ TQTime timeBox::createTime ( bool *ok )
if ( fields.count() == 2 ) {
double mx = fields[1].toDouble( &checkValue );
if ( checkValue ) {
- fields[1] = TQString("%1").arg( int(mx) );
- fields.append( TQString("%1").arg( int( 60.0*(mx - int(mx)) ) ) );
+ fields[1] = TQString("%1").tqarg( int(mx) );
+ fields.append( TQString("%1").tqarg( int( 60.0*(mx - int(mx)) ) ) );
} else {
fields.append( TQString( "0" ) );
}
@@ -141,7 +141,7 @@ TQTime timeBox::createTime ( bool *ok )
}
// if ( !valueFound )
-// KMessageBox::sorry( 0, errMsg.arg( "Angle" ), i18n( "Could Not Set Value" ) );
+// KMessageBox::sorry( 0, errMsg.tqarg( "Angle" ), i18n( "Could Not Set Value" ) );
return qt;
@@ -159,9 +159,9 @@ ExtDate timeBox::createDate (bool */*ok*/)
if ( !date.isValid() ) {
kdDebug() << k_funcinfo << "Invalid date" << endl;
- showDate(ExtDate::currentDate());
+ showDate(ExtDate::tqcurrentDate());
entry = text().stripWhiteSpace();
- return ExtDate::currentDate();
+ return ExtDate::tqcurrentDate();
} else {
return date;
}