[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/work/new_qdkrunner/krunner
From: Aaron J. Seigo <aseigo () kde ! org>
Date: 2008-05-19 18:42:19
Message-ID: 1211222539.045746.19979.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 809918 by aseigo:
single click launch please
M +3 -5 OxyResultsItems.cpp
M +5 -4 OxyResultsItems.h
--- branches/work/new_qdkrunner/krunner/OxyResultsItems.cpp #809917:809918
@@ -452,12 +452,10 @@
update();
}
-void Item::mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event)
+void Item::mouseReleaseEvent(QGraphicsSceneMouseEvent *)
{
- emit activated(this);
+ emit activated(this);
}
-void Item::mousePressEvent(QGraphicsSceneMouseEvent *)
-{
+//#include "OxyResultsItem.moc"
-}
--- branches/work/new_qdkrunner/krunner/OxyResultsItems.h #809917:809918
@@ -28,8 +28,10 @@
class QGraphicsLinearLayout;
-class Item : public QGraphicsWidget {
-Q_OBJECT
+class Item : public QGraphicsWidget
+{
+ Q_OBJECT
+
public:
Item(const Plasma::QueryMatch &match, QGraphicsWidget *parent);
~Item();
@@ -69,8 +71,7 @@
void hoverLeaveEvent(QGraphicsSceneHoverEvent *e);
void hoverEnterEvent(QGraphicsSceneHoverEvent *e);
void timerEvent(QTimerEvent *e);
- void mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event);
- void mousePressEvent(QGraphicsSceneMouseEvent *);
+ void mouseReleaseEvent(QGraphicsSceneMouseEvent *);
private:
class Private;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic