-rw-r--r-- | library/tzselect.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/tzselect.cpp b/library/tzselect.cpp index 848dfb7..8dd427f 100644 --- a/library/tzselect.cpp +++ b/library/tzselect.cpp | |||
@@ -7,48 +7,49 @@ | |||
7 | ** GNU General Public License version 2 as published by the Free Software | 7 | ** GNU General Public License version 2 as published by the Free Software |
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | 8 | ** Foundation and appearing in the file LICENSE.GPL included in the |
9 | ** packaging of this file. | 9 | ** packaging of this file. |
10 | ** | 10 | ** |
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
13 | ** | 13 | ** |
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | 14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. |
15 | ** | 15 | ** |
16 | ** Contact info@trolltech.com if any conditions of this licensing are | 16 | ** Contact info@trolltech.com if any conditions of this licensing are |
17 | ** not clear to you. | 17 | ** not clear to you. |
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | 20 | ||
21 | #define QTOPIA_INTERNAL_TZSELECT_INC_LOCAL | 21 | #define QTOPIA_INTERNAL_TZSELECT_INC_LOCAL |
22 | 22 | ||
23 | #include "tzselect.h" | 23 | #include "tzselect.h" |
24 | #include "resource.h" | 24 | #include "resource.h" |
25 | #include "config.h" | 25 | #include "config.h" |
26 | #include <qtoolbutton.h> | 26 | #include <qtoolbutton.h> |
27 | #include <qfile.h> | 27 | #include <qfile.h> |
28 | #include <stdlib.h> | 28 | #include <stdlib.h> |
29 | 29 | ||
30 | #include <qcopchannel_qws.h> | 30 | #include <qcopchannel_qws.h> |
31 | #include <qpe/global.h> | ||
31 | #include <qpe/qpeapplication.h> | 32 | #include <qpe/qpeapplication.h> |
32 | #include <qmessagebox.h> | 33 | #include <qmessagebox.h> |
33 | 34 | ||
34 | /*! | 35 | /*! |
35 | \class TimeZoneSelector | 36 | \class TimeZoneSelector |
36 | 37 | ||
37 | \brief The TimeZoneSelector widget allows users to configure their time zone information. | 38 | \brief The TimeZoneSelector widget allows users to configure their time zone information. |
38 | 39 | ||
39 | \ingroup qtopiaemb | 40 | \ingroup qtopiaemb |
40 | */ | 41 | */ |
41 | 42 | ||
42 | class TimeZoneSelectorPrivate | 43 | class TimeZoneSelectorPrivate |
43 | { | 44 | { |
44 | public: | 45 | public: |
45 | TimeZoneSelectorPrivate() : includeLocal(FALSE) {} | 46 | TimeZoneSelectorPrivate() : includeLocal(FALSE) {} |
46 | bool includeLocal; | 47 | bool includeLocal; |
47 | }; | 48 | }; |
48 | 49 | ||
49 | TZCombo::TZCombo( QWidget *p, const char* n ) | 50 | TZCombo::TZCombo( QWidget *p, const char* n ) |
50 | : QComboBox( p, n ) | 51 | : QComboBox( p, n ) |
51 | { | 52 | { |
52 | updateZones(); | 53 | updateZones(); |
53 | // check to see if TZ is set, if it is set the current item to that | 54 | // check to see if TZ is set, if it is set the current item to that |
54 | QString tz = getenv("TZ"); | 55 | QString tz = getenv("TZ"); |