summaryrefslogtreecommitdiff
path: root/src/plugins/emacskeys
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@digia.com>2014-08-26 17:29:38 +0200
committerEike Ziller <eike.ziller@digia.com>2014-09-02 15:11:24 +0200
commitb5b6a46b4e17dde56ac4409bd6551eaaf297b375 (patch)
tree216df467b3df092bad019656329d299b44e51ee1 /src/plugins/emacskeys
parent8dc9d67e898ecb9afa239fcba914ed178931901b (diff)
downloadqt-creator-b5b6a46b4e17dde56ac4409bd6551eaaf297b375.tar.gz
ExtensionSystem: Use Qt 5 plugin metadata instead of .pluginspec files
Change-Id: I2b2c704260c613985a4bda179658ec1f8879e70f Reviewed-by: Christian Kandeler <christian.kandeler@digia.com> Reviewed-by: Christian Stenger <christian.stenger@digia.com> Reviewed-by: Daniel Teske <daniel.teske@digia.com> Reviewed-by: hjk <hjk121@nokiamail.com>
Diffstat (limited to 'src/plugins/emacskeys')
-rw-r--r--src/plugins/emacskeys/EmacsKeys.json.in31
-rw-r--r--src/plugins/emacskeys/EmacsKeys.pluginspec.in28
2 files changed, 31 insertions, 28 deletions
diff --git a/src/plugins/emacskeys/EmacsKeys.json.in b/src/plugins/emacskeys/EmacsKeys.json.in
new file mode 100644
index 0000000000..0fea2fbf91
--- /dev/null
+++ b/src/plugins/emacskeys/EmacsKeys.json.in
@@ -0,0 +1,31 @@
+{
+ \"Name\" : \"EmacsKeys\",
+ \"Version\" : \"$$QTCREATOR_VERSION\",
+ \"CompatVersion\" : \"$$QTCREATOR_COMPAT_VERSION\",
+ \"Experimental\" : true,
+ \"Vendor\" : \"nsf\",
+ \"Copyright\" : \"(C) nsf <no.smile.face@gmail.com>\",
+ \"License\" : [ \"Commercial Usage\",
+ \"\",
+ \"Licensees holding valid Qt Commercial licenses may use this plugin in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Digia.\",
+ \"\",
+ \"GNU Lesser General Public License Usage\",
+ \"\",
+ \"Alternatively, this plugin may be used under the terms of the GNU Lesser General Public License version 2.1 as published by the Free Software Foundation. Please review the following information to ensure the GNU Lesser General Public License version 2.1 requirements will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.\"
+ ],
+ \"Description\" : [
+ \"The main idea behind this plugin is to provide additional actions a typical emacs user would expect. It doesn\'t claim to provide full emacs emulation. The following actions are available:\",
+ \" - Movement [C-f, C-b, C-n, C-p, M-f, M-b, C-a, C-e, M-<, M->]\",
+ \" - Mark-based selection [C-SPC, C-x C-x]\",
+ \" - Cut/copy/yank (doesn\'t provide kill ring feature) [M-w, C-w, C-y]\",
+ \" - Kill actions, which interact properly with clipboard [C-k, M-d, C-d]\",
+ \" - Scrolling (half of the screen, keeps cursor visible) [C-v, M-v]\",
+ \" - Insert new line and indent [C-j]\",
+ \"\",
+ \"IMPORTANT: Actions are not bound to any key combinations by default. You can find them under \'EmacsKeys\' section in keyboard shortcuts settings.\",
+ \"\",
+ \"Also it\'s worth mentioning that EmacsKeys plugin forces disabling of menu mnemonics by calling Qt\'s qt_set_sequence_auto_mnemonic function with false argument. Many of the english menu mnemonics get into the way of typical emacs keys, this includes: Alt+F (File), Alt+B (Build), Alt+W (Window). It\'s a temporary solution, it remains until there is a better one.\"
+ ],
+ \"Url\" : \"http://nosmileface.ru\",
+ $$dependencyList
+}
diff --git a/src/plugins/emacskeys/EmacsKeys.pluginspec.in b/src/plugins/emacskeys/EmacsKeys.pluginspec.in
deleted file mode 100644
index d6020826bb..0000000000
--- a/src/plugins/emacskeys/EmacsKeys.pluginspec.in
+++ /dev/null
@@ -1,28 +0,0 @@
-<plugin name=\"EmacsKeys\" version=\"$$QTCREATOR_VERSION\" compatVersion=\"$$QTCREATOR_COMPAT_VERSION\" experimental=\"true\">
- <vendor>nsf</vendor>
- <copyright>(C) nsf &lt;no.smile.face@gmail.com&gt;</copyright>
- <license>
-Commercial Usage
-
-Licensees holding valid Qt Commercial licenses may use this plugin in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Digia.
-
-GNU Lesser General Public License Usage
-
-Alternatively, this plugin may be used under the terms of the GNU Lesser General Public License version 2.1 as published by the Free Software Foundation. Please review the following information to ensure the GNU Lesser General Public License version 2.1 requirements will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
- </license>
- <description>
-The main idea behind this plugin is to provide additional actions a typical emacs user would expect. It doesn&#39;t claim to provide full emacs emulation. The following actions are available:
- - Movement [C-f, C-b, C-n, C-p, M-f, M-b, C-a, C-e, M-&lt;, M-&gt;]
- - Mark-based selection [C-SPC, C-x C-x]
- - Cut/copy/yank (doesn&#39;t provide kill ring feature) [M-w, C-w, C-y]
- - Kill actions, which interact properly with clipboard [C-k, M-d, C-d]
- - Scrolling (half of the screen, keeps cursor visible) [C-v, M-v]
- - Insert new line and indent [C-j]
-
-IMPORTANT: Actions are not bound to any key combinations by default. You can find them under &#39;EmacsKeys&#39; section in keyboard shortcuts settings.
-
-Also it&#39;s worth mentioning that EmacsKeys plugin forces disabling of menu mnemonics by calling Qt&#39;s qt_set_sequence_auto_mnemonic function with false argument. Many of the english menu mnemonics get into the way of typical emacs keys, this includes: Alt+F (File), Alt+B (Build), Alt+W (Window). It&#39;s a temporary solution, it remains until there is a better one.
- </description>
- <url>http://nosmileface.ru</url>
- $$dependencyList
-</plugin>