c8d108d3ade099d1e265ab9c997fdab94f46d084
[ptas] / zouba / location_p.h
1 #ifndef LOCATION_P_H
2 #define LOCATION_P_H
3
4 #include <QObject>
5 #include <QString>
6 #include <QByteArray>
7
8 class LocationPrivate : public QObject
9 {
10     Q_OBJECT
11
12 public:
13   LocationPrivate( QString x, QString y );
14
15   LocationPrivate();
16
17   void setX( QString x );
18   QString x() const;
19
20   void setY( QString y );
21   QString y() const;
22
23   void setValid( bool valid );
24   bool isValid() const;
25
26   void parseReply( const QByteArray &reply );
27
28 private:
29   QString m_x;
30   QString m_y;
31   bool    m_valid;
32 };
33
34 #endif // LOCATION_P_H
35