~ubuntu-clock-dev/ubuntu-clock-app/reboot-packaging

« back to all changes in this revision

Viewing changes to app/worldclock/world-city-list.xml

  • Committer: Nekhelesh Ramananthan
  • Date: 2014-07-15 12:50:49 UTC
  • mfrom: (20.1.24 10-world-clocks)
  • Revision ID: krnekhelesh@gmail.com-20140715125049-hhsn7hpe6tqrn3vz
- Added a page to select world cities. It provides search as you type using the new SDK SortFilterModel feature.
- Added a XML file with a list of popular cities.
- The local time at the cities are retrieved using QTimezone and QDateTime classes and used via a QAbstractListModel to automatically update the city list every second.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<Cities style="MEDIUM">
 
3
        <City>
 
4
                <cityName>Abidjan</cityName>
 
5
                <timezoneID>Africa/Abidjan</timezoneID>
 
6
                <countryName>Ivory Coast</countryName>
 
7
        </City>
 
8
        <City>
 
9
                <cityName>Accra</cityName>
 
10
                <timezoneID>Africa/Accra</timezoneID>
 
11
                <countryName>Ghana</countryName>
 
12
        </City>
 
13
        <City>
 
14
                <cityName>Addis Ababa</cityName>
 
15
                <timezoneID>Africa/Addis_Ababa</timezoneID>
 
16
                <countryName>Ethiopia</countryName>
 
17
        </City>
 
18
        <City>
 
19
                <cityName>Adelaide</cityName>
 
20
                <timezoneID>Australia/Adelaide</timezoneID>
 
21
                <countryName>Australia</countryName>
 
22
        </City>
 
23
        <City>
 
24
                <cityName>Alaska</cityName>
 
25
                <timezoneID>America/Anchorage</timezoneID>
 
26
                <countryName>United States</countryName>
 
27
        </City>
 
28
        <City>
 
29
                <cityName>Algiers</cityName>
 
30
                <timezoneID>Africa/Algiers</timezoneID>
 
31
                <countryName>Algeria</countryName>
 
32
        </City>
 
33
        <City>
 
34
                <cityName>Almaty</cityName>
 
35
                <timezoneID>Asia/Almaty</timezoneID>
 
36
                <countryName>Kazakhstan</countryName>
 
37
        </City>
 
38
        <City>
 
39
                <cityName>Amman</cityName>
 
40
                <timezoneID>Asia/Amman</timezoneID>
 
41
                <countryName>Jordan</countryName>
 
42
        </City>
 
43
        <City>
 
44
                <cityName>Amsterdam</cityName>
 
45
                <timezoneID>Europe/Amsterdam</timezoneID>
 
46
                <countryName>Netherlands</countryName>
 
47
        </City>
 
48
        <City>
 
49
                <cityName>Anadyr</cityName>
 
50
                <timezoneID>Asia/Anadyr</timezoneID>
 
51
                <countryName>Russia</countryName>
 
52
        </City>
 
53
        <City>
 
54
                <cityName>Anchorage</cityName>
 
55
                <timezoneID>America/Anchorage</timezoneID>
 
56
                <countryName>United States</countryName>
 
57
        </City>
 
58
        <City>
 
59
                <cityName>Antananarivo</cityName>
 
60
                <timezoneID>Indian/Antananarivo</timezoneID>
 
61
                <countryName>Madagascar</countryName>
 
62
        </City>
 
63
        <City>
 
64
                <cityName>Antigua</cityName>
 
65
                <timezoneID>America/Antigua</timezoneID>
 
66
                <countryName>Spain</countryName>
 
67
        </City>
 
68
        <City>
 
69
                <cityName>Aruba</cityName>
 
70
                <timezoneID>America/Aruba</timezoneID>
 
71
                <countryName>Indonesia</countryName>
 
72
        </City>
 
73
        <City>
 
74
                <cityName>Athens</cityName>
 
75
                <timezoneID>Europe/Athens</timezoneID>
 
76
                <countryName>Greece</countryName>
 
77
        </City>
 
78
        <City>
 
79
                <cityName>Auckland</cityName>
 
80
                <timezoneID>Pacific/Auckland</timezoneID>
 
81
                <countryName>New Zealand</countryName>
 
82
        </City>
 
83
        <City>
 
84
                <cityName>Azores</cityName>
 
85
                <timezoneID>Atlantic/Azores</timezoneID>
 
86
                <countryName>Portugal</countryName>
 
87
        </City>
 
88
        <City>
 
89
                <cityName>Baghdad</cityName>
 
90
                <timezoneID>Asia/Baghdad</timezoneID>
 
91
                <countryName>Iraq</countryName>
 
92
        </City>
 
93
        <City>
 
94
                <cityName>Baku</cityName>
 
95
                <timezoneID>Asia/Baku</timezoneID>
 
96
                <countryName>Azerbaijan</countryName>
 
97
        </City>
 
98
        <City>
 
99
                <cityName>Bangkok</cityName>
 
100
                <timezoneID>Asia/Bangkok</timezoneID>
 
101
                <countryName>Thailand</countryName>
 
102
        </City>
 
103
        <City>
 
104
                <cityName>Beijing</cityName>
 
105
                <timezoneID>Asia/Shanghai</timezoneID>
 
106
                <countryName>China</countryName>
 
107
        </City> 
 
108
        <City>
 
109
                <cityName>Beirut</cityName>
 
110
                <timezoneID>Asia/Beirut</timezoneID>
 
111
                <countryName>Lebanon</countryName>
 
112
        </City>
 
113
        <City>
 
114
                <cityName>Belfast</cityName>
 
115
                <timezoneID>Europe/Belfast</timezoneID>
 
116
                <countryName>United Kingdom</countryName>
 
117
        </City>
 
118
        <City>
 
119
                <cityName>Belgrade</cityName>
 
120
                <timezoneID>Europe/Belgrade</timezoneID>
 
121
                <countryName>Serbia</countryName>
 
122
        </City>
 
123
        <City>
 
124
                <cityName>Berlin</cityName>
 
125
                <timezoneID>Europe/Berlin</timezoneID>
 
126
                <countryName>Germany</countryName>
 
127
        </City>
 
128
        <City>
 
129
                <cityName>Beulah</cityName>
 
130
                <timezoneID>America/North_Dakota/Beulah</timezoneID>
 
131
                <countryName>United States</countryName>
 
132
        </City>
 
133
        <City>
 
134
                <cityName>Blantyre</cityName>
 
135
                <timezoneID>Africa/Blantyre</timezoneID>
 
136
                <countryName>Malawi</countryName>
 
137
        </City>
 
138
        <City>
 
139
                <cityName>Bratislava</cityName>
 
140
                <timezoneID>Europe/Bratislava</timezoneID>
 
141
                <countryName>Slovakia</countryName>
 
142
        </City>
 
143
        <City>
 
144
                <cityName>Brazzaville</cityName>
 
145
                <timezoneID>Africa/Brazzaville</timezoneID>
 
146
                <countryName>Republic of the Congo</countryName>
 
147
        </City>
 
148
        <City>
 
149
                <cityName>Brisbane</cityName>
 
150
                <timezoneID>Australia/Brisbane</timezoneID>
 
151
                <countryName>Australia</countryName>
 
152
        </City>
 
153
        <City>
 
154
                <cityName>Brussels</cityName>
 
155
                <timezoneID>Europe/Brussels</timezoneID>
 
156
                <countryName>Belgium</countryName>
 
157
        </City>
 
158
        <City>
 
159
                <cityName>Bucharest</cityName>
 
160
                <timezoneID>Europe/Bucharest</timezoneID>
 
161
                <countryName>Romania</countryName>
 
162
        </City>
 
163
        <City>
 
164
                <cityName>Budapest</cityName>
 
165
                <timezoneID>Europe/Budapest</timezoneID>
 
166
                <countryName>Hungary</countryName>
 
167
        </City>
 
168
        <City>
 
169
                <cityName>Buenos Aires</cityName>
 
170
                <timezoneID>America/Argentina/Buenos_Aires</timezoneID>
 
171
                <countryName>Argentina</countryName>
 
172
        </City>
 
173
        <City>
 
174
                <cityName>Cairo</cityName>
 
175
                <timezoneID>Africa/Cairo</timezoneID>
 
176
                <countryName>Egypt</countryName>
 
177
        </City>
 
178
        <City>
 
179
                <cityName>Calcutta</cityName>
 
180
                <timezoneID>Asia/Calcutta</timezoneID>
 
181
                <countryName>India</countryName>
 
182
        </City>
 
183
        <City>
 
184
                <cityName>Canary</cityName>
 
185
                <timezoneID>Atlantic/Canary</timezoneID>
 
186
                <countryName>Australia</countryName>
 
187
        </City>
 
188
        <City>
 
189
                <cityName>Canberra</cityName>
 
190
                <timezoneID>Australia/Canberra</timezoneID>
 
191
                <countryName>Australia</countryName>
 
192
        </City>
 
193
        <City>
 
194
                <cityName>Caracas</cityName>
 
195
                <timezoneID>America/Caracas</timezoneID>
 
196
                <countryName>Venezuela</countryName>
 
197
        </City>
 
198
        <City>
 
199
                <cityName>Casablanca</cityName>
 
200
                <timezoneID>Africa/Casablanca</timezoneID>
 
201
                <countryName>Morocco</countryName>
 
202
        </City>
 
203
        <City>
 
204
                <cityName>Cayman Palms</cityName>
 
205
                <timezoneID>America/Cayman</timezoneID>
 
206
                <countryName>Cayman Islands</countryName>
 
207
        </City>
 
208
        <City>
 
209
                <cityName>Chicago</cityName>
 
210
                <timezoneID>America/Chicago</timezoneID>
 
211
                <countryName>United States</countryName>
 
212
        </City>
 
213
        <City>
 
214
                <cityName>Chihuahua</cityName>
 
215
                <timezoneID>America/Chihuahua</timezoneID>
 
216
                <countryName>Mexico</countryName>
 
217
        </City>
 
218
        <City>
 
219
                <cityName>Colombo</cityName>
 
220
                <timezoneID>Asia/Colombo</timezoneID>
 
221
                <countryName>Sri Lanka</countryName>
 
222
        </City>
 
223
        <City>
 
224
                <cityName>Conakry</cityName>
 
225
                <timezoneID>Africa/Conakry</timezoneID>
 
226
                <countryName>Guinea</countryName>
 
227
        </City>
 
228
        <City>
 
229
                <cityName>Copenhagen</cityName>
 
230
                <timezoneID>Europe/Copenhagen</timezoneID>
 
231
                <countryName>Denmark</countryName>
 
232
        </City> 
 
233
        <City>
 
234
                <cityName>Dakar</cityName>
 
235
                <timezoneID>Africa/Dakar</timezoneID>
 
236
                <countryName>Senegal</countryName>
 
237
        </City>
 
238
        <City>
 
239
                <cityName>Damascus</cityName>
 
240
                <timezoneID>Asia/Damascus</timezoneID>
 
241
                <countryName>Syria</countryName>
 
242
        </City>
 
243
        <City>
 
244
                <cityName>Dar es Salaam</cityName>
 
245
                <timezoneID>Africa/Dar_es_Salaam</timezoneID>
 
246
                <countryName>Tanzania</countryName>
 
247
        </City>
 
248
        <City>
 
249
                <cityName>Darwin</cityName>
 
250
                <timezoneID>Australia/Darwin</timezoneID>
 
251
                <countryName>Australia</countryName>
 
252
        </City>
 
253
        <City>
 
254
                <cityName>Dawson Creek</cityName>
 
255
                <timezoneID>America/Dawson_Creek</timezoneID>
 
256
                <countryName>Canada</countryName>
 
257
        </City>
 
258
        <City>
 
259
                <cityName>Denver</cityName>
 
260
                <timezoneID>America/Denver</timezoneID>
 
261
                <countryName>United States</countryName>
 
262
        </City>
 
263
        <City>
 
264
                <cityName>Detroit</cityName>
 
265
                <timezoneID>America/Detroit</timezoneID>
 
266
                <countryName>United States</countryName>
 
267
        </City>
 
268
        <City>
 
269
                <cityName>Dhaka</cityName>
 
270
                <timezoneID>Asia/Dhaka</timezoneID>
 
271
                <countryName>Bangladesh</countryName>
 
272
        </City>
 
273
        <City>
 
274
                <cityName>Djibouti</cityName>
 
275
                <timezoneID>Africa/Djibouti</timezoneID>
 
276
                <countryName>Djibouti</countryName>
 
277
        </City>
 
278
        <City>
 
279
                <cityName>Dubai</cityName>
 
280
                <timezoneID>Asia/Dubai</timezoneID>
 
281
                <countryName>United Arab Emirates</countryName>
 
282
        </City>
 
283
        <City>
 
284
                <cityName>Dublin</cityName>
 
285
                <timezoneID>Europe/Dublin</timezoneID>
 
286
                <countryName>Ireland</countryName>
 
287
        </City>
 
288
        <City>
 
289
                <cityName>Edmonton</cityName>
 
290
                <timezoneID>America/Edmonton</timezoneID>
 
291
                <countryName>Canada</countryName>
 
292
        </City>
 
293
        <City>
 
294
                <cityName>Fortaleza</cityName>
 
295
                <timezoneID>America/Fortaleza</timezoneID>
 
296
                <countryName>Brazil</countryName>
 
297
        </City>
 
298
        <City>
 
299
                <cityName>Gaborone</cityName>
 
300
                <timezoneID>Africa/Gaborone</timezoneID>
 
301
                <countryName>Botswana</countryName>
 
302
        </City>
 
303
        <City>
 
304
                <cityName>Gaza</cityName>
 
305
                <timezoneID>Asia/Gaza</timezoneID>
 
306
                <countryName>Palestine</countryName>
 
307
        </City> 
 
308
        <City>
 
309
                <cityName>Zürich</cityName>
 
310
                <timezoneID>Europe/Zurich</timezoneID>
 
311
                <countryName>Switzerland</countryName>
 
312
        </City>
 
313
</Cities>