projects
/
ptas
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Works now without any existing location settings, enabling a new user to start using it.
[ptas]
/
zouba
/
location_p.h
diff --git
a/zouba/location_p.h
b/zouba/location_p.h
index
c8d108d
..
c0778bc
100644
(file)
--- a/
zouba/location_p.h
+++ b/
zouba/location_p.h
@@
-10,25
+10,35
@@
class LocationPrivate : public QObject
Q_OBJECT
public:
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;
QString x() const;
- void setY( QString y );
+ void setY( uint y );
+ void setY( const QString &y );
QString y() const;
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 );
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
};
#endif // LOCATION_P_H