diff options
| author | Peter Penz <[email protected]> | 2009-02-08 18:26:23 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2009-02-08 18:26:23 +0000 |
| commit | 681929dc6743d57138ae1245a8d255e0e5c6bde9 (patch) | |
| tree | a6e94b6e88ddd36b8ab475347ffc69deec79bedd /src/dolphincontroller.cpp | |
| parent | 95f85fb719c5c45f511567d03885fb39cb73b525 (diff) | |
Allow the view implementations to directly trigger an item without mouse interaction. This is e. g. necessary when the column view wants to implement a custom key handling where a folder should be triggered.
svn path=/trunk/KDE/kdebase/apps/; revision=923417
Diffstat (limited to 'src/dolphincontroller.cpp')
| -rw-r--r-- | src/dolphincontroller.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/dolphincontroller.cpp b/src/dolphincontroller.cpp index 980e16059..92110643c 100644 --- a/src/dolphincontroller.cpp +++ b/src/dolphincontroller.cpp @@ -160,6 +160,11 @@ void DolphinController::emitHideToolTip() emit hideToolTip(); } +void DolphinController::emitItemTriggered(const KFileItem& item) +{ + emit itemTriggered(item); +} + KFileItem DolphinController::itemForIndex(const QModelIndex& index) const { Q_ASSERT(m_itemView != 0); |
