Diffstat (limited to 'core/settings/citytime/zonemap.h') (more/less context) (show whitespace changes)
-rw-r--r-- | core/settings/citytime/zonemap.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/core/settings/citytime/zonemap.h b/core/settings/citytime/zonemap.h index c9c2035..ea0142b 100644 --- a/core/settings/citytime/zonemap.h +++ b/core/settings/citytime/zonemap.h @@ -35,5 +35,6 @@ class QLabel; class QTimer; class QToolButton; - +class QListViewItem; +class QListView; @@ -64,4 +65,5 @@ public: ~ZoneMap(); void showZones( void ) const; + QWidget* selectionWidget( QWidget* parent ); // convert between the pixels on the image and the coordinates in the // database @@ -88,4 +90,7 @@ protected: virtual void drawContents( QPainter *p, int cx, int cy, int cw, int ch ); +private slots: + void slotGetCities( QListViewItem * ); + void slotCitySelected( QListViewItem * ); private: ZoneField *findCityNear( ZoneField *city, int key ); @@ -105,4 +110,7 @@ private: StylusNormalizer norm; + QListView *cityView; + QString selectedCont; + //the True width and height of the map... int wImg; |