author | zautrix <zautrix> | 2005-03-25 21:08:48 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-03-25 21:08:48 (UTC) |
commit | 6427570041c902840fe0f557415a07bb7aa8c031 (patch) (unidiff) | |
tree | e397342aca97119927ec6c312be5ac5f953d5eec | |
parent | 4d93404e3453229e58c2ff9305beae131c9f1af9 (diff) | |
download | kdepimpi-6427570041c902840fe0f557415a07bb7aa8c031.zip kdepimpi-6427570041c902840fe0f557415a07bb7aa8c031.tar.gz kdepimpi-6427570041c902840fe0f557415a07bb7aa8c031.tar.bz2 |
fix
-rw-r--r-- | bin/kdepim/WhatsNew.txt | 8 | ||||
-rw-r--r-- | korganizer/calendarview.cpp | 4 | ||||
-rw-r--r-- | korganizer/datenavigatorcontainer.cpp | 2 | ||||
-rw-r--r-- | korganizer/datenavigatorcontainer.h | 1 | ||||
-rw-r--r-- | korganizer/kdatenavigator.cpp | 3 | ||||
-rw-r--r-- | korganizer/kdatenavigator.h | 1 | ||||
-rw-r--r-- | korganizer/koviewmanager.cpp | 10 | ||||
-rw-r--r-- | korganizer/koviewmanager.h | 3 |
8 files changed, 29 insertions, 3 deletions
diff --git a/bin/kdepim/WhatsNew.txt b/bin/kdepim/WhatsNew.txt index 1c2bff8..6f8b041 100644 --- a/bin/kdepim/WhatsNew.txt +++ b/bin/kdepim/WhatsNew.txt | |||
@@ -5,7 +5,13 @@ Info about the changes in new versions of KDE-Pim/Pi | |||
5 | Fixed another SMTP problem in OM/Pi. | 5 | Fixed another SMTP problem in OM/Pi. |
6 | Some small changed in the new datenavigator in KO/Pi. | 6 | Some small changed in the new datenavigator in KO/Pi. |
7 | Changed default setting for new filter in KA/Pi to "exclude categories". | 7 | Changed default setting for new filter in KA/Pi to "exclude categories". |
8 | Changed the default font size for 640x480 display | 8 | Changed the default font size for 640x480 display . |
9 | Changed popup menu behaviour in agenda and list view. | ||
10 | Fixed some layout problems of the date label size in the month view. | ||
11 | Made month view update faster. | ||
12 | Made first datenavigator repainting faster. | ||
13 | Changed the title of the event/todo edit dialogs. | ||
14 | |||
9 | 15 | ||
10 | ********** VERSION 2.0.20 ************ | 16 | ********** VERSION 2.0.20 ************ |
11 | 17 | ||
diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp index 6ed6a1c..92fd59c 100644 --- a/korganizer/calendarview.cpp +++ b/korganizer/calendarview.cpp | |||
@@ -370,6 +370,10 @@ void CalendarView::init() | |||
370 | mDateNavigator, SLOT( selectDates( const KCal::DateList & ) ) ); | 370 | mDateNavigator, SLOT( selectDates( const KCal::DateList & ) ) ); |
371 | 371 | ||
372 | 372 | ||
373 | |||
374 | connect( mDateNavigator, SIGNAL( showMonth( const QDate & ) ), | ||
375 | mViewManager, SLOT( showMonth( const QDate & ) ) ); | ||
376 | |||
373 | connect( mDateNavigator, SIGNAL( weekClicked( const QDate & ) ), | 377 | connect( mDateNavigator, SIGNAL( weekClicked( const QDate & ) ), |
374 | mNavigator, SLOT( selectWeek( const QDate & ) ) ); | 378 | mNavigator, SLOT( selectWeek( const QDate & ) ) ); |
375 | 379 | ||
diff --git a/korganizer/datenavigatorcontainer.cpp b/korganizer/datenavigatorcontainer.cpp index 11dc592..edeebdf 100644 --- a/korganizer/datenavigatorcontainer.cpp +++ b/korganizer/datenavigatorcontainer.cpp | |||
@@ -71,6 +71,8 @@ void DateNavigatorContainer::connectNavigatorView( KDateNavigator *v ) | |||
71 | #endif | 71 | #endif |
72 | connect( v, SIGNAL( weekClicked( const QDate & ) ), | 72 | connect( v, SIGNAL( weekClicked( const QDate & ) ), |
73 | SIGNAL( weekClicked( const QDate & ) ) ); | 73 | SIGNAL( weekClicked( const QDate & ) ) ); |
74 | connect( v, SIGNAL( showMonth( const QDate & ) ), | ||
75 | SIGNAL( showMonth( const QDate & ) ) ); | ||
74 | 76 | ||
75 | connect( v, SIGNAL( goPrevious() ), SIGNAL( goPrevious() ) ); | 77 | connect( v, SIGNAL( goPrevious() ), SIGNAL( goPrevious() ) ); |
76 | connect( v, SIGNAL( goNext() ), SIGNAL( goNext() ) ); | 78 | connect( v, SIGNAL( goNext() ), SIGNAL( goNext() ) ); |
diff --git a/korganizer/datenavigatorcontainer.h b/korganizer/datenavigatorcontainer.h index ac9745d..87cc59f 100644 --- a/korganizer/datenavigatorcontainer.h +++ b/korganizer/datenavigatorcontainer.h | |||
@@ -78,6 +78,7 @@ class DateNavigatorContainer: public QWidget | |||
78 | void goPrevMonth(); | 78 | void goPrevMonth(); |
79 | void goNextYear(); | 79 | void goNextYear(); |
80 | void goPrevYear(); | 80 | void goPrevYear(); |
81 | void showMonth( const QDate & ); | ||
81 | 82 | ||
82 | void monthSelected( int month ); | 83 | void monthSelected( int month ); |
83 | 84 | ||
diff --git a/korganizer/kdatenavigator.cpp b/korganizer/kdatenavigator.cpp index 5eccfd6..38bddc2 100644 --- a/korganizer/kdatenavigator.cpp +++ b/korganizer/kdatenavigator.cpp | |||
@@ -447,6 +447,8 @@ bool KDateNavigator::eventFilter (QObject *o,QEvent *e) | |||
447 | if (o == headings[i]) { | 447 | if (o == headings[i]) { |
448 | KCal::DateList selDays; | 448 | KCal::DateList selDays; |
449 | QDate date = daymatrix->getDate(14); | 449 | QDate date = daymatrix->getDate(14); |
450 | emit showMonth(date ); | ||
451 | #if 0 | ||
450 | int dio = date.daysInMonth(); | 452 | int dio = date.daysInMonth(); |
451 | int j; | 453 | int j; |
452 | int ye = date.year(); | 454 | int ye = date.year(); |
@@ -455,6 +457,7 @@ bool KDateNavigator::eventFilter (QObject *o,QEvent *e) | |||
455 | selDays.append( QDate( ye, mo, j ) ); | 457 | selDays.append( QDate( ye, mo, j ) ); |
456 | } | 458 | } |
457 | emit datesSelected( selDays ); | 459 | emit datesSelected( selDays ); |
460 | #endif | ||
458 | break; | 461 | break; |
459 | } | 462 | } |
460 | } | 463 | } |
diff --git a/korganizer/kdatenavigator.h b/korganizer/kdatenavigator.h index 93bbceb..780ebb8 100644 --- a/korganizer/kdatenavigator.h +++ b/korganizer/kdatenavigator.h | |||
@@ -86,6 +86,7 @@ class KDateNavigator: public QFrame | |||
86 | void datesSelected( const KCal::DateList & ); | 86 | void datesSelected( const KCal::DateList & ); |
87 | void eventDropped( Event * ); | 87 | void eventDropped( Event * ); |
88 | void weekClicked( const QDate &); | 88 | void weekClicked( const QDate &); |
89 | void showMonth( const QDate & ); | ||
89 | 90 | ||
90 | void goPrevious(); | 91 | void goPrevious(); |
91 | void goNext(); | 92 | void goNext(); |
diff --git a/korganizer/koviewmanager.cpp b/korganizer/koviewmanager.cpp index c6e76c4..5a2dce3 100644 --- a/korganizer/koviewmanager.cpp +++ b/korganizer/koviewmanager.cpp | |||
@@ -128,8 +128,9 @@ void KOViewManager::showDateView( int view, QDate date) | |||
128 | lastDate = mMainView->dateNavigator()->selectedDates().first(); | 128 | lastDate = mMainView->dateNavigator()->selectedDates().first(); |
129 | lastCount = mMainView->dateNavigator()->selectedDates().count(); | 129 | lastCount = mMainView->dateNavigator()->selectedDates().count(); |
130 | lastNDMode = savemFlagShowNextxDays; | 130 | lastNDMode = savemFlagShowNextxDays; |
131 | mMainView->showDay( date ); | 131 | mMainView->dateNavigator()->selectDate( date ); |
132 | lastMode = 1; | 132 | lastMode = 1; |
133 | mCurrentAgendaView = 1 ; | ||
133 | } else if (view == 4 ) { | 134 | } else if (view == 4 ) { |
134 | mCurrentAgendaView = 7 ; | 135 | mCurrentAgendaView = 7 ; |
135 | mMainView->dateNavigator()->selectDates( date, 7 ); | 136 | mMainView->dateNavigator()->selectDates( date, 7 ); |
@@ -577,6 +578,13 @@ void KOViewManager::showMonthViewWeek() | |||
577 | showView(mMonthView, full ); | 578 | showView(mMonthView, full ); |
578 | } | 579 | } |
579 | 580 | ||
581 | void KOViewManager::showMonth( const QDate & date ) | ||
582 | { | ||
583 | mMainView->dateNavigator()->blockSignals( true ); | ||
584 | mMainView->dateNavigator()->selectDate( date ); | ||
585 | mMainView->dateNavigator()->blockSignals( false ); | ||
586 | showMonthView(); | ||
587 | } | ||
580 | void KOViewManager::showMonthView() | 588 | void KOViewManager::showMonthView() |
581 | { | 589 | { |
582 | 590 | ||
diff --git a/korganizer/koviewmanager.h b/korganizer/koviewmanager.h index 8f0bf82..6290227 100644 --- a/korganizer/koviewmanager.h +++ b/korganizer/koviewmanager.h | |||
@@ -81,7 +81,8 @@ class KOViewManager : public QObject | |||
81 | void printWNV(); | 81 | void printWNV(); |
82 | void signalFullScreen( bool ); | 82 | void signalFullScreen( bool ); |
83 | void signalAgendaView( bool ); | 83 | void signalAgendaView( bool ); |
84 | public slots: | 84 | public slots: |
85 | void showMonth( const QDate & ); | ||
85 | void showDateView( int, QDate ); | 86 | void showDateView( int, QDate ); |
86 | void updateView(); | 87 | void updateView(); |
87 | void showWhatsNextView(); | 88 | void showWhatsNextView(); |