author | zautrix <zautrix> | 2005-04-17 14:27:55 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-04-17 14:27:55 (UTC) |
commit | b411ec2d8961d07c3e2e9aefc9e04322b7851859 (patch) (unidiff) | |
tree | 79e2a70f1ad32562456b0bfa03aa2b916095fbb0 /korganizer/koviewmanager.cpp | |
parent | 2d81c75c4ffb8f144ae58e90e68496500d07a19e (diff) | |
download | kdepimpi-b411ec2d8961d07c3e2e9aefc9e04322b7851859.zip kdepimpi-b411ec2d8961d07c3e2e9aefc9e04322b7851859.tar.gz kdepimpi-b411ec2d8961d07c3e2e9aefc9e04322b7851859.tar.bz2 |
qdebugcleanup
Diffstat (limited to 'korganizer/koviewmanager.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | korganizer/koviewmanager.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/korganizer/koviewmanager.cpp b/korganizer/koviewmanager.cpp index f1f2dd2..3aa9b6c 100644 --- a/korganizer/koviewmanager.cpp +++ b/korganizer/koviewmanager.cpp | |||
@@ -529,57 +529,49 @@ void KOViewManager::showDayView() | |||
529 | mMainView->dateNavigator()->selectDates( 1 ); | 529 | mMainView->dateNavigator()->selectDates( 1 ); |
530 | mCurrentAgendaView = 1 ; | 530 | mCurrentAgendaView = 1 ; |
531 | 531 | ||
532 | } | 532 | } |
533 | 533 | ||
534 | void KOViewManager::showWorkWeekView() | 534 | void KOViewManager::showWorkWeekView() |
535 | { | 535 | { |
536 | mCurrentAgendaView = mMainView->dateNavigator()->selectedDates().count(); | 536 | mCurrentAgendaView = mMainView->dateNavigator()->selectedDates().count(); |
537 | mFlagShowNextxDays = false; | 537 | mFlagShowNextxDays = false; |
538 | globalFlagBlockAgenda = 1; | 538 | globalFlagBlockAgenda = 1; |
539 | globalFlagBlockLabel = 1; | 539 | globalFlagBlockLabel = 1; |
540 | if ( mCurrentAgendaView != 5 ) | 540 | if ( mCurrentAgendaView != 5 ) |
541 | mCurrentAgendaView = -1; | 541 | mCurrentAgendaView = -1; |
542 | showAgendaView(); | 542 | showAgendaView(); |
543 | qApp->processEvents(); | 543 | qApp->processEvents(); |
544 | globalFlagBlockAgenda = 2; | 544 | globalFlagBlockAgenda = 2; |
545 | globalFlagBlockLabel = 0; | 545 | globalFlagBlockLabel = 0; |
546 | mMainView->dateNavigator()->selectWorkWeek(); | 546 | mMainView->dateNavigator()->selectWorkWeek(); |
547 | mCurrentAgendaView = 5 ; | 547 | mCurrentAgendaView = 5 ; |
548 | 548 | ||
549 | } | 549 | } |
550 | 550 | ||
551 | void KOViewManager::showWeekView() | 551 | void KOViewManager::showWeekView() |
552 | { | 552 | { |
553 | /* | 553 | |
554 | globalFlagBlockAgenda = 2; | ||
555 | qDebug("4globalFlagBlockAgenda = 2; "); | ||
556 | //globalFlagBlockPainting = true; | ||
557 | mMainView->dateNavigator()->selectWeek(); | ||
558 | showAgendaView(); | ||
559 | */ | ||
560 | |||
561 | |||
562 | mCurrentAgendaView = mMainView->dateNavigator()->selectedDates().count(); | 554 | mCurrentAgendaView = mMainView->dateNavigator()->selectedDates().count(); |
563 | mFlagShowNextxDays = false; | 555 | mFlagShowNextxDays = false; |
564 | globalFlagBlockAgenda = 1; | 556 | globalFlagBlockAgenda = 1; |
565 | globalFlagBlockLabel = 1; | 557 | globalFlagBlockLabel = 1; |
566 | if ( mCurrentAgendaView != 7 ) | 558 | if ( mCurrentAgendaView != 7 ) |
567 | mCurrentAgendaView = -1; | 559 | mCurrentAgendaView = -1; |
568 | showAgendaView(); | 560 | showAgendaView(); |
569 | qApp->processEvents(); | 561 | qApp->processEvents(); |
570 | globalFlagBlockAgenda = 2; | 562 | globalFlagBlockAgenda = 2; |
571 | globalFlagBlockLabel = 0; | 563 | globalFlagBlockLabel = 0; |
572 | mMainView->dateNavigator()->selectWeek(); | 564 | mMainView->dateNavigator()->selectWeek(); |
573 | mCurrentAgendaView = 7 ; | 565 | mCurrentAgendaView = 7 ; |
574 | } | 566 | } |
575 | 567 | ||
576 | void KOViewManager::showNextXView() | 568 | void KOViewManager::showNextXView() |
577 | { | 569 | { |
578 | 570 | ||
579 | globalFlagBlockAgenda = 1; | 571 | globalFlagBlockAgenda = 1; |
580 | if ( mCurrentAgendaView != 3 ) | 572 | if ( mCurrentAgendaView != 3 ) |
581 | mCurrentAgendaView = -1; | 573 | mCurrentAgendaView = -1; |
582 | showAgendaView(KOPrefs::instance()->mFullViewMonth); | 574 | showAgendaView(KOPrefs::instance()->mFullViewMonth); |
583 | globalFlagBlockAgenda = 2; | 575 | globalFlagBlockAgenda = 2; |
584 | mMainView->dateNavigator()->selectDates( QDate::currentDate(), | 576 | mMainView->dateNavigator()->selectDates( QDate::currentDate(), |
585 | KOPrefs::instance()->mNextXDays ); | 577 | KOPrefs::instance()->mNextXDays ); |