summaryrefslogtreecommitdiff
path: root/src/location/places/qplacesupplier.h
blob: d5a57beae019880e72be1a5d987117930863f098 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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