summaryrefslogtreecommitdiff
path: root/library/tzselect.cpp
Unidiff
Diffstat (limited to 'library/tzselect.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--library/tzselect.cpp32
1 files changed, 29 insertions, 3 deletions
diff --git a/library/tzselect.cpp b/library/tzselect.cpp
index 335037e..4343eab 100644
--- a/library/tzselect.cpp
+++ b/library/tzselect.cpp
@@ -34,2 +34,10 @@
34 34
35/*!
36 \class TimeZoneSelector
37
38 \brief The TimeZoneSelector widget allows users to configure their time zone information.
39
40 \ingroup qtopiaemb
41*/
42
35class TimeZoneSelectorPrivate 43class TimeZoneSelectorPrivate
@@ -195,2 +203,6 @@ void TZCombo::handleSystemChannel(const QCString&msg, const QByteArray&)
195 203
204/*!
205 Creates a new TimeZoneSelector with parent \a p and name \a n. The combobox will be
206 populated with the available timezones.
207*/
196 208
@@ -215,2 +227,5 @@ TimeZoneSelector::TimeZoneSelector(QWidget* p, const char* n) :
215 227
228/*!
229 Destroys a TimeZoneSelector.
230*/
216TimeZoneSelector::~TimeZoneSelector() 231TimeZoneSelector::~TimeZoneSelector()
@@ -230,3 +245,6 @@ bool TimeZoneSelector::localIncluded() const
230 245
231 246/*!
247 Returns the currently selected timezone as a string in location format, e.g.
248 \code Australia/Brisbane \endcode
249*/
232QString TimeZoneSelector::currentZone() const 250QString TimeZoneSelector::currentZone() const
@@ -236,2 +254,5 @@ QString TimeZoneSelector::currentZone() const
236 254
255/*!
256 Sets the current timezone to \a id.
257*/
237void TimeZoneSelector::setCurrentZone( const QString& id ) 258void TimeZoneSelector::setCurrentZone( const QString& id )
@@ -240,2 +261,7 @@ void TimeZoneSelector::setCurrentZone( const QString& id )
240} 261}
262/*! \fn void TimeZoneSelector::signalNewTz( const QString& id )
263 This signal is emitted when a timezone has been selected by the user. The id
264 is a \l QString in location format, eg \code Australia/Brisbane \endcode
265*/
266
241 267
@@ -248,3 +274,3 @@ void TimeZoneSelector::slotExecute( void )
248{ 274{
249 // execute the world time application... 275 // execute the world time application...
250 if (QFile::exists(QPEApplication::qpeDir()+"bin/citytime")) 276 if (QFile::exists(QPEApplication::qpeDir()+"bin/citytime"))
@@ -272,3 +298,3 @@ QStringList timezoneDefaults( void )
272 tzs.append( "Denver" ); 298 tzs.append( "Denver" );
273 299
274 return tzs; 300 return tzs;