The QPlaceEditorial class represents a publisher's article describing a place. More...
Header: | #include <QPlaceEditorial> |
qmake: | QT += location |
Since: | Qt 5.6 |
Inherits: | QPlaceContent |
QPlaceEditorial(const QPlaceContent &other) | |
QPlaceEditorial() | |
virtual | ~QPlaceEditorial() |
QString | language() const |
void | setLanguage(const QString &language) |
void | setText(const QString &text) |
void | setTitle(const QString &title) |
QString | text() const |
QString | title() const |
Each QPlaceEditorial has a title, text and language; in addition to those properties inherited from QPlaceContent.
Note: The Places API only supports editorials as 'retrieve-only' objects. Submitting editorials to a provider is not a supported use case.
See also QPlaceContent.
Constructs a copy of other if possible, otherwise constructs a default editorial object.
Constructs a new editorial object.
[virtual]
QPlaceEditorial::~QPlaceEditorial()Destructor.
Returns the language of the editorial. Typically this would be a language code in the 2 letter ISO 639-1 format.
See also setLanguage().
Sets the language of the editorial. Typically this would be a language code in the 2 letter ISO 639-1 format.
See also language().
Sets the text of the editorial.
See also text().
Sets the title of the editorial.
See also title().
Returns a textual description of the place.
Depending upon the provider, the editorial text could be either rich(HTML based) text or plain text.
See also setText().
Returns the title of the editorial.
See also setTitle().
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: