From b077a4b845320facb7d713c52c77bf091bc2a0aa Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Fri, 3 Jul 2020 11:03:07 +0200 Subject: [PATCH] Add documentation for Core::Id Was changed to an alias for Utils::Id. Change-Id: Ib1b166a27b16939f8b6c3e5888dab8248660658a Reviewed-by: Leena Miettinen --- src/plugins/coreplugin/CMakeLists.txt | 2 +- src/plugins/coreplugin/coreplugin.pro | 1 + src/plugins/coreplugin/coreplugin.qbs | 1 + src/plugins/coreplugin/id.cpp | 32 +++++++++++++++++++++++++++ 4 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 src/plugins/coreplugin/id.cpp diff --git a/src/plugins/coreplugin/CMakeLists.txt b/src/plugins/coreplugin/CMakeLists.txt index 1faf28e4884..6e5c56ae87f 100644 --- a/src/plugins/coreplugin/CMakeLists.txt +++ b/src/plugins/coreplugin/CMakeLists.txt @@ -85,7 +85,7 @@ add_qtc_plugin(Core helpmanager.cpp helpmanager.h helpmanager_implementation.h icontext.cpp icontext.h icore.cpp icore.h - id.h + id.cpp id.h idocument.cpp idocument.h idocumentfactory.cpp idocumentfactory.h ifilewizardextension.h diff --git a/src/plugins/coreplugin/coreplugin.pro b/src/plugins/coreplugin/coreplugin.pro index ffa9eeeb4a7..2b2133ccaaa 100644 --- a/src/plugins/coreplugin/coreplugin.pro +++ b/src/plugins/coreplugin/coreplugin.pro @@ -20,6 +20,7 @@ SOURCES += corejsextensions.cpp \ fancytabwidget.cpp \ generalsettings.cpp \ themechooser.cpp \ + id.cpp \ icontext.cpp \ jsexpander.cpp \ messagemanager.cpp \ diff --git a/src/plugins/coreplugin/coreplugin.qbs b/src/plugins/coreplugin/coreplugin.qbs index 49d2c270b5e..10f6ba2286d 100644 --- a/src/plugins/coreplugin/coreplugin.qbs +++ b/src/plugins/coreplugin/coreplugin.qbs @@ -92,6 +92,7 @@ Project { "icontext.h", "icore.cpp", "icore.h", + "id.cpp", "id.h", "idocument.cpp", "idocument.h", diff --git a/src/plugins/coreplugin/id.cpp b/src/plugins/coreplugin/id.cpp new file mode 100644 index 00000000000..6f8a29f40c7 --- /dev/null +++ b/src/plugins/coreplugin/id.cpp @@ -0,0 +1,32 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Creator. +** +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 as published by the Free Software +** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +****************************************************************************/ + +#include "id.h" + +/*! + \typedef Core::Id + + Use Utils::Id instead. +*/