From 8b67cce78d89fdbb5c2a70f257aaef0e8162d767 Mon Sep 17 00:00:00 2001 From: drw Date: Fri, 02 Apr 2004 21:00:39 +0000 Subject: Use ODebug (another 43 down...) --- (limited to 'core/pim/datebook/dateentryimpl.cpp') 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 +#include + #include #include #include @@ -30,7 +33,6 @@ #include #include -#include #include "onoteedit.h" #include @@ -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 ) ); -- cgit v0.9.0.2