From 9340a52cf8b310545fdb06f1f5aeec0f6a32d539 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Thu, 23 Jul 2009 06:10:01 +0000 Subject: also provide revision control actions for the viewport-context-menu svn path=/trunk/KDE/kdebase/apps/; revision=1001385 --- src/revisioncontrolplugin.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/revisioncontrolplugin.h') diff --git a/src/revisioncontrolplugin.h b/src/revisioncontrolplugin.h index 055464b69..54bd10f03 100644 --- a/src/revisioncontrolplugin.h +++ b/src/revisioncontrolplugin.h @@ -93,10 +93,10 @@ public: /** * Returns the list of actions that should be shown in the context menu - * for the files \p items. If an action cannot be applied to the list - * of files, it is recommended to disable the action instead of removing it - * from the returned list. If an action triggers a change of the revisions, - * the signal RevisionControlPlugin::revisionStatesChanged() must be emitted. + * for the files \p items. If no files are provided by \p items, the context + * menu is valid for the current directory (see RevisionControlPlugin::beginRetrieval()). + * If an action triggers a change of the revisions, the signal + * RevisionControlPlugin::revisionStatesChanged() must be emitted. */ virtual QList contextMenuActions(const KFileItemList& items) const = 0; -- cgit v1.3