summaryrefslogtreecommitdiffabout
path: root/korganizer/koviewmanager.cpp
authorzautrix <zautrix>2005-03-26 23:07:01 (UTC)
committer zautrix <zautrix>2005-03-26 23:07:01 (UTC)
commit9963563126c91d721406f24a49548b1d8f3dc415 (patch) (side-by-side diff)
tree925a37684d46d8e89e9f5cbfb647d5b625a50c00 /korganizer/koviewmanager.cpp
parent46b94158f6b115e175516a8432ec5b71f1403834 (diff)
downloadkdepimpi-9963563126c91d721406f24a49548b1d8f3dc415.zip
kdepimpi-9963563126c91d721406f24a49548b1d8f3dc415.tar.gz
kdepimpi-9963563126c91d721406f24a49548b1d8f3dc415.tar.bz2
fix
Diffstat (limited to 'korganizer/koviewmanager.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/koviewmanager.cpp33
1 files changed, 17 insertions, 16 deletions
diff --git a/korganizer/koviewmanager.cpp b/korganizer/koviewmanager.cpp
index b5de4a1..e80b3fc 100644
--- a/korganizer/koviewmanager.cpp
+++ b/korganizer/koviewmanager.cpp
@@ -203,7 +203,7 @@ void KOViewManager::showNextView()
if (mCurrentView == mWhatsNextView) goto NEXT_X;
- if (mCurrentView == mAgendaView && mFlagShowNextxDays) goto LIST;
+ if (mCurrentView == mAgendaView && mFlagShowNextxDays) goto JOURNAL;
- if (mCurrentView == mListView ) goto DAY_1;
+ if (mCurrentView == mJournalView ) goto DAY_1;
if (mCurrentView == mAgendaView && mCurrentAgendaView == 1 ) goto DAY_5;
@@ -215,14 +215,17 @@ void KOViewManager::showNextView()
if (mCurrentView == mMonthView && KOPrefs::instance()->mMonthViewWeek) goto MONTH;
- if (mCurrentView == mMonthView ) goto TODO;
+ if (mCurrentView == mMonthView ) goto LIST;
+
+ if (mCurrentView == mListView ) goto TODO;
+
+ // if (mCurrentView == mTodoView ) goto LIST;
- if (mCurrentView == mTodoView ) goto JOURNAL;
NEXT:
if ( KOPrefs::instance()->mShowIconNext ) { showWhatsNextView();return ;}
NEXT_X:
- if ( KOPrefs::instance()->mShowIconNextDays ) { showNextXView() ;return ;}
- LIST:
- if ( KOPrefs::instance()->mShowIconList ) { showListView() ;return ;}
+ if ( KOPrefs::instance()->mShowIconNextDays ) { showNextXView() ;return ;}
+ JOURNAL:
+ if ( KOPrefs::instance()->mShowIconJournal ) { showJournalView() ;return ;}
DAY_1:
if ( KOPrefs::instance()->mShowIconDay1 ) { showDayView() ;return ;}
@@ -235,19 +238,17 @@ void KOViewManager::showNextView()
MONTH:
if ( KOPrefs::instance()->mShowIconMonth ) { showMonthView();return ;}
+ LIST:
+ if ( KOPrefs::instance()->mShowIconList ) { showListView() ;return ;}
TODO:
if ( KOPrefs::instance()->mShowIconTodoview ) { showTodoView() ;return ;}
- JOURNAL:
- if ( KOPrefs::instance()->mShowIconJournal ) { showJournalView() ;return ;}
-
-
if ( KOPrefs::instance()->mShowIconNext ) { showWhatsNextView();return ;}
if ( KOPrefs::instance()->mShowIconNextDays ) { showNextXView() ;return ;}
-
- if ( KOPrefs::instance()->mShowIconList ) { showListView() ;return ;}
- if ( KOPrefs::instance()->mShowIconDay1 ) { showDayView() ;return ;}
+ if ( KOPrefs::instance()->mShowIconJournal ) { showJournalView() ;return ;}
+ if ( KOPrefs::instance()->mShowIconDay1 ) { showDayView() ;return ;}
+
if ( KOPrefs::instance()->mShowIconDay5 ) { showWorkWeekView() ;return ;}
@@ -258,7 +259,7 @@ void KOViewManager::showNextView()
if ( KOPrefs::instance()->mShowIconMonth ) { showMonthView();return ;}
- if ( KOPrefs::instance()->mShowIconTodoview ) { showTodoView() ;return ;}
+ if ( KOPrefs::instance()->mShowIconList ) { showListView() ;return ;}
- if ( KOPrefs::instance()->mShowIconJournal ) { showJournalView() ;return ;}
+ if ( KOPrefs::instance()->mShowIconTodoview ) { showTodoView() ;return ;}