Provides operations to look up objects in the Stellarium catalogs.
More...
#include <ObjectService.hpp>
|
virtual void | getImpl (const QByteArray &operation, const APIParameters ¶meters, APIServiceResponse &response) Q_DECL_OVERRIDE |
| Implements the HTTP GET method. More...
|
|
virtual void | postImpl (const QByteArray &operation, const APIParameters ¶meters, const QByteArray &data, APIServiceResponse &response) |
| Subclasses should implement this to define reactions to HTTP POST requests. More...
|
|
QString | wrapHtml (QString &text, const QString &title) const |
| Because the HTML descriptions in Stellarium are often not compatible with "clean" HTML5 which is used for the main interface, this method can be used to explicitely set the doctype to 4.01 transitional for better results, and include the stylesheet iframestyle.css . More...
|
|
|
static const Qt::ConnectionType | SERVICE_DEFAULT_INVOKETYPE |
| This defines the connection type QMetaObject::invokeMethod has to use inside a service: either Qt::DirectConnection for main thread handling, or Qt::BlockingQueuedConnection for HTTP thread handling. More...
|
|
Provides operations to look up objects in the Stellarium catalogs.
- See also
- ObjectService operations (/api/objects/)
Definition at line 35 of file ObjectService.hpp.
The documentation for this class was generated from the following file: