-rw-r--r-- | core/settings/citytime/zonemap.cpp | 2 | ||||
-rw-r--r-- | pics/simple_grid_400.png | bin | 4533 -> 0 bytes |
2 files changed, 1 insertions, 1 deletions
diff --git a/core/settings/citytime/zonemap.cpp b/core/settings/citytime/zonemap.cpp index 337f4d9..1d60aee 100644 --- a/core/settings/citytime/zonemap.cpp +++ b/core/settings/citytime/zonemap.cpp | |||
@@ -21,49 +21,49 @@ | |||
21 | #include "sun.h" | 21 | #include "sun.h" |
22 | #include "zonemap.h" | 22 | #include "zonemap.h" |
23 | 23 | ||
24 | #include <qpe/resource.h> | 24 | #include <qpe/resource.h> |
25 | #include <qpe/timestring.h> | 25 | #include <qpe/timestring.h> |
26 | #include <qpe/qpeapplication.h> | 26 | #include <qpe/qpeapplication.h> |
27 | 27 | ||
28 | #include <qdatetime.h> | 28 | #include <qdatetime.h> |
29 | #include <qfile.h> | 29 | #include <qfile.h> |
30 | #include <qimage.h> | 30 | #include <qimage.h> |
31 | #include <qlabel.h> | 31 | #include <qlabel.h> |
32 | #include <qlist.h> | 32 | #include <qlist.h> |
33 | #include <qmessagebox.h> | 33 | #include <qmessagebox.h> |
34 | #include <qpixmap.h> | 34 | #include <qpixmap.h> |
35 | #include <qpainter.h> | 35 | #include <qpainter.h> |
36 | #include <qregexp.h> | 36 | #include <qregexp.h> |
37 | #include <qtextstream.h> | 37 | #include <qtextstream.h> |
38 | #include <qtimer.h> | 38 | #include <qtimer.h> |
39 | #include <qtoolbutton.h> | 39 | #include <qtoolbutton.h> |
40 | 40 | ||
41 | #include <limits.h> | 41 | #include <limits.h> |
42 | 42 | ||
43 | // the map file... | 43 | // the map file... |
44 | static const char strZONEINFO[] = "/usr/share/zoneinfo/zone.tab"; | 44 | static const char strZONEINFO[] = "/usr/share/zoneinfo/zone.tab"; |
45 | static const char strMAP[] = "simple_grid_400"; | 45 | static const char strMAP[] = "citytime/simple_grid_400"; |
46 | 46 | ||
47 | // the maximum distance we'll allow the pointer to be away from a city | 47 | // the maximum distance we'll allow the pointer to be away from a city |
48 | // and still show the city's time | 48 | // and still show the city's time |
49 | static const int iTHRESHOLD = 50000; | 49 | static const int iTHRESHOLD = 50000; |
50 | 50 | ||
51 | // The label offset (how far away from pointer) | 51 | // The label offset (how far away from pointer) |
52 | static const int iLABELOFFSET = 8; | 52 | static const int iLABELOFFSET = 8; |
53 | 53 | ||
54 | // the size of the dot to draw, and where to start it | 54 | // the size of the dot to draw, and where to start it |
55 | static const int iCITYSIZE = 3; | 55 | static const int iCITYSIZE = 3; |
56 | const int iCITYOFFSET = 2; | 56 | const int iCITYOFFSET = 2; |
57 | 57 | ||
58 | // the darkening function | 58 | // the darkening function |
59 | static inline void darken( QImage *pImage, int start, int stop, int row ); | 59 | static inline void darken( QImage *pImage, int start, int stop, int row ); |
60 | static void dayNight( QImage *pImage ); | 60 | static void dayNight( QImage *pImage ); |
61 | 61 | ||
62 | ZoneField::ZoneField( const QString& strLine ) | 62 | ZoneField::ZoneField( const QString& strLine ) |
63 | { | 63 | { |
64 | // make a bunch of RegExp's to match the data from the line | 64 | // make a bunch of RegExp's to match the data from the line |
65 | QRegExp regCoord( "[-+][0-9]+" );// the latitude | 65 | QRegExp regCoord( "[-+][0-9]+" );// the latitude |
66 | QRegExp regCountry( "[A-Za-z]+/" ); // the country (not good enough) | 66 | QRegExp regCountry( "[A-Za-z]+/" ); // the country (not good enough) |
67 | QRegExp regCity( "[A-Za-z_-]*" ); // the city | 67 | QRegExp regCity( "[A-Za-z_-]*" ); // the city |
68 | 68 | ||
69 | int iStart, | 69 | int iStart, |
diff --git a/pics/simple_grid_400.png b/pics/simple_grid_400.png deleted file mode 100644 index 5e0e21d..0000000 --- a/pics/simple_grid_400.png +++ b/dev/null | |||
Binary files differ | |||