From 246c18a93c63cd3eaa7b53ce27f82009481f3401 Mon Sep 17 00:00:00 2001 From: David Faure Date: Tue, 28 Aug 2007 19:48:36 +0000 Subject: Implement contextMenu handling in dolphin part (for konqueror) svn path=/trunk/KDE/kdebase/apps/; revision=705873 --- src/dolphinpart.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/dolphinpart.h') diff --git a/src/dolphinpart.h b/src/dolphinpart.h index a9806d595..3ca066a57 100644 --- a/src/dolphinpart.h +++ b/src/dolphinpart.h @@ -51,8 +51,22 @@ private Q_SLOTS: void slotCanceled(const KUrl& url); void slotInfoMessage(const QString& msg); void slotErrorMessage(const QString& msg); + /** + * Shows the information for the item \a item inside the statusbar. If the + * item is null, the default statusbar information is shown. + */ void slotRequestItemInfo(const KFileItem& item); + /** + * Handles clicking on an item + */ void slotItemTriggered(const KFileItem& item); + /** + * Opens the context menu on the current mouse position. + * @item File item context. If item is 0, the context menu + * should be applied to \a url. + * @url URL which contains \a item. + */ + void slotOpenContextMenu(const KFileItem& item, const KUrl& url); private: DolphinView* m_view; -- cgit v1.3