Stellarium
1.2
|
#include <SimbadSearcher.hpp>
Public Types | |
enum | SimbadLookupStatus { SimbadLookupQuerying, SimbadLookupErrorOccured, SimbadLookupFinished, SimbadCoordinateLookupFinished } |
Possible status for a Simbad query. More... | |
Signals | |
void | statusChanged () |
Triggered when the lookup status change. | |
Public Member Functions | |
QMap< QString, Vec3d > | getResults () const |
Get the result list of matching objectName/position. | |
QString | getResult () const |
Get the raw result string from position-based search. | |
SimbadLookupStatus | getCurrentStatus () const |
Get the current status. | |
QString | getCurrentStatusString () const |
Get a I18n string describing the current status. It can be used e.g for reporting in widgets. | |
QString | getErrorString () const |
Get the error description string. Return empty string if no error occurred. | |
void | deleteNetworkReply () |
Explicitly delete the internal QNetworkReply. Must not be called from a QNetworkReply signal. | |
Friends | |
class | SimbadSearcher |
Contains all the information about a current simbad lookup query. Instances of this class are generated by the SimbadSearcher class.
Enumerator | |
---|---|
SimbadLookupQuerying | Simbad is still being queried. |
SimbadLookupErrorOccured | An error occurred while looking up Simbad. Call getErrorString() for a description of the error. |
SimbadLookupFinished | The query is over. The reply can be deleted. |
SimbadCoordinateLookupFinished | A coordinate lookup is finished. The reply can be deleted. |