diff options
Diffstat (limited to 'src/location/places/qplacedescription.h')
-rw-r--r-- | src/location/places/qplacedescription.h | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/src/location/places/qplacedescription.h b/src/location/places/qplacedescription.h new file mode 100644 index 00000000..557c763b --- /dev/null +++ b/src/location/places/qplacedescription.h @@ -0,0 +1,47 @@ +#ifndef QPLACEDESCRIPTION_H +#define QPLACEDESCRIPTION_H + +#include <QSharedDataPointer> +#include <QStringList> +#include "qplaceglobal.h" +#include "qplacesupplier.h" + +namespace QT_PLACES_NAMESPACE { + +class QPlaceDescriptionPrivate; + +class Q_PLACES_EXPORT QPlaceDescription +{ +public: + QPlaceDescription(); + QPlaceDescription(const QPlaceDescription &other); + + virtual ~QPlaceDescription(); + + QPlaceDescription &operator=(const QPlaceDescription &other); + + bool operator==(const QPlaceDescription &other) const; + bool operator!=(const QPlaceDescription &other) const { + return !(other == *this); + } + + QString content() const; + void setContent(const QString &data); + QString contentTitle() const; + void setContentTitle(const QString &data); + QString contentType() const; + void setContentType(const QString &data); + QPlaceSupplier supplier() const; + void setSupplier(const QPlaceSupplier &data); + QString sourceURL() const; + void setSourceURL(const QString &data); + QString language() const; + void setLanguage(const QString &data); + +private: + QSharedDataPointer<QPlaceDescriptionPrivate> d; +}; + +} // QT_PLACES_NAMESPACE + +#endif // QPLACEDESCRIPTION_H |