author | zecke <zecke> | 2002-09-10 12:09:49 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-09-10 12:09:49 (UTC) |
commit | 6b77a1cdb9536b1c135eb86d53a6b2c22c19b0a4 (patch) (unidiff) | |
tree | 6ebc93c6432f4ed9d00ef1448b6a047ef522a79a /library/tzselect.h | |
parent | d10cddb3c9ce75bc90b14add14bc133737fe35aa (diff) | |
download | opie-6b77a1cdb9536b1c135eb86d53a6b2c22c19b0a4.zip opie-6b77a1cdb9536b1c135eb86d53a6b2c22c19b0a4.tar.gz opie-6b77a1cdb9536b1c135eb86d53a6b2c22c19b0a4.tar.bz2 |
Qtopia1-6 merge
still to test
bic changes to be resolved
more changes to be made?
-rw-r--r-- | library/tzselect.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/library/tzselect.h b/library/tzselect.h index 9898d84..55e45a3 100644 --- a/library/tzselect.h +++ b/library/tzselect.h | |||
@@ -1,8 +1,8 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | ** Copyright (C) 2000 Trolltech AS. All rights reserved. | 2 | ** Copyright (C) 2000-2002 Trolltech AS. All rights reserved. |
3 | ** | 3 | ** |
4 | ** This file is part of Qtopia Environment. | 4 | ** This file is part of the Qtopia Environment. |
5 | ** | 5 | ** |
6 | ** This file may be distributed and/or modified under the terms of the | 6 | ** This file may be distributed and/or modified under the terms of the |
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 |
@@ -24,8 +24,9 @@ | |||
24 | #include <qcombobox.h> | 24 | #include <qcombobox.h> |
25 | #include <qstringlist.h> | 25 | #include <qstringlist.h> |
26 | 26 | ||
27 | class QToolButton; | 27 | class QToolButton; |
28 | class TimeZoneSelector; | ||
28 | 29 | ||
29 | // a function to load defaults in case there is no file | 30 | // a function to load defaults in case there is no file |
30 | QStringList timezoneDefaults( void ); | 31 | QStringList timezoneDefaults( void ); |
31 | 32 | ||
@@ -39,8 +40,9 @@ public: | |||
39 | QString currZone() const; | 40 | QString currZone() const; |
40 | void setCurrZone( const QString& id ); | 41 | void setCurrZone( const QString& id ); |
41 | 42 | ||
42 | protected: | 43 | protected: |
44 | friend class TimeZoneSelector; | ||
43 | void keyPressEvent( QKeyEvent *e ); | 45 | void keyPressEvent( QKeyEvent *e ); |
44 | void mousePressEvent(QMouseEvent*e); | 46 | void mousePressEvent(QMouseEvent*e); |
45 | void updateZones(); | 47 | void updateZones(); |
46 | 48 | ||
@@ -58,8 +60,16 @@ class TimeZoneSelector : public QHBox | |||
58 | Q_OBJECT | 60 | Q_OBJECT |
59 | public: | 61 | public: |
60 | TimeZoneSelector( QWidget* parent = 0, const char* name=0 ); | 62 | TimeZoneSelector( QWidget* parent = 0, const char* name=0 ); |
61 | ~TimeZoneSelector(); | 63 | ~TimeZoneSelector(); |
64 | |||
65 | #ifdef QTOPIA_INTERNAL_TZSELECT_INC_LOCAL | ||
66 | // badly named.. not to be used outside of qtopia (not forward compatable) | ||
67 | // basically allows the "No Timezone" or "None" option. | ||
68 | void setLocalIncluded(bool); | ||
69 | bool localIncluded() const; | ||
70 | #endif | ||
71 | |||
62 | 72 | ||
63 | QString currentZone() const; | 73 | QString currentZone() const; |
64 | void setCurrentZone( const QString& id ); | 74 | void setCurrentZone( const QString& id ); |
65 | 75 | ||