diff --git a/src/plugins/cppeditor/CMakeLists.txt b/src/plugins/cppeditor/CMakeLists.txt index 4a16f5707f8..a0729bc002b 100644 --- a/src/plugins/cppeditor/CMakeLists.txt +++ b/src/plugins/cppeditor/CMakeLists.txt @@ -46,7 +46,6 @@ add_qtc_plugin(CppEditor cppeditor_utils.h cppeditorconstants.h cppeditordocument.cpp cppeditordocument.h - cppeditorenums.h cppeditoroutline.cpp cppeditoroutline.h cppeditorplugin.cpp cppeditorplugin.h cppeditorwidget.cpp cppeditorwidget.h diff --git a/src/plugins/cppeditor/cppeditor.pro b/src/plugins/cppeditor/cppeditor.pro index 382be09c13d..134e96c87bb 100644 --- a/src/plugins/cppeditor/cppeditor.pro +++ b/src/plugins/cppeditor/cppeditor.pro @@ -42,7 +42,6 @@ HEADERS += \ cppeditor_utils.h \ cppeditorconstants.h \ cppeditordocument.h \ - cppeditorenums.h \ cppeditoroutline.h \ cppeditorplugin.h \ cppeditorwidget.h \ diff --git a/src/plugins/cppeditor/cppeditor.qbs b/src/plugins/cppeditor/cppeditor.qbs index 60346245c43..f2433fb17be 100644 --- a/src/plugins/cppeditor/cppeditor.qbs +++ b/src/plugins/cppeditor/cppeditor.qbs @@ -109,7 +109,6 @@ QtcPlugin { "cppeditorconstants.h", "cppeditordocument.cpp", "cppeditordocument.h", - "cppeditorenums.h", "cppeditoroutline.cpp", "cppeditoroutline.h", "cppeditorplugin.cpp", diff --git a/src/plugins/cppeditor/cppeditorenums.h b/src/plugins/cppeditor/cppeditorenums.h deleted file mode 100644 index b11febefc9a..00000000000 --- a/src/plugins/cppeditor/cppeditorenums.h +++ /dev/null @@ -1,37 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 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. -** -****************************************************************************/ - -#pragma once - -namespace CppEditor { -namespace Internal { - -enum FileType { - Header, - Source -}; - -} // namespace Internal -} // namespace CppEditor diff --git a/src/plugins/cppeditor/cpphighlighter.cpp b/src/plugins/cppeditor/cpphighlighter.cpp index 47aae86c0ad..eccb4d2f33b 100644 --- a/src/plugins/cppeditor/cpphighlighter.cpp +++ b/src/plugins/cppeditor/cpphighlighter.cpp @@ -26,7 +26,6 @@ #include "cpphighlighter.h" #include "cppdoxygen.h" -#include "cppeditorenums.h" #include "cpptoolsreuse.h" #include