[Kstars-devel] branches/kstars/summer/kstars/kstars/tools
Prakash Mohan
prak902000 at gmail.com
Fri Jul 24 14:36:57 CEST 2009
SVN commit 1001889 by prakash:
Adding a function to return the Scheduled time in QTime format. As the other function returns a QString, which is null when there is nothing present in the TimeHash.
CCMAIL: kstars-devel at kde.org
M +2 -0 observinglist.h
--- branches/kstars/summer/kstars/kstars/tools/observinglist.h #1001888:1001889
@@ -153,6 +153,8 @@
QString getTime( SkyObject *o ) { return TimeHash.value( o->name(), QTime( 30,0,0 ) ).toString( "h:mm:ss AP" ); }
+ QTime scheduledTime( SkyObject *o ) { return TimeHash.value( o->name(), o->transitTime( dt, geo ) ); }
+
void setTime( SkyObject *o, QTime t ) { TimeHash.insert( o->name(), t); }
void setGeoDate( QString name, QString province, QString country, QString date );
More information about the Kstars-devel
mailing list