diff options
author | abcd <qt-info@nokia.com> | 2011-06-02 17:07:29 +1000 |
---|---|---|
committer | abcd <qt-info@nokia.com> | 2011-06-02 17:28:32 +1000 |
commit | 8fab6bcfc3ef9912852e916b852456327fba299f (patch) | |
tree | d652f611c06e9f35ea8aeaa353d1674535747e99 /src/location/places/qplacesupplier.h | |
parent | 1dd8b4805d108931a41eb2d58874a598281ee2c4 (diff) | |
download | qtlocation-8fab6bcfc3ef9912852e916b852456327fba299f.tar.gz |
Initial dump of places
Diffstat (limited to 'src/location/places/qplacesupplier.h')
-rw-r--r-- | src/location/places/qplacesupplier.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/src/location/places/qplacesupplier.h b/src/location/places/qplacesupplier.h new file mode 100644 index 00000000..d5a57bea --- /dev/null +++ b/src/location/places/qplacesupplier.h @@ -0,0 +1,41 @@ +#ifndef QPLACESUPPLIER_H +#define QPLACESUPPLIER_H + +#include <QSharedDataPointer> +#include "qplaceglobal.h" + +namespace QT_PLACES_NAMESPACE { + +class QPlaceSupplierPrivate; + +class Q_PLACES_EXPORT QPlaceSupplier +{ +public: + QPlaceSupplier(); + QPlaceSupplier(const QPlaceSupplier &other); + + virtual ~QPlaceSupplier(); + + QPlaceSupplier &operator=(const QPlaceSupplier &other); + + bool operator==(const QPlaceSupplier &other) const; + bool operator!=(const QPlaceSupplier &other) const { + return !(other == *this); + } + + QString name() const; + void setName(const QString &data); + QString supplierId() const; + void setSupplierId(const QString &data); + QString URL() const; + void setURL(const QString &data); + QString supplierIconURL() const; + void setSupplierIconURL(const QString &data); + +private: + QSharedDataPointer<QPlaceSupplierPrivate> d; +}; + +} // QT_PLACES_NAMESPACE + +#endif // QPLACESUPPLIER_H |