diff options
Diffstat (limited to 'src/dolphincontroller.h')
| -rw-r--r-- | src/dolphincontroller.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/dolphincontroller.h b/src/dolphincontroller.h index b9431f3a7..1f277e133 100644 --- a/src/dolphincontroller.h +++ b/src/dolphincontroller.h @@ -84,7 +84,23 @@ public: inline bool isZoomOutPossible() const; public slots: + /** + * Emits the signal itemTriggered(). The method should be invoked by the + * controller parent whenever the user has triggered an item. */ void triggerItem(const QModelIndex& index); + + /** + * Emits the signal itemEntered(). The method should be invoked by + * the controller parent whenever the mouse cursor is above an item. + */ + void emitItemEntered(const QModelIndex& index); + + /** + * Emits the signal viewportEntered(). The method should be invoked by + * the controller parent whenever the mouse cursor is above the viewport. + */ + void emitViewportEntered(); + void indicateSelectionChange(); signals: @@ -136,6 +152,17 @@ signals: */ void itemTriggered(const QModelIndex& index); + /** + * Is emitted if the mouse cursor has entered the item + * given by \a index. + */ + void itemEntered(const QModelIndex& index); + + /** + * Is emitted if the mouse cursor has entered + * the viewport. */ + void viewportEntered(); + /** Is emitted if the selection has been changed by the user. */ void selectionChanged(); |
