From 336678d691a8c3346c92a4e561ac7938ed532003 Mon Sep 17 00:00:00 2001 From: zautrix Date: Mon, 31 Jan 2005 22:41:05 +0000 Subject: fixxx --- (limited to 'korganizer/koviewmanager.cpp') diff --git a/korganizer/koviewmanager.cpp b/korganizer/koviewmanager.cpp index db23882..30f5fb1 100644 --- a/korganizer/koviewmanager.cpp +++ b/korganizer/koviewmanager.cpp @@ -111,10 +111,13 @@ void KOViewManager::showDateView( int view, QDate date) mNewItemPopup->insertItem ( SmallIcon( pathString +"journal" ), i18n("Journal view"),7 ); #endif if ( view == 3 ) { + //mCurrentAgendaView = 1 ; mMainView->showDay( date ); } else if (view == 4 ) { + mCurrentAgendaView = 7 ; mMainView->dateNavigator()->selectDates( date, 7 ); } else if (view == 5 ) { + mCurrentAgendaView = 14 ; mMainView->dateNavigator()->selectDates( date, 14); } else if (view == 6 ) { mMainView->dateNavigator()->blockSignals( true ); @@ -135,7 +138,11 @@ void KOViewManager::showDateView( int view, QDate date) KOPrefs::instance()->mNextXDays ); mFlagShowNextxDays = true; mCurrentAgendaView = 3 ; - } + } if (view == 9) { + showWeekView(); + } else if (view == 10) { + mMainView->dateNavigator()->selectDates( date,mMainView->dateNavigator()->selectedDates().count() ); + } #if 0 dateNavigator()->blockSignals( true ); -- cgit v0.9.0.2