author | harlekin <harlekin> | 2002-10-12 13:43:58 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-10-12 13:43:58 (UTC) |
commit | 4f1cf7f8c9925f31f2940207b8f7b5771533b734 (patch) (unidiff) | |
tree | 95656286280ec923b6262bcdfb55a986c8fc4ab8 /core/settings/citytime/zonemap.h | |
parent | d442e7bcc977c46a77749c0d2508a755a8d9db7a (diff) | |
download | opie-4f1cf7f8c9925f31f2940207b8f7b5771533b734.zip opie-4f1cf7f8c9925f31f2940207b8f7b5771533b734.tar.gz opie-4f1cf7f8c9925f31f2940207b8f7b5771533b734.tar.bz2 |
first step to make citytime more usable
Diffstat (limited to 'core/settings/citytime/zonemap.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/settings/citytime/zonemap.h | 18 |
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 @@ | |||
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | 20 | ||
@@ -36,3 +36,4 @@ class QTimer; | |||
36 | class QToolButton; | 36 | class QToolButton; |
37 | 37 | class QListViewItem; | |
38 | class QListView; | ||
38 | 39 | ||
@@ -65,2 +66,3 @@ public: | |||
65 | void showZones( void ) const; | 66 | void showZones( void ) const; |
67 | QWidget* selectionWidget( QWidget* parent ); | ||
66 | // convert between the pixels on the image and the coordinates in the | 68 | // convert between the pixels on the image and the coordinates in the |
@@ -89,2 +91,5 @@ protected: | |||
89 | 91 | ||
92 | private slots: | ||
93 | void slotGetCities( QListViewItem * ); | ||
94 | void slotCitySelected( QListViewItem * ); | ||
90 | private: | 95 | private: |
@@ -106,2 +111,5 @@ private: | |||
106 | 111 | ||
112 | QListView *cityView; | ||
113 | QString selectedCont; | ||
114 | |||
107 | //the True width and height of the map... | 115 | //the True width and height of the map... |
@@ -145,4 +153,4 @@ inline bool ZoneMap::zoneToWin( int zoneX, int zoneY, | |||
145 | } | 153 | } |
146 | 154 | ||
147 | inline bool ZoneMap::winToZone( int winX, int winY, | 155 | inline bool ZoneMap::winToZone( int winX, int winY, |
148 | int &zoneX, int &zoneY ) const | 156 | int &zoneX, int &zoneY ) const |
@@ -154,3 +162,3 @@ inline bool ZoneMap::winToZone( int winX, int winY, | |||
154 | return true; | 162 | return true; |
155 | } | 163 | } |
156 | 164 | ||