summaryrefslogtreecommitdiff
path: root/src/location/places/qplacetextpredictionreply.h
blob: 47b8ebc784546bf115310eacaf58093b791d2883 (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
#ifndef QPLACETEXTPREDICTIONREPLY_H
#define QPLACETEXTPREDICTIONREPLY_H

#include "qplacereply.h"

#include <QStringList>

QTM_BEGIN_NAMESPACE

class QPlaceTextPredictionReplyPrivate;

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

    QStringList textPredictions() const;
    Type type() const;

protected:
    void setTextPredictions(const QStringList &predictions);

private:
    Q_DISABLE_COPY(QPlaceTextPredictionReply)
    Q_DECLARE_PRIVATE(QPlaceTextPredictionReply)
};

QTM_END_NAMESPACE

#endif