From 77a576335ca8ef6a8921b766c43b07b6eb65e80f Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Fri, 5 Oct 2007 22:32:13 +0000 Subject: fixed most regressions due to the previous column-view refactoring svn path=/trunk/KDE/kdebase/apps/; revision=721706 --- src/dolphincontroller.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/dolphincontroller.h') diff --git a/src/dolphincontroller.h b/src/dolphincontroller.h index 3a2720471..31b80e7bf 100644 --- a/src/dolphincontroller.h +++ b/src/dolphincontroller.h @@ -100,7 +100,7 @@ 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); + void triggerItem(const KFileItem& item); /** * Emits the signal itemEntered(). The method should be invoked by @@ -171,12 +171,12 @@ signals: void additionalInfoCountChanged(int count); /** - * Is emitted if the item with the index \a index should be triggered. + * Is emitted if the item \a item should be triggered. * Usually triggering on a directory opens the directory, triggering - * on a file opens the corresponding application. - * Emitted with an invalid \a index when clicking on the viewport itself. + * on a file opens the corresponding application. The item is null + * (see KFileItem::isNull()), when clicking on the viewport itself. */ - void itemTriggered(const QModelIndex& index); + void itemTriggered(const KFileItem& item); /** * Is emitted if the mouse cursor has entered the item -- cgit v1.3