┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/kitemviews/kitemlistcontroller.h
diff options
context:
space:
mode:
authorTirtha Chatterjee <[email protected]>2011-08-29 21:13:36 +0530
committerTirtha Chatterjee <[email protected]>2011-08-29 21:13:36 +0530
commit6e6b4ce75cf3f01bad2fad34baa9ecf15a5516af (patch)
tree77a8189afa012a6d0bc38452495201243b506a6b /src/kitemviews/kitemlistcontroller.h
parentd8ce0bfe56e4df252198818db6ca2e0286ba1547 (diff)
Added the functionality to activate items by pressing 'enter' or 'return' key on them, equivalent to a mouse click.
REVIEW: 102450
Diffstat (limited to 'src/kitemviews/kitemlistcontroller.h')
-rw-r--r--src/kitemviews/kitemlistcontroller.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/kitemviews/kitemlistcontroller.h b/src/kitemviews/kitemlistcontroller.h
index 04d49854e..2e33948aa 100644
--- a/src/kitemviews/kitemlistcontroller.h
+++ b/src/kitemviews/kitemlistcontroller.h
@@ -105,13 +105,14 @@ public:
virtual bool processEvent(QEvent* event, const QTransform& transform);
signals:
- void itemClicked(int index, Qt::MouseButton button);
+ void itemActivated(int index);
+ void itemMiddleClicked(int index);
+ void contextMenuRequested(int index, const QPointF& pos);
/**
* Is emitted if the item with the index \p index gets hovered.
*/
void itemHovered(int index);
-
/**
* Is emitted if the item with the index \p index gets unhovered.
* It is assured that the signal itemHovered() for this index