[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/workspace/plasma/applets/tasks
From:       Aaron J. Seigo <aseigo () kde ! org>
Date:       2008-01-23 3:09:57
Message-ID: 1201057797.506679.6831.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 765066 by aseigo:

reimplement the hover events so that we don't get useless animations in the group \
items and cause ourselves to repaint constantly.o oi vey.


 M  +10 -0     taskgroupitem.cpp  
 M  +2 -0      taskgroupitem.h  


--- trunk/KDE/kdebase/workspace/plasma/applets/tasks/taskgroupitem.cpp #765065:765066
@@ -308,4 +308,14 @@
     }
 }
 
+void TaskGroupItem::hoverEnterEvent(QGraphicsSceneHoverEvent *event)
+{
+    Widget::hoverEnterEvent(event);
+}
+
+void TaskGroupItem::hoverLeaveEvent(QGraphicsSceneHoverEvent *event)
+{
+    Widget::hoverLeaveEvent(event);
+}
+
 #include "taskgroupitem.moc"
--- trunk/KDE/kdebase/workspace/plasma/applets/tasks/taskgroupitem.h #765065:765066
@@ -131,6 +131,8 @@
 protected:
     /** Reimplemented **/
     virtual void timerEvent(QTimerEvent *event);
+    virtual void hoverEnterEvent(QGraphicsSceneHoverEvent *event);
+    virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent *event);
 
 private:
     enum DropAction


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic