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

#include "qplacereply.h"
#include "qplacereview.h"
#include "qplacepaginationlist.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;

    QPlacePaginationList<QPlaceReview> reviews() const;

    int totalCount() const;

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

QTM_BEGIN_NAMESPACE

#endif