summaryrefslogtreecommitdiffstats
path: root/kstars/kstars/kstarsdatetime.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kstars/kstars/kstarsdatetime.cpp')
-rw-r--r--kstars/kstars/kstarsdatetime.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kstars/kstars/kstarsdatetime.cpp b/kstars/kstars/kstarsdatetime.cpp
index 6b406f44..b99a6173 100644
--- a/kstars/kstars/kstarsdatetime.cpp
+++ b/kstars/kstars/kstarsdatetime.cpp
@@ -55,10 +55,10 @@ KStarsDateTime::KStarsDateTime( long double _jd ) : ExtDateTime() {
setDJD( _jd );
}
-KStarsDateTime KStarsDateTime::currentDateTime() {
- KStarsDateTime dt( ExtDate::currentDate(), TQTime::currentTime() );
+KStarsDateTime KStarsDateTime::tqcurrentDateTime() {
+ KStarsDateTime dt( ExtDate::tqcurrentDate(), TQTime::currentTime() );
if ( dt.time().hour()==0 && dt.time().minute()==0 ) // midnight or right after?
- dt.setDate( ExtDate::currentDate() ); // fetch date again
+ dt.setDate( ExtDate::tqcurrentDate() ); // fetch date again
return dt;
}
@@ -116,7 +116,7 @@ dms KStarsDateTime::GSTat0hUT() const {
double t1 = 6.697374558 + 2400.051336*t + 0.000025862*t*t +
0.000000002*t*t*t;
- // To obtain the apparent sidereal time, we have to correct the
+ // To obtain the aptqparent sidereal time, we have to correct the
// mean greenwich sidereal time with nutation in longitude multiplied
// by the cosine of the obliquity of the ecliptic. This correction
// is called nutation in right ascention, and may amount to 0.3 secs.