From a9ef4bd96a6aa7f4b730bc0b4ff676c56e382507 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Wed, 22 Jul 2009 19:26:25 +0000 Subject: show the actions of a revision control plugin in the context menu svn path=/trunk/KDE/kdebase/apps/; revision=1001270 --- src/dolphinview.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/dolphinview.h') diff --git a/src/dolphinview.h b/src/dolphinview.h index 44915f6c0..ea92ae853 100644 --- a/src/dolphinview.h +++ b/src/dolphinview.h @@ -55,6 +55,7 @@ class KActionCollection; class KDirLister; class KUrl; class KToggleAction; +class RevisionControlObserver; class ToolTipManager; class QModelIndex; class ViewProperties; @@ -324,6 +325,12 @@ public: */ QString statusBarText() const; + /** + * Returns the revision control actions that are provided for the items \p items. + * Usually the actions are presented in the context menu. + */ + QList revisionControlActions(const KFileItemList& items) const; + /** * Updates the state of the 'Additional Information' actions in \a collection. */ @@ -809,6 +816,8 @@ private: KFilePreviewGenerator* m_previewGenerator; ToolTipManager* m_toolTipManager; + RevisionControlObserver* m_revisionControlObserver; + KUrl m_rootUrl; KUrl m_activeItemUrl; KUrl m_createdItemUrl; // URL for a new item that got created by the "Create New..." menu -- cgit v1.3