diff options
| author | Peter Penz <[email protected]> | 2009-07-22 19:26:25 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2009-07-22 19:26:25 +0000 |
| commit | a9ef4bd96a6aa7f4b730bc0b4ff676c56e382507 (patch) | |
| tree | ab6757d346e5a8171a43f7c095fea51a80d1dffb /src/dolphinview.h | |
| parent | ebf78d6ac26467560e66beeb106d0650aafd60f3 (diff) | |
show the actions of a revision control plugin in the context menu
svn path=/trunk/KDE/kdebase/apps/; revision=1001270
Diffstat (limited to 'src/dolphinview.h')
| -rw-r--r-- | src/dolphinview.h | 9 |
1 files changed, 9 insertions, 0 deletions
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; @@ -325,6 +326,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<QAction*> revisionControlActions(const KFileItemList& items) const; + + /** * Updates the state of the 'Additional Information' actions in \a collection. */ void updateAdditionalInfoActions(KActionCollection* 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 |
