![]() |
Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · File Structure |
#include <SimbadSearcher.hpp>
Public Types | |
enum | SimbadLookupStatus { SimbadLookupQuerying, SimbadLookupErrorOccured, SimbadLookupFinished } |
Signals | |
void | statusChanged () |
Public Member Functions | |
QMap< QString, Vec3d > | getResults () const |
SimbadLookupStatus | getCurrentStatus () const |
QString | getCurrentStatusString () const |
QString | getErrorString () const |
Instances of this class are generated by the SimbadSearcher class.
Possible status for a simbad query.
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. |
QMap<QString, Vec3d> SimbadLookupReply::getResults | ( | ) | const [inline] |
Get the result list of matching objectName/position.
SimbadLookupStatus SimbadLookupReply::getCurrentStatus | ( | ) | const [inline] |
Get the current status.
QString SimbadLookupReply::getCurrentStatusString | ( | ) | const |
Get a I18n string describing the current status. It can be used e.g for reporting in widgets.
QString SimbadLookupReply::getErrorString | ( | ) | const [inline] |
Get the error descrition string. Return empty string if no error occured.
void SimbadLookupReply::statusChanged | ( | ) | [signal] |
Triggered when the lookup status change.