author | mickeyl <mickeyl> | 2004-04-04 17:05:29 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-04-04 17:05:29 (UTC) |
commit | 77185b587adfa158dadab204f3c78db94af3e099 (patch) (unidiff) | |
tree | d0d7a2d3e756784ea259199d218b73c4770cdfd1 | |
parent | daef74a7e852855f781765fad7969b6c83e2e9c6 (diff) | |
download | opie-77185b587adfa158dadab204f3c78db94af3e099.zip opie-77185b587adfa158dadab204f3c78db94af3e099.tar.gz opie-77185b587adfa158dadab204f3c78db94af3e099.tar.bz2 |
fix debugging stuff (see addressbook)
-rw-r--r-- | core/pim/datebook/datebook.cpp | 6 | ||||
-rw-r--r-- | core/pim/datebook/datebookweekheaderimpl.cpp | 8 | ||||
-rw-r--r-- | core/pim/datebook/datebookweeklst.cpp | 4 | ||||
-rw-r--r-- | core/pim/datebook/dateentryimpl.cpp | 6 |
4 files changed, 12 insertions, 12 deletions
diff --git a/core/pim/datebook/datebook.cpp b/core/pim/datebook/datebook.cpp index 3d1bc0c..0a47bb8 100644 --- a/core/pim/datebook/datebook.cpp +++ b/core/pim/datebook/datebook.cpp | |||
@@ -73,5 +73,5 @@ DateBook::DateBook( QWidget *parent, const char *, WFlags f ) | |||
73 | t.start(); | 73 | t.start(); |
74 | db = new DateBookDBHack; | 74 | db = new DateBookDBHack; |
75 | Opie::Core::odebug << "loading db t=" << t.elapsed() << oendl; | 75 | odebug << "loading db t=" << t.elapsed() << oendl; |
76 | loadSettings(); | 76 | loadSettings(); |
77 | setCaption( tr("Calendar") ); | 77 | setCaption( tr("Calendar") ); |
@@ -177,5 +177,5 @@ DateBook::DateBook( QWidget *parent, const char *, WFlags f ) | |||
177 | #endif | 177 | #endif |
178 | 178 | ||
179 | Opie::Core::odebug << "done t=" << t.elapsed() << oendl; | 179 | odebug << "done t=" << t.elapsed() << oendl; |
180 | 180 | ||
181 | connect( qApp, SIGNAL( flush() ), this, SLOT( flush() ) ); | 181 | connect( qApp, SIGNAL( flush() ), this, SLOT( flush() ) ); |
@@ -903,5 +903,5 @@ static const char * beamfile = "/tmp/obex/event.vcs"; | |||
903 | void DateBook::beamEvent( const Event &e ) | 903 | void DateBook::beamEvent( const Event &e ) |
904 | { | 904 | { |
905 | Opie::Core::odebug << "trying to beam" << oendl; | 905 | odebug << "trying to beam" << oendl; |
906 | unlink( beamfile ); // delete if exists | 906 | unlink( beamfile ); // delete if exists |
907 | mkdir("/tmp/obex/", 0755); | 907 | mkdir("/tmp/obex/", 0755); |
diff --git a/core/pim/datebook/datebookweekheaderimpl.cpp b/core/pim/datebook/datebookweekheaderimpl.cpp index 123a478..7462de7 100644 --- a/core/pim/datebook/datebookweekheaderimpl.cpp +++ b/core/pim/datebook/datebookweekheaderimpl.cpp | |||
@@ -70,20 +70,20 @@ void DateBookWeekHeader::pickDate() | |||
70 | void DateBookWeekHeader::nextMonth() | 70 | void DateBookWeekHeader::nextMonth() |
71 | { | 71 | { |
72 | Opie::Core::owarn << "nextMonth()" << oendl; | 72 | owarn << "nextMonth()" << oendl; |
73 | setDate(date.addDays(28)); | 73 | setDate(date.addDays(28)); |
74 | } | 74 | } |
75 | void DateBookWeekHeader::prevMonth() | 75 | void DateBookWeekHeader::prevMonth() |
76 | { | 76 | { |
77 | Opie::Core::owarn << "prevMonth()" << oendl; | 77 | owarn << "prevMonth()" << oendl; |
78 | setDate(date.addDays(-28)); | 78 | setDate(date.addDays(-28)); |
79 | } | 79 | } |
80 | void DateBookWeekHeader::nextWeek() | 80 | void DateBookWeekHeader::nextWeek() |
81 | { | 81 | { |
82 | Opie::Core::owarn << "nextWeek()" << oendl; | 82 | owarn << "nextWeek()" << oendl; |
83 | setDate(date.addDays(7)); | 83 | setDate(date.addDays(7)); |
84 | } | 84 | } |
85 | void DateBookWeekHeader::prevWeek() | 85 | void DateBookWeekHeader::prevWeek() |
86 | { | 86 | { |
87 | Opie::Core::owarn << "prevWeek()" << oendl; | 87 | owarn << "prevWeek()" << oendl; |
88 | setDate(date.addDays(-7)); | 88 | setDate(date.addDays(-7)); |
89 | } | 89 | } |
diff --git a/core/pim/datebook/datebookweeklst.cpp b/core/pim/datebook/datebookweeklst.cpp index de74d46..fe2ab51 100644 --- a/core/pim/datebook/datebookweeklst.cpp +++ b/core/pim/datebook/datebookweeklst.cpp | |||
@@ -161,5 +161,5 @@ DateBookWeekLstEvent::DateBookWeekLstEvent(const EffectiveEvent &ev, | |||
161 | QString s,start,middle,end,day; | 161 | QString s,start,middle,end,day; |
162 | 162 | ||
163 | Opie::Core::odebug << "weeklistviewconfig=" << weeklistviewconfig << oendl; | 163 | odebug << "weeklistviewconfig=" << weeklistviewconfig << oendl; |
164 | if(weeklistviewconfig==NONE) {// No times displayed. | 164 | if(weeklistviewconfig==NONE) {// No times displayed. |
165 | // start.sprintf("%.2d:%.2d-",ev.start().hour(),ev.start().minute()); | 165 | // start.sprintf("%.2d:%.2d-",ev.start().hour(),ev.start().minute()); |
@@ -210,5 +210,5 @@ DateBookWeekLstView::DateBookWeekLstView(QValueList<EffectiveEvent> &ev, | |||
210 | config.setGroup("Main"); | 210 | config.setGroup("Main"); |
211 | int weeklistviewconfig=config.readNumEntry("weeklistviewconfig", NORMAL); | 211 | int weeklistviewconfig=config.readNumEntry("weeklistviewconfig", NORMAL); |
212 | Opie::Core::odebug << "weeklistviewconfig: " << weeklistviewconfig << oendl; | 212 | odebug << "weeklistviewconfig: " << weeklistviewconfig << oendl; |
213 | 213 | ||
214 | bStartOnMonday=onM; | 214 | bStartOnMonday=onM; |
diff --git a/core/pim/datebook/dateentryimpl.cpp b/core/pim/datebook/dateentryimpl.cpp index 42bdbe2..297da94 100644 --- a/core/pim/datebook/dateentryimpl.cpp +++ b/core/pim/datebook/dateentryimpl.cpp | |||
@@ -432,5 +432,5 @@ Event DateEntry::event() | |||
432 | time_t start_utc, end_utc; | 432 | time_t start_utc, end_utc; |
433 | 433 | ||
434 | //Opie::Core::odebug << "tz: " << timezone->currentZone() << oendl; | 434 | //odebug << "tz: " << timezone->currentZone() << oendl; |
435 | 435 | ||
436 | // get real timezone | 436 | // get real timezone |
@@ -440,5 +440,5 @@ Event DateEntry::event() | |||
440 | // set timezone | 440 | // set timezone |
441 | if ( setenv( "TZ", timezone->currentZone(), true ) != 0 ) | 441 | if ( setenv( "TZ", timezone->currentZone(), true ) != 0 ) |
442 | Opie::Core::owarn << "There was a problem setting the timezone." << oendl; | 442 | owarn << "There was a problem setting the timezone." << oendl; |
443 | 443 | ||
444 | // convert to UTC based on selected TZ (calling tzset internally) | 444 | // convert to UTC based on selected TZ (calling tzset internally) |
@@ -450,5 +450,5 @@ Event DateEntry::event() | |||
450 | if ( !realTZ.isNull() ) | 450 | if ( !realTZ.isNull() ) |
451 | if ( setenv( "TZ", realTZ, true ) != 0 ) | 451 | if ( setenv( "TZ", realTZ, true ) != 0 ) |
452 | Opie::Core::owarn << "There was a problem setting the timezone." << oendl; | 452 | owarn << "There was a problem setting the timezone." << oendl; |
453 | 453 | ||
454 | // convert UTC to local time (calling tzset internally) | 454 | // convert UTC to local time (calling tzset internally) |