summaryrefslogtreecommitdiff
path: root/library/tzselect.h
Unidiff
Diffstat (limited to 'library/tzselect.h') (more/less context) (show whitespace changes)
-rw-r--r--library/tzselect.h14
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,7 +1,7 @@
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
@@ -25,6 +25,7 @@
25#include <qstringlist.h> 25#include <qstringlist.h>
26 26
27class QToolButton; 27class QToolButton;
28class 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
30QStringList timezoneDefaults( void ); 31QStringList timezoneDefaults( void );
@@ -40,6 +41,7 @@ public:
40 void setCurrZone( const QString& id ); 41 void setCurrZone( const QString& id );
41 42
42protected: 43protected:
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();
@@ -60,6 +62,14 @@ public:
60 TimeZoneSelector( QWidget* parent = 0, const char* name=0 ); 62 TimeZoneSelector( QWidget* parent = 0, const char* name=0 );
61 ~TimeZoneSelector(); 63 ~TimeZoneSelector();
62 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
72
63 QString currentZone() const; 73 QString currentZone() const;
64 void setCurrentZone( const QString& id ); 74 void setCurrentZone( const QString& id );
65 75