summaryrefslogtreecommitdiff
path: root/src/plugins/resourceeditor/resourceeditorplugin.h
diff options
context:
space:
mode:
authorDaniel Teske <daniel.teske@digia.com>2014-03-31 14:26:03 +0200
committerDaniel Teske <daniel.teske@digia.com>2014-03-31 15:47:43 +0200
commit589945b7d3d41c97d075e756b259d709449ccc8c (patch)
tree320d08bffbeb62ba03f95019aa6c2cef47f9ea6a /src/plugins/resourceeditor/resourceeditorplugin.h
parenta5c77222d8f4b38cee10f18ff4ea38d3359e9028 (diff)
downloadqt-creator-589945b7d3d41c97d075e756b259d709449ccc8c.tar.gz
ResourceNodes: Add copy to clipboard actions.
One for :/prefix/file paths and one as a url qrc:///prefix/file Task-number: QTCREATORBUG-11776 Change-Id: I98cc2fccf98a6bf07487352e9b10ae29e8347a45 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'src/plugins/resourceeditor/resourceeditorplugin.h')
-rw-r--r--src/plugins/resourceeditor/resourceeditorplugin.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/plugins/resourceeditor/resourceeditorplugin.h b/src/plugins/resourceeditor/resourceeditorplugin.h
index e773b6d40f..98677ef631 100644
--- a/src/plugins/resourceeditor/resourceeditorplugin.h
+++ b/src/plugins/resourceeditor/resourceeditorplugin.h
@@ -41,6 +41,8 @@ class Node;
class Project;
}
+namespace Utils { class ParameterAction; }
+
namespace ResourceEditor {
namespace Internal {
@@ -74,6 +76,9 @@ private slots:
void openEditorContextMenu();
void openTextEditorContextMenu();
+ void copyPathContextMenu();
+ void copyUrlContextMenu();
+
void updateContextActions(ProjectExplorer::Node*,ProjectExplorer::Project*);
public:
@@ -97,6 +102,10 @@ private:
QAction *m_openInEditor;
QAction *m_openInTextEditor;
+
+ // file context menu
+ Utils::ParameterAction *m_copyPath;
+ Utils::ParameterAction *m_copyUrl;
};
} // namespace Internal