Provides services related to the view (landscape, sky culture, projection).
More...
#include <ViewService.hpp>
|
virtual void | getImpl (const QByteArray &operation, const APIParameters ¶meters, APIServiceResponse &response) Q_DECL_OVERRIDE |
| Implements the HTTP GET operations. 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 services related to the view (landscape, sky culture, projection).
- See also
- ViewService operations (/api/view/)
Definition at line 33 of file ViewService.hpp.
The documentation for this class was generated from the following file: