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 | 1 |
8 files changed, 28 insertions, 2 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 | |||
@@ -7,3 +7,9 @@ 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 | ||
diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp index 6ed6a1c..92fd59c 100644 --- a/korganizer/calendarview.cpp +++ b/korganizer/calendarview.cpp | |||
@@ -372,2 +372,6 @@ void CalendarView::init() | |||
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 & ) ), |
diff --git a/korganizer/datenavigatorcontainer.cpp b/korganizer/datenavigatorcontainer.cpp index 11dc592..edeebdf 100644 --- a/korganizer/datenavigatorcontainer.cpp +++ b/korganizer/datenavigatorcontainer.cpp | |||
@@ -73,2 +73,4 @@ void DateNavigatorContainer::connectNavigatorView( KDateNavigator *v ) | |||
73 | SIGNAL( weekClicked( const QDate & ) ) ); | 73 | SIGNAL( weekClicked( const QDate & ) ) ); |
74 | connect( v, SIGNAL( showMonth( const QDate & ) ), | ||
75 | SIGNAL( showMonth( const QDate & ) ) ); | ||
74 | 76 | ||
diff --git a/korganizer/datenavigatorcontainer.h b/korganizer/datenavigatorcontainer.h index ac9745d..87cc59f 100644 --- a/korganizer/datenavigatorcontainer.h +++ b/korganizer/datenavigatorcontainer.h | |||
@@ -80,2 +80,3 @@ class DateNavigatorContainer: public QWidget | |||
80 | void goPrevYear(); | 80 | void goPrevYear(); |
81 | void showMonth( const QDate & ); | ||
81 | 82 | ||
diff --git a/korganizer/kdatenavigator.cpp b/korganizer/kdatenavigator.cpp index 5eccfd6..38bddc2 100644 --- a/korganizer/kdatenavigator.cpp +++ b/korganizer/kdatenavigator.cpp | |||
@@ -449,2 +449,4 @@ bool KDateNavigator::eventFilter (QObject *o,QEvent *e) | |||
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(); |
@@ -457,2 +459,3 @@ bool KDateNavigator::eventFilter (QObject *o,QEvent *e) | |||
457 | emit datesSelected( selDays ); | 459 | emit datesSelected( selDays ); |
460 | #endif | ||
458 | break; | 461 | break; |
diff --git a/korganizer/kdatenavigator.h b/korganizer/kdatenavigator.h index 93bbceb..780ebb8 100644 --- a/korganizer/kdatenavigator.h +++ b/korganizer/kdatenavigator.h | |||
@@ -88,2 +88,3 @@ class KDateNavigator: public QFrame | |||
88 | void weekClicked( const QDate &); | 88 | void weekClicked( const QDate &); |
89 | void showMonth( const QDate & ); | ||
89 | 90 | ||
diff --git a/korganizer/koviewmanager.cpp b/korganizer/koviewmanager.cpp index c6e76c4..5a2dce3 100644 --- a/korganizer/koviewmanager.cpp +++ b/korganizer/koviewmanager.cpp | |||
@@ -130,4 +130,5 @@ void KOViewManager::showDateView( int view, QDate date) | |||
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 ) { |
@@ -579,2 +580,9 @@ void KOViewManager::showMonthViewWeek() | |||
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() |
diff --git a/korganizer/koviewmanager.h b/korganizer/koviewmanager.h index 8f0bf82..6290227 100644 --- a/korganizer/koviewmanager.h +++ b/korganizer/koviewmanager.h | |||
@@ -84,2 +84,3 @@ class KOViewManager : public QObject | |||
84 | public slots: | 84 | public slots: |
85 | void showMonth( const QDate & ); | ||
85 | void showDateView( int, QDate ); | 86 | void showDateView( int, QDate ); |