summaryrefslogtreecommitdiffabout
path: root/korganizer/komonthview.cpp
authorzautrix <zautrix>2005-02-06 15:21:01 (UTC)
committer zautrix <zautrix>2005-02-06 15:21:01 (UTC)
commit38898c49275bf27fb8c2df96d145f2a5abb62331 (patch) (unidiff)
treeb96f0a336fccf4d6c67e6a4b5c1239b4d647b3b9 /korganizer/komonthview.cpp
parent26b0c69fb3b11c29475ec02b2cfe52e33eb24e5f (diff)
downloadkdepimpi-38898c49275bf27fb8c2df96d145f2a5abb62331.zip
kdepimpi-38898c49275bf27fb8c2df96d145f2a5abb62331.tar.gz
kdepimpi-38898c49275bf27fb8c2df96d145f2a5abb62331.tar.bz2
fixxeess
Diffstat (limited to 'korganizer/komonthview.cpp') (more/less context) (show whitespace changes)
-rw-r--r--korganizer/komonthview.cpp18
1 files changed, 15 insertions, 3 deletions
diff --git a/korganizer/komonthview.cpp b/korganizer/komonthview.cpp
index 5926abe..ffb2e1e 100644
--- a/korganizer/komonthview.cpp
+++ b/korganizer/komonthview.cpp
@@ -555,2 +555,3 @@ void MonthViewCell::insertTodo(Todo *todo)
555 QString text; 555 QString text;
556 mItemList->setFocusPolicy(WheelFocus);
556 if (todo->hasDueDate()) { 557 if (todo->hasDueDate()) {
@@ -561,3 +562,3 @@ void MonthViewCell::insertTodo(Todo *todo)
561 } 562 }
562 text += i18n("Td: %1").arg(todo->summary()); 563 text += i18n("T: %1").arg(todo->summary());
563 564
@@ -784,3 +785,2 @@ void MonthViewCell::selection( QListBoxItem *item )
784 if ( !item ) return; 785 if ( !item ) return;
785
786 mMonthView->setSelectedCell( this ); 786 mMonthView->setSelectedCell( this );
@@ -1267,2 +1267,6 @@ void KOMonthView::resizeEvent(QResizeEvent * e)
1267 if ( ignoreResizeEvent ) { 1267 if ( ignoreResizeEvent ) {
1268 int diff = e->size().height() - e->oldSize().height();
1269 if ( diff < 0 )
1270 diff = diff * (-1);
1271 if ( diff == ignoreResizeEventHeight ) {
1268 qDebug("KOMonthView::resizeEvent ignored "); 1272 qDebug("KOMonthView::resizeEvent ignored ");
@@ -1271,2 +1275,4 @@ void KOMonthView::resizeEvent(QResizeEvent * e)
1271 } 1275 }
1276 ignoreResizeEvent = 0;
1277 }
1272 if ( e->size().width()+ e->size().height() < 240 ) 1278 if ( e->size().width()+ e->size().height() < 240 )
@@ -1513,3 +1519,3 @@ void KOMonthView::setSelectedCell( MonthViewCell *cell )
1513{ 1519{
1514 // qDebug("KOMonthView::setSelectedCell "); 1520 //qDebug("KOMonthView::setSelectedCell %x ", cell);
1515 if ( mSelectedCell && mSelectedCell != cell ) { 1521 if ( mSelectedCell && mSelectedCell != cell ) {
@@ -1552,2 +1558,5 @@ void KOMonthView::keyPressEvent ( QKeyEvent * e )
1552 emit prevMonth(); 1558 emit prevMonth();
1559 if ( mShowWeekView )
1560 mCellsW[0]->setFocus();
1561 else
1553 mCells[0]->setFocus(); 1562 mCells[0]->setFocus();
@@ -1559,2 +1568,5 @@ void KOMonthView::keyPressEvent ( QKeyEvent * e )
1559 emit nextMonth(); 1568 emit nextMonth();
1569 if ( mShowWeekView )
1570 mCellsW[0]->setFocus();
1571 else
1560 mCells[0]->setFocus(); 1572 mCells[0]->setFocus();