summaryrefslogtreecommitdiffstats
path: root/kstars/kstars/tools/modcalcjd.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:58:43 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:58:43 -0600
commit2d7b541a4e0095d40e37aaefbf9c4a9b9d149302 (patch)
tree628c1676b27475e583cfd0c2105bb41b646654bf /kstars/kstars/tools/modcalcjd.cpp
parent6c3f7a55fb7888efc80a7350ef0c2f46ee02baa3 (diff)
downloadtdeedu-2d7b541a4e0095d40e37aaefbf9c4a9b9d149302.tar.gz
tdeedu-2d7b541a4e0095d40e37aaefbf9c4a9b9d149302.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 6c3f7a55fb7888efc80a7350ef0c2f46ee02baa3.
Diffstat (limited to 'kstars/kstars/tools/modcalcjd.cpp')
-rw-r--r--kstars/kstars/tools/modcalcjd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kstars/kstars/tools/modcalcjd.cpp b/kstars/kstars/tools/modcalcjd.cpp
index 8b87b998..7fb71c4c 100644
--- a/kstars/kstars/tools/modcalcjd.cpp
+++ b/kstars/kstars/tools/modcalcjd.cpp
@@ -95,7 +95,7 @@ void modCalcJD::slotClearTime (void)
{
JdName->setText ("");
MjdName->setText ("");
- datBox->setDate( ExtDate::currentDate() );
+ datBox->setDate( ExtDate::tqcurrentDate() );
timBox->setTime(TQTime(0,0,0));
}
@@ -103,7 +103,7 @@ void modCalcJD::showCurrentTime (void)
{
KStars *ks = (KStars*) parent()->parent()->parent();
- KStarsDateTime dt = ks->data()->geo()->LTtoUT( KStarsDateTime::currentDateTime() );
+ KStarsDateTime dt = ks->data()->geo()->LTtoUT( KStarsDateTime::tqcurrentDateTime() );
datBox->setDate( dt.date() );
timBox->setTime( dt.time() );
computeFromCalendar();