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