summaryrefslogtreecommitdiff
path: root/src/location/places/qplacereviewreply.h
blob: eed226d185bf3c43f612fcc6b67f12488699afe8 (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
#ifndef QPLACEREVIEWREPLY_H
#define QPLACEREVIEWREPLY_H

#include "qplacereply.h"
#include "qplacereview.h"

#include <QStringList>

QTM_BEGIN_NAMESPACE

class QPlaceReviewReplyPrivate;
class Q_LOCATION_EXPORT QPlaceReviewReply : public QPlaceReply
{
    Q_OBJECT
public:
    QPlaceReviewReply(QObject *parent = 0);
    virtual ~QPlaceReviewReply();

    QPlaceReply::Type type() const;

    QList<QPlaceReview> reviews() const;

    int totalCount() const;

protected:
    void setReviews(const QList<QPlaceReview> &objects);
    void setTotalCount(int total);
private:
    Q_DISABLE_COPY(QPlaceReviewReply)
    Q_DECLARE_PRIVATE(QPlaceReviewReply)
};

QTM_BEGIN_NAMESPACE

#endif