summaryrefslogtreecommitdiffabout
path: root/korganizer
authorzautrix <zautrix>2005-07-05 05:29:02 (UTC)
committer zautrix <zautrix>2005-07-05 05:29:02 (UTC)
commit5992ea9025ebddde8be72322c90aac8edeaf4d1c (patch) (side-by-side diff)
treef0d9385d80fe74af453aa23fd69715d66aeaee12 /korganizer
parent671d832454c8b68e0bb44e439f28fb1c768e033d (diff)
downloadkdepimpi-5992ea9025ebddde8be72322c90aac8edeaf4d1c.zip
kdepimpi-5992ea9025ebddde8be72322c90aac8edeaf4d1c.tar.gz
kdepimpi-5992ea9025ebddde8be72322c90aac8edeaf4d1c.tar.bz2
rf
Diffstat (limited to 'korganizer') (more/less context) (show whitespace changes)
-rw-r--r--korganizer/koagenda.cpp4
-rw-r--r--korganizer/koagendaitem.cpp11
-rw-r--r--korganizer/koagendaitem.h1
3 files changed, 14 insertions, 2 deletions
diff --git a/korganizer/koagenda.cpp b/korganizer/koagenda.cpp
index 01cef35..0280c74 100644
--- a/korganizer/koagenda.cpp
+++ b/korganizer/koagenda.cpp
@@ -1669,3 +1669,5 @@ void KOAgenda::updateTodo( Todo * todo, int days, bool remove)
globalFlagBlockAgendaItemUpdate = 1;
- itemit->repaint();
+ //qDebug("sigleshot ");
+ QTimer::singleShot( 0, itemit, SLOT ( repaintItem() ));
+ //itemit->repaint( false ); repaintItem()
}
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()
+void KOAgendaItem::repaintItem()
+{
+ globalFlagBlockAgendaItemPaint = 0;
+ globalFlagBlockAgenda = 0;
+ //qDebug("AAA ");
+ repaint( false );
+ //qDebug("BBB ");
+}
void KOAgendaItem::paintEvent ( QPaintEvent *e )
{
-
+ qDebug("CCC ");
if ( globalFlagBlockAgendaItemPaint )
@@ -501,2 +509,3 @@ void KOAgendaItem::paintEvent ( QPaintEvent *e )
return;
+ qDebug("DDD ");
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
void select(bool=true);
+ void repaintItem();