f15872038c7c9d912a05a356ea70c4229cc3666b
[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   QString m_x;
14   QString m_y;
15   bool    m_valid;
16   LocationPrivate( QString x, QString y );
17
18   LocationPrivate();
19   virtual ~LocationPrivate();
20
21   void setX( uint x );
22   void setX( QString x );
23   QString x() const;
24
25   void setY( uint y );
26   void setY( QString y );
27   QString y() const;
28
29   void setValid( bool valid );
30   bool isValid() const;
31
32   void parseReply( const QByteArray &reply );
33
34 };
35
36 #endif // LOCATION_P_H
37