summaryrefslogtreecommitdiffabout
path: root/korganizer/koviewmanager.cpp
authorzautrix <zautrix>2005-01-31 22:41:05 (UTC)
committer zautrix <zautrix>2005-01-31 22:41:05 (UTC)
commit336678d691a8c3346c92a4e561ac7938ed532003 (patch) (side-by-side diff)
treed4c12ab5536003910727b4478f70372324b7c00d /korganizer/koviewmanager.cpp
parent949ead6797c44f632a4addd2e6aae1fb88f37816 (diff)
downloadkdepimpi-336678d691a8c3346c92a4e561ac7938ed532003.zip
kdepimpi-336678d691a8c3346c92a4e561ac7938ed532003.tar.gz
kdepimpi-336678d691a8c3346c92a4e561ac7938ed532003.tar.bz2
fixxx
Diffstat (limited to 'korganizer/koviewmanager.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/koviewmanager.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/korganizer/koviewmanager.cpp b/korganizer/koviewmanager.cpp
index db23882..30f5fb1 100644
--- a/korganizer/koviewmanager.cpp
+++ b/korganizer/koviewmanager.cpp
@@ -113,6 +113,9 @@ void KOViewManager::showDateView( int view, QDate date)
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);
@@ -137,3 +140,7 @@ void KOViewManager::showDateView( int view, QDate date)
mCurrentAgendaView = 3 ;
- }
+ } if (view == 9) {
+ showWeekView();
+ } else if (view == 10) {
+ mMainView->dateNavigator()->selectDates( date,mMainView->dateNavigator()->selectedDates().count() );
+ }