Provides methods to look up location-related information, and change the current location.
More...
#include <LocationService.hpp>
|
virtual void | getImpl (const QByteArray &operation, const APIParameters ¶meters, APIServiceResponse &response) Q_DECL_OVERRIDE |
| Implements the HTTP GET requests. More...
|
|
virtual void | postImpl (const QByteArray &operation, const APIParameters ¶meters, const QByteArray &data, APIServiceResponse &response) Q_DECL_OVERRIDE |
| Implements the 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 methods to look up location-related information, and change the current location.
- See also
- LocationService operations (/api/location/), LocationService
Definition at line 33 of file LocationService.hpp.
virtual void LocationService::postImpl |
( |
const QByteArray & |
operation, |
|
|
const APIParameters & |
parameters, |
|
|
const QByteArray & |
data, |
|
|
APIServiceResponse & |
response |
|
) |
| |
|
protectedvirtual |
The documentation for this class was generated from the following file: