author | zautrix <zautrix> | 2005-07-05 05:29:02 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-07-05 05:29:02 (UTC) |
commit | 5992ea9025ebddde8be72322c90aac8edeaf4d1c (patch) (unidiff) | |
tree | f0d9385d80fe74af453aa23fd69715d66aeaee12 | |
parent | 671d832454c8b68e0bb44e439f28fb1c768e033d (diff) | |
download | kdepimpi-5992ea9025ebddde8be72322c90aac8edeaf4d1c.zip kdepimpi-5992ea9025ebddde8be72322c90aac8edeaf4d1c.tar.gz kdepimpi-5992ea9025ebddde8be72322c90aac8edeaf4d1c.tar.bz2 |
rf
-rw-r--r-- | korganizer/koagenda.cpp | 6 | ||||
-rw-r--r-- | korganizer/koagendaitem.cpp | 11 | ||||
-rw-r--r-- | korganizer/koagendaitem.h | 1 |
3 files changed, 15 insertions, 3 deletions
diff --git a/korganizer/koagenda.cpp b/korganizer/koagenda.cpp index 01cef35..0280c74 100644 --- a/korganizer/koagenda.cpp +++ b/korganizer/koagenda.cpp | |||
@@ -1668,4 +1668,6 @@ void KOAgenda::updateTodo( Todo * todo, int days, bool remove) | |||
1668 | itemit->repaintMe(); | 1668 | itemit->repaintMe(); |
1669 | globalFlagBlockAgendaItemUpdate = 1; | 1669 | globalFlagBlockAgendaItemUpdate = 1; |
1670 | itemit->repaint(); | 1670 | //qDebug("sigleshot "); |
1671 | QTimer::singleShot( 0, itemit, SLOT ( repaintItem() )); | ||
1672 | //itemit->repaint( false ); repaintItem() | ||
1671 | } | 1673 | } |
diff --git a/korganizer/koagendaitem.cpp b/korganizer/koagendaitem.cpp index f855b03..8675ff6 100644 --- a/korganizer/koagendaitem.cpp +++ b/korganizer/koagendaitem.cpp | |||
@@ -494,5 +494,13 @@ QPixmap * KOAgendaItem::paintPixAllday() | |||
494 | 494 | ||
495 | void KOAgendaItem::repaintItem() | ||
496 | { | ||
497 | globalFlagBlockAgendaItemPaint = 0; | ||
498 | globalFlagBlockAgenda = 0; | ||
499 | //qDebug("AAA "); | ||
500 | repaint( false ); | ||
501 | //qDebug("BBB "); | ||
502 | } | ||
495 | void KOAgendaItem::paintEvent ( QPaintEvent *e ) | 503 | void KOAgendaItem::paintEvent ( QPaintEvent *e ) |
496 | { | 504 | { |
497 | 505 | qDebug("CCC "); | |
498 | if ( globalFlagBlockAgendaItemPaint ) | 506 | if ( globalFlagBlockAgendaItemPaint ) |
@@ -501,2 +509,3 @@ void KOAgendaItem::paintEvent ( QPaintEvent *e ) | |||
501 | return; | 509 | return; |
510 | qDebug("DDD "); | ||
502 | int yy; | 511 | int yy; |
diff --git a/korganizer/koagendaitem.h b/korganizer/koagendaitem.h index 3ed68b0..99c564a 100644 --- a/korganizer/koagendaitem.h +++ b/korganizer/koagendaitem.h | |||
@@ -113,2 +113,3 @@ class KOAgendaItem : public QWidget | |||
113 | void select(bool=true); | 113 | void select(bool=true); |
114 | void repaintItem(); | ||
114 | 115 | ||