-rw-r--r-- | korganizer/calendarview.cpp | 21 | ||||
-rw-r--r-- | korganizer/mainwindow.cpp | 3 |
2 files changed, 13 insertions, 11 deletions
diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp index 038da54..06454c2 100644 --- a/korganizer/calendarview.cpp +++ b/korganizer/calendarview.cpp @@ -950,3 +950,3 @@ bool CalendarView::synchronizeCalendar( Calendar* local, Calendar* remote, int mLastCalendarSync = KSyncManager::mRequestedSyncEvent; - qDebug("using extern time for calendar sync: %s ", mLastCalendarSync.toString().latin1() ); + qDebug("KO: using extern time for calendar sync: %s ", mLastCalendarSync.toString().latin1() ); } else { @@ -999,3 +999,3 @@ bool CalendarView::synchronizeCalendar( Calendar* local, Calendar* remote, int //qDebug("*************************** "); - qDebug("mLastCalendarSync %s full: %d",mLastCalendarSync.toString().latin1(), fullDateRange); + qDebug("KO: mLastCalendarSync %s .Full: %d",mLastCalendarSync.toString().latin1(), fullDateRange); QPtrList<Incidence> er = remote->rawIncidences(); @@ -1226,3 +1226,3 @@ bool CalendarView::synchronizeCalendar( Calendar* local, Calendar* remote, int eventLSync->setReadOnly( true ); - qDebug("********** %d %d ", mGlobalSyncMode == SYNC_MODE_NORMAL, mSyncManager->syncWithDesktop() ); + qDebug("KO: Normal sync: %d ",mGlobalSyncMode == SYNC_MODE_NORMAL ); if ( mGlobalSyncMode == SYNC_MODE_NORMAL && !mSyncManager->syncWithDesktop()) // kde is abnormal... @@ -1231,2 +1231,3 @@ bool CalendarView::synchronizeCalendar( Calendar* local, Calendar* remote, int delete eventRSync; + qDebug("KO: Sync with desktop %d ",mSyncManager->syncWithDesktop() ); QString mes; @@ -1244,3 +1245,3 @@ bool CalendarView::synchronizeCalendar( Calendar* local, Calendar* remote, int i18n("KO/Pi Synchronization"),i18n("Write back"))) { - qDebug("cancelled "); + qDebug("KO: WB cancelled "); return false; @@ -1442,3 +1443,3 @@ void CalendarView::insertBirthdays(const QString& uid, const QStringList& birthd { - qDebug("CalendarView::insertBirthdays"); + //qDebug("KO::CalendarView::insertBirthdays"); if (uid == this->name()) @@ -1449,3 +1450,3 @@ void CalendarView::insertBirthdays(const QString& uid, const QStringList& birthd - qDebug("CalView 1 %i", count); + //qDebug("CalView 1 %i", count); @@ -2511,3 +2512,3 @@ void CalendarView::showEventEditor() topLevelWidget()->setCaption( i18n("Recreating edit dialog. Please wait...") ); - qDebug("CalendarView: recreate mEventEditor %d %d", mEventEditor->width(), QApplication::desktop()->width() ); + qDebug("KO: CalendarView: recreate mEventEditor %d %d", mEventEditor->width(), QApplication::desktop()->width() ); delete mEventEditor; @@ -2526,3 +2527,3 @@ void CalendarView::showTodoEditor() topLevelWidget()->setCaption( i18n("Recreating edit dialog. Please wait...") ); - qDebug("CalendarView: recreate mTodoEditor %d %d ", mTodoEditor->width() ,QApplication::desktop()->width() ); + qDebug("KO: CalendarView: recreate mTodoEditor %d %d ", mTodoEditor->width() ,QApplication::desktop()->width() ); delete mTodoEditor; @@ -3859,3 +3860,3 @@ bool CalendarView::sync(KSyncManager* manager, QString filename, int mode) if ( filename == QDir::homeDirPath ()+"/.kdecalendardump.ics" ) { - qDebug("SyncKDE request detected!"); + qDebug("KO: SyncKDE request detected!"); } @@ -3884,3 +3885,3 @@ void CalendarView::removeSyncInfo( QString syncProfile) { - qDebug("removeSyncInfo for profile %s ", syncProfile.latin1()); + qDebug("KO: removeSyncInfo for profile %s ", syncProfile.latin1()); mCalendar->removeSyncInfo( syncProfile ); diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp index 26ea1e2..877b6f2 100644 --- a/korganizer/mainwindow.cpp +++ b/korganizer/mainwindow.cpp @@ -609,3 +609,4 @@ void MainWindow::initActions() mView, SLOT( toggleFilter() ) ); - action = new QAction( i18n("Toggle Allday"), i18n("Toggle Allday"), 0, this ); + icon = loadPixmap( pathString + "allday" ); + action = new QAction( i18n("Toggle Allday"), icon,i18n("Toggle Allday"), 0, this ); action->addTo( viewMenu ); |