Added dialogs to change home and work locations.
[ptas] / zouba / location_p.h
index f158720..c0778bc 100644 (file)
@@ -10,22 +10,30 @@ class LocationPrivate : public QObject
     Q_OBJECT
 
 public:
+  QString m_label;
+  QString m_address;
   QString m_x;
   QString m_y;
   bool    m_valid;
-  LocationPrivate( QString x, QString y );
+  LocationPrivate( const QString &x, const QString &y, const QString &label );
 
-  LocationPrivate();
+  LocationPrivate( const QString &label );
   virtual ~LocationPrivate();
 
   void setX( uint x );
-  void setX( QString x );
+  void setX( const QString &x );
   QString x() const;
 
   void setY( uint y );
-  void setY( QString 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;