aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/tasklist
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/tasklist')
-rw-r--r--src/plugins/tasklist/TaskList.json.in18
-rw-r--r--src/plugins/tasklist/TaskList.pluginspec.in16
-rw-r--r--src/plugins/tasklist/tasklistplugin.cpp4
3 files changed, 18 insertions, 20 deletions
diff --git a/src/plugins/tasklist/TaskList.json.in b/src/plugins/tasklist/TaskList.json.in
new file mode 100644
index 00000000000..a371d422146
--- /dev/null
+++ b/src/plugins/tasklist/TaskList.json.in
@@ -0,0 +1,18 @@
+{
+ \"Name\" : \"TaskList\",
+ \"Version\" : \"$$QTCREATOR_VERSION\",
+ \"CompatVersion\" : \"$$QTCREATOR_COMPAT_VERSION\",
+ \"Vendor\" : \"Digia Plc\",
+ \"Copyright\" : \"(C) 2014 Digia Plc\",
+ \"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\" : \"Use .tasks-files to populate the Issues view.\",
+ \"Url\" : \"http://www.qt-project.org\",
+ $$dependencyList
+}
diff --git a/src/plugins/tasklist/TaskList.pluginspec.in b/src/plugins/tasklist/TaskList.pluginspec.in
deleted file mode 100644
index c876a5a65cd..00000000000
--- a/src/plugins/tasklist/TaskList.pluginspec.in
+++ /dev/null
@@ -1,16 +0,0 @@
-<plugin name=\"TaskList\" version=\"$$QTCREATOR_VERSION\" compatVersion=\"$$QTCREATOR_COMPAT_VERSION\">
- <vendor>Digia Plc</vendor>
- <copyright>(C) 2014 Digia Plc</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 or version 3 as published by the Free Software Foundation. Please review the following information to ensure the GNU Lesser General Public License requirements will be met: https://www.gnu.org/licenses/lgpl.html and http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
- </license>
- <description>Use .tasks-files to populate the Issues view.</description>
- <url>http://www.qt.io</url>
- $$dependencyList
-</plugin>
diff --git a/src/plugins/tasklist/tasklistplugin.cpp b/src/plugins/tasklist/tasklistplugin.cpp
index 1ad025d7e24..e4bc0e64594 100644
--- a/src/plugins/tasklist/tasklistplugin.cpp
+++ b/src/plugins/tasklist/tasklistplugin.cpp
@@ -207,8 +207,6 @@ bool TaskListPlugin::initialize(const QStringList &arguments, QString *errorMess
return false;
m_fileFactory = new IDocumentFactory;
- m_fileFactory->setId("ProjectExplorer.TaskFileFactory");
- m_fileFactory->setDisplayName(tr("Task file reader"));
m_fileFactory->addMimeType(QLatin1String("text/x-tasklist"));
m_fileFactory->setOpener([this](const QString &fileName) -> IDocument * {
ProjectExplorer::Project *project = ProjectExplorer::ProjectExplorerPlugin::currentProject();
@@ -264,5 +262,3 @@ void TaskListPlugin::loadDataFromSession()
} // namespace Internal
} // namespace TaskList
-
-Q_EXPORT_PLUGIN(TaskList::Internal::TaskListPlugin)