X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=zouba%2Flocation_p.h;h=c0778bce798c73bcaa1daff78636d5c4b2734f33;hb=e377f99e1701bb2f5d583954485d1a1e6d031d05;hp=c8d108d3ade099d1e265ab9c997fdab94f46d084;hpb=9c5c987171fabed85e42d4bec40e8d86ba20f7e3;p=ptas diff --git a/zouba/location_p.h b/zouba/location_p.h index c8d108d..c0778bc 100644 --- a/zouba/location_p.h +++ b/zouba/location_p.h @@ -10,25 +10,35 @@ class LocationPrivate : public QObject Q_OBJECT public: - LocationPrivate( QString x, QString y ); + QString m_label; + QString m_address; + QString m_x; + QString m_y; + bool m_valid; + LocationPrivate( const QString &x, const QString &y, const QString &label ); - LocationPrivate(); + LocationPrivate( const QString &label ); + virtual ~LocationPrivate(); - void setX( QString x ); + void setX( uint x ); + void setX( const QString &x ); QString x() const; - void setY( QString y ); + void setY( uint y ); + void setY( const QString &y ); QString y() const; + void setAddress( const QString &address ); + QString address() const; + + void setLabel( const QString &label ); + QString label() const; + void setValid( bool valid ); bool isValid() const; void parseReply( const QByteArray &reply ); -private: - QString m_x; - QString m_y; - bool m_valid; }; #endif // LOCATION_P_H