┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphincontroller.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2007-05-12 10:22:01 +0000
committerPeter Penz <[email protected]>2007-05-12 10:22:01 +0000
commit794911106c265c8691689f601e4aed0862aff0b8 (patch)
treea5f2765fb289ee37d87d6c41601efe4acb993dce /src/dolphincontroller.h
parentd03b27f28850e25d087f946e3a5c99b21c76f359 (diff)
provide a hover information in the statusbar if the mouse cursor enters an item
svn path=/trunk/KDE/kdebase/apps/; revision=663779
Diffstat (limited to 'src/dolphincontroller.h')
-rw-r--r--src/dolphincontroller.h27
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();