Diffstat (limited to 'core/pim/datebook/datebook.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/datebook/datebook.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/core/pim/datebook/datebook.cpp b/core/pim/datebook/datebook.cpp index 3934411..3d1bc0c 100644 --- a/core/pim/datebook/datebook.cpp +++ b/core/pim/datebook/datebook.cpp @@ -29,6 +29,8 @@ #include "datebookweeklst.h" #include "dateentryimpl.h" +#include <opie2/odebug.h> + #include <qpe/datebookmonth.h> #include <qpe/qpeapplication.h> #include <qpe/config.h> @@ -37,7 +39,6 @@ #include <qpe/qpemessagebox.h> #include <qpe/resource.h> #include <qpe/sound.h> -#include <qtoolbar.h> #include <qpe/tzselect.h> #include <qaction.h> @@ -46,6 +47,7 @@ #include <qmessagebox.h> #include <qtimer.h> #include <qtl.h> +#include <qtoolbar.h> #include <qwidgetstack.h> #include <sys/stat.h> @@ -70,7 +72,7 @@ DateBook::DateBook( QWidget *parent, const char *, WFlags f ) QTime t; t.start(); db = new DateBookDBHack; - qDebug("loading db t=%d", t.elapsed() ); + Opie::Core::odebug << "loading db t=" << t.elapsed() << oendl; loadSettings(); setCaption( tr("Calendar") ); setIcon( Resource::loadPixmap( "datebook_icon" ) ); @@ -174,7 +176,7 @@ DateBook::DateBook( QWidget *parent, const char *, WFlags f ) #endif #endif - qDebug("done t=%d", t.elapsed() ); + Opie::Core::odebug << "done t=" << t.elapsed() << oendl; connect( qApp, SIGNAL( flush() ), this, SLOT( flush() ) ); connect( qApp, SIGNAL( reload()), this, SLOT( reload() ) ); @@ -900,7 +902,7 @@ static const char * beamfile = "/tmp/obex/event.vcs"; void DateBook::beamEvent( const Event &e ) { - qDebug("trying to beamn"); + Opie::Core::odebug << "trying to beam" << oendl; unlink( beamfile ); // delete if exists mkdir("/tmp/obex/", 0755); Event::writeVCalendar( beamfile, e ); |