diff options
| author | Peter Penz <[email protected]> | 2009-07-23 06:10:01 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2009-07-23 06:10:01 +0000 |
| commit | 9340a52cf8b310545fdb06f1f5aeec0f6a32d539 (patch) | |
| tree | e4e8f0f677490a39092389d67a208bfd2f72697c /src/revisioncontrolplugin.h | |
| parent | a9ef4bd96a6aa7f4b730bc0b4ff676c56e382507 (diff) | |
also provide revision control actions for the viewport-context-menu
svn path=/trunk/KDE/kdebase/apps/; revision=1001385
Diffstat (limited to 'src/revisioncontrolplugin.h')
| -rw-r--r-- | src/revisioncontrolplugin.h | 8 |
1 files changed, 4 insertions, 4 deletions
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<QAction*> contextMenuActions(const KFileItemList& items) const = 0; |
