summaryrefslogtreecommitdiff
path: root/core/settings/citytime/zonemap.h
Side-by-side diff
Diffstat (limited to 'core/settings/citytime/zonemap.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/settings/citytime/zonemap.h18
1 files changed, 13 insertions, 5 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
@@ -18,3 +18,3 @@
**
-**********************************************************************/
+**********************************************************************/
@@ -36,3 +36,4 @@ class QTimer;
class QToolButton;
-
+class QListViewItem;
+class QListView;
@@ -65,2 +66,3 @@ public:
void showZones( void ) const;
+ QWidget* selectionWidget( QWidget* parent );
// convert between the pixels on the image and the coordinates in the
@@ -89,2 +91,5 @@ protected:
+private slots:
+ void slotGetCities( QListViewItem * );
+ void slotCitySelected( QListViewItem * );
private:
@@ -106,2 +111,5 @@ private:
+ QListView *cityView;
+ QString selectedCont;
+
//the True width and height of the map...
@@ -145,4 +153,4 @@ inline bool ZoneMap::zoneToWin( int zoneX, int zoneY,
}
-
-inline bool ZoneMap::winToZone( int winX, int winY,
+
+inline bool ZoneMap::winToZone( int winX, int winY,
int &zoneX, int &zoneY ) const
@@ -154,3 +162,3 @@ inline bool ZoneMap::winToZone( int winX, int winY,
return true;
-}
+}