author | zautrix <zautrix> | 2005-06-29 20:23:04 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-06-29 20:23:04 (UTC) |
commit | 8954bae7bb5afc9706e37e808e9c1e237399f214 (patch) (side-by-side diff) | |
tree | 18932b26b38e319cc4c568f4624678fa50531c37 /korganizer/koviewmanager.cpp | |
parent | 77aa480c9891a90c9b492618ebfd2b20f2d0727a (diff) | |
download | kdepimpi-8954bae7bb5afc9706e37e808e9c1e237399f214.zip kdepimpi-8954bae7bb5afc9706e37e808e9c1e237399f214.tar.gz kdepimpi-8954bae7bb5afc9706e37e808e9c1e237399f214.tar.bz2 |
fixxx
-rw-r--r-- | korganizer/koviewmanager.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/korganizer/koviewmanager.cpp b/korganizer/koviewmanager.cpp index 7b307f7..bd191d8 100644 --- a/korganizer/koviewmanager.cpp +++ b/korganizer/koviewmanager.cpp @@ -468,6 +468,7 @@ void KOViewManager::showListView() showView(mListView, KOPrefs::instance()->mFullViewTodo); //mFlagShowNextxDays = temp; KOPrefs::instance()->mCurrentDisplayedView = VIEW_L_VIEW; + mMainView->setScrollBarStep( 7 ); } void KOViewManager::showAgendaView( bool fullScreen ) @@ -535,6 +536,7 @@ void KOViewManager::showAgendaView( bool fullScreen ) KOPrefs::instance()->mCurrentDisplayedView = VIEW_A_VIEW; showView( mAgendaView, full); KOPrefs::instance()->mCurrentDisplayedView = VIEW_A_VIEW; + mMainView->setScrollBarStep( 1 ); } void KOViewManager::showDayView() @@ -551,6 +553,7 @@ void KOViewManager::showDayView() globalFlagBlockLabel = 0; mMainView->dateNavigator()->selectDates( 1 ); mCurrentAgendaView = 1 ; + mMainView->setScrollBarStep( 1 ); } @@ -568,6 +571,7 @@ void KOViewManager::showWorkWeekView() globalFlagBlockLabel = 0; mMainView->dateNavigator()->selectWorkWeek(); mCurrentAgendaView = 5 ; + mMainView->setScrollBarStep( 1 ); } @@ -586,6 +590,7 @@ void KOViewManager::showWeekView() globalFlagBlockLabel = 0; mMainView->dateNavigator()->selectWeek(); mCurrentAgendaView = 7 ; + mMainView->setScrollBarStep( 1 ); } void KOViewManager::showNextXView() @@ -602,6 +607,7 @@ void KOViewManager::showNextXView() mFlagShowNextxDays = true; mCurrentAgendaView = 3 ; KOPrefs::instance()->mCurrentDisplayedView = VIEW_NX_VIEW; + mMainView->setScrollBarStep( KOPrefs::instance()->mNextXDays ); } bool KOViewManager::showsNextDays() { @@ -695,6 +701,7 @@ void KOViewManager::showMonthViewWeek() showView(mMonthView, full ); mMonthView->setKeyBFocus(); KOPrefs::instance()->mCurrentDisplayedView = VIEW_ML_VIEW ; + mMainView->setScrollBarStep( 7 ); } void KOViewManager::showMonth( const QDate & date ) @@ -727,6 +734,7 @@ void KOViewManager::showMonthView() showView(mMonthView, full ); mMonthView->setKeyBFocus(); KOPrefs::instance()->mCurrentDisplayedView = VIEW_M_VIEW ; + mMainView->setScrollBarStep( 7 ); } @@ -784,6 +792,7 @@ void KOViewManager::showTodoView() globalFlagBlockAgenda = 1; showView( mTodoView, true ); KOPrefs::instance()->mCurrentDisplayedView = VIEW_T_VIEW ; + mMainView->setScrollBarStep( 7 ); } @@ -803,6 +812,7 @@ void KOViewManager::showJournalView() showView(mJournalView); mMainView->dateNavigator()->selectDates( 1 ); KOPrefs::instance()->mCurrentDisplayedView = VIEW_J_VIEW ; + mMainView->setScrollBarStep( 1 ); } void KOViewManager::showTimeSpanView() |