author | drw <drw> | 2004-04-02 21:00:39 (UTC) |
---|---|---|
committer | drw <drw> | 2004-04-02 21:00:39 (UTC) |
commit | 8b67cce78d89fdbb5c2a70f257aaef0e8162d767 (patch) (side-by-side diff) | |
tree | 1a897ca501a0ebadcec94af493ff11cb071a2b0a /core/pim/datebook/dateentryimpl.cpp | |
parent | b4d07df7854800fd3613034f54488c6fa27d94ee (diff) | |
download | opie-8b67cce78d89fdbb5c2a70f257aaef0e8162d767.zip opie-8b67cce78d89fdbb5c2a70f257aaef0e8162d767.tar.gz opie-8b67cce78d89fdbb5c2a70f257aaef0e8162d767.tar.bz2 |
Use ODebug (another 43 down...)
Diffstat (limited to 'core/pim/datebook/dateentryimpl.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/pim/datebook/dateentryimpl.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/core/pim/datebook/dateentryimpl.cpp b/core/pim/datebook/dateentryimpl.cpp index 7b4716f..42bdbe2 100644 --- a/core/pim/datebook/dateentryimpl.cpp +++ b/core/pim/datebook/dateentryimpl.cpp @@ -22,6 +22,9 @@ #include "dateentryimpl.h" #include "repeatentry.h" +#include <opie2/odebug.h> +#include <opie2/otimepicker.h> + #include <qpe/qpeapplication.h> #include <qpe/categoryselect.h> #include <qpe/datebookmonth.h> @@ -30,7 +33,6 @@ #include <qlineedit.h> #include <qspinbox.h> -#include <opie2/otimepicker.h> #include "onoteedit.h" #include <stdlib.h> @@ -429,7 +431,7 @@ Event DateEntry::event() QDateTime end( endDate, endTime ); time_t start_utc, end_utc; -// qDebug( "tz: %s", timezone->currentZone().latin1() ); +// Opie::Core::odebug << "tz: " << timezone->currentZone() << oendl; // get real timezone QString realTZ; @@ -437,7 +439,7 @@ Event DateEntry::event() // set timezone if ( setenv( "TZ", timezone->currentZone(), true ) != 0 ) - qWarning( "There was a problem setting the timezone." ); + Opie::Core::owarn << "There was a problem setting the timezone." << oendl; // convert to UTC based on selected TZ (calling tzset internally) start_utc = TimeConversion::toUTC( start ); @@ -447,7 +449,7 @@ Event DateEntry::event() unsetenv( "TZ" ); if ( !realTZ.isNull() ) if ( setenv( "TZ", realTZ, true ) != 0 ) - qWarning( "There was a problem setting the timezone." ); + Opie::Core::owarn << "There was a problem setting the timezone." << oendl; // convert UTC to local time (calling tzset internally) ev.setStart( TimeConversion::fromUTC( start_utc ) ); |