diff options
43 files changed, 0 insertions, 49 deletions
diff --git a/share/qtcreator/qml/qmlpuppet/qml2puppet/instances/componentnodeinstance.cpp b/share/qtcreator/qml/qmlpuppet/qml2puppet/instances/componentnodeinstance.cpp index ef8143884d..f546548b41 100644 --- a/share/qtcreator/qml/qmlpuppet/qml2puppet/instances/componentnodeinstance.cpp +++ b/share/qtcreator/qml/qmlpuppet/qml2puppet/instances/componentnodeinstance.cpp @@ -33,7 +33,6 @@ namespace QmlDesigner { namespace Internal { - ComponentNodeInstance::ComponentNodeInstance(QQmlComponent *component) : ObjectNodeInstance(component) { diff --git a/src/libs/clangsupport/projectpartartefact.cpp b/src/libs/clangsupport/projectpartartefact.cpp index 7623f38796..56551693e1 100644 --- a/src/libs/clangsupport/projectpartartefact.cpp +++ b/src/libs/clangsupport/projectpartartefact.cpp @@ -33,8 +33,6 @@ namespace ClangBackEnd { - - Utils::SmallStringVector ProjectPartArtefact::toStringVector(Utils::SmallStringView jsonText) { if (jsonText.isEmpty()) diff --git a/src/libs/qmljs/qmljsdialect.cpp b/src/libs/qmljs/qmljsdialect.cpp index 0cb463b2e5..f460b44056 100644 --- a/src/libs/qmljs/qmljsdialect.cpp +++ b/src/libs/qmljs/qmljsdialect.cpp @@ -30,7 +30,6 @@ namespace QmlJS { - bool Dialect::isQmlLikeLanguage() const { switch (m_dialect) { diff --git a/src/libs/tracing/timelineabstractrenderer.h b/src/libs/tracing/timelineabstractrenderer.h index f28fd07672..64475ef3ae 100644 --- a/src/libs/tracing/timelineabstractrenderer.h +++ b/src/libs/tracing/timelineabstractrenderer.h @@ -35,7 +35,6 @@ namespace Timeline { - class TRACING_EXPORT TimelineAbstractRenderer : public QQuickItem { Q_OBJECT diff --git a/src/libs/tracing/timelinerenderer.h b/src/libs/tracing/timelinerenderer.h index b963ec7871..16a766d695 100644 --- a/src/libs/tracing/timelinerenderer.h +++ b/src/libs/tracing/timelinerenderer.h @@ -35,7 +35,6 @@ namespace Timeline { - class TRACING_EXPORT TimelineRenderer : public TimelineAbstractRenderer { Q_OBJECT diff --git a/src/libs/utils/utilsicons.cpp b/src/libs/utils/utilsicons.cpp index 7e45891c11..2227f530c6 100644 --- a/src/libs/utils/utilsicons.cpp +++ b/src/libs/utils/utilsicons.cpp @@ -28,7 +28,6 @@ namespace Utils { namespace Icons { - const Icon HOME({ {QLatin1String(":/utils/images/home.png"), Theme::PanelTextColorDark}}, Icon::Tint); const Icon HOME_TOOLBAR({ diff --git a/src/plugins/android/androidconfigurations.h b/src/plugins/android/androidconfigurations.h index 70d97c129c..ec0aff5589 100644 --- a/src/plugins/android/androidconfigurations.h +++ b/src/plugins/android/androidconfigurations.h @@ -52,7 +52,6 @@ class Project; namespace Android { - namespace Internal { class AndroidSdkManager; class AndroidPluginPrivate; diff --git a/src/plugins/android/androidrunnerworker.cpp b/src/plugins/android/androidrunnerworker.cpp index e103986f46..b84ec9df74 100644 --- a/src/plugins/android/androidrunnerworker.cpp +++ b/src/plugins/android/androidrunnerworker.cpp @@ -67,7 +67,6 @@ using namespace ProjectExplorer; namespace Android { namespace Internal { - static const QString pidScript = "pidof -s \"%1\""; static const QString pidScriptPreNougat = QStringLiteral("for p in /proc/[0-9]*; " "do cat <$p/cmdline && echo :${p##*/}; done"); diff --git a/src/plugins/autotest/boost/boosttestparser.cpp b/src/plugins/autotest/boost/boosttestparser.cpp index b198d135a9..e1e87ab299 100644 --- a/src/plugins/autotest/boost/boosttestparser.cpp +++ b/src/plugins/autotest/boost/boosttestparser.cpp @@ -36,7 +36,6 @@ namespace Autotest { namespace Internal { - namespace BoostTestUtils { static const QStringList relevant = { QStringLiteral("BOOST_AUTO_TEST_CASE"), QStringLiteral("BOOST_TEST_CASE"), diff --git a/src/plugins/autotest/boost/boosttestsettingspage.cpp b/src/plugins/autotest/boost/boosttestsettingspage.cpp index e60f5f4643..99d13a51da 100644 --- a/src/plugins/autotest/boost/boosttestsettingspage.cpp +++ b/src/plugins/autotest/boost/boosttestsettingspage.cpp @@ -33,7 +33,6 @@ namespace Autotest { namespace Internal { - BoostTestSettingsWidget::BoostTestSettingsWidget(QWidget *parent) : QWidget(parent) { diff --git a/src/plugins/clangrefactoring/locatorfilter.cpp b/src/plugins/clangrefactoring/locatorfilter.cpp index 15ecbb73d2..c8fcfcaec3 100644 --- a/src/plugins/clangrefactoring/locatorfilter.cpp +++ b/src/plugins/clangrefactoring/locatorfilter.cpp @@ -31,8 +31,6 @@ namespace ClangRefactoring { - - QList<Core::LocatorFilterEntry> LocatorFilter::matchesFor( QFutureInterface<Core::LocatorFilterEntry> &, const QString &searchTerm) { diff --git a/src/plugins/cmakeprojectmanager/cmakefilecompletionassist.h b/src/plugins/cmakeprojectmanager/cmakefilecompletionassist.h index 387addeac1..220ed6ce26 100644 --- a/src/plugins/cmakeprojectmanager/cmakefilecompletionassist.h +++ b/src/plugins/cmakeprojectmanager/cmakefilecompletionassist.h @@ -31,7 +31,6 @@ namespace CMakeProjectManager { namespace Internal { - class CMakeFileCompletionAssist : public TextEditor::KeywordsCompletionAssistProcessor { public: diff --git a/src/plugins/cmakeprojectmanager/cmakeprojectmanager.h b/src/plugins/cmakeprojectmanager/cmakeprojectmanager.h index 0a045c19c0..106fb68e2f 100644 --- a/src/plugins/cmakeprojectmanager/cmakeprojectmanager.h +++ b/src/plugins/cmakeprojectmanager/cmakeprojectmanager.h @@ -34,7 +34,6 @@ QT_END_NAMESPACE namespace CMakeProjectManager { namespace Internal { - class CMakeManager : public QObject { Q_OBJECT diff --git a/src/plugins/coreplugin/dialogs/openwithdialog.h b/src/plugins/coreplugin/dialogs/openwithdialog.h index a3f0db0366..1833af8383 100644 --- a/src/plugins/coreplugin/dialogs/openwithdialog.h +++ b/src/plugins/coreplugin/dialogs/openwithdialog.h @@ -29,8 +29,6 @@ #include "ui_openwithdialog.h" namespace Core { - - namespace Internal { // Present the user with a file name and a list of available diff --git a/src/plugins/coreplugin/dialogs/saveitemsdialog.h b/src/plugins/coreplugin/dialogs/saveitemsdialog.h index 37d321fade..f62af24768 100644 --- a/src/plugins/coreplugin/dialogs/saveitemsdialog.h +++ b/src/plugins/coreplugin/dialogs/saveitemsdialog.h @@ -36,7 +36,6 @@ class IDocument; namespace Internal { - class SaveItemsDialog : public QDialog { Q_OBJECT diff --git a/src/plugins/help/centralwidget.h b/src/plugins/help/centralwidget.h index b7ead61edc..b6fc9d4e89 100644 --- a/src/plugins/help/centralwidget.h +++ b/src/plugins/help/centralwidget.h @@ -32,7 +32,6 @@ namespace Help { namespace Internal { - class CentralWidget : public HelpWidget { Q_OBJECT diff --git a/src/plugins/help/generalsettingspage.h b/src/plugins/help/generalsettingspage.h index 3845881c3b..b72168ec1c 100644 --- a/src/plugins/help/generalsettingspage.h +++ b/src/plugins/help/generalsettingspage.h @@ -33,7 +33,6 @@ namespace Help { namespace Internal { - class GeneralSettingsPage : public Core::IOptionsPage { Q_OBJECT diff --git a/src/plugins/macros/macrooptionswidget.h b/src/plugins/macros/macrooptionswidget.h index bb8a5101d5..ed7255f1b0 100644 --- a/src/plugins/macros/macrooptionswidget.h +++ b/src/plugins/macros/macrooptionswidget.h @@ -38,7 +38,6 @@ QT_END_NAMESPACE namespace Macros { namespace Internal { - namespace Ui { class MacroOptionsWidget; } class MacroOptionsWidget : public QWidget { diff --git a/src/plugins/perfprofiler/perfresourcecounter.cpp b/src/plugins/perfprofiler/perfresourcecounter.cpp index e9935c334c..daae6be651 100644 --- a/src/plugins/perfprofiler/perfresourcecounter.cpp +++ b/src/plugins/perfprofiler/perfresourcecounter.cpp @@ -29,6 +29,5 @@ namespace PerfProfiler { namespace Internal { - } // namespace Internal } // namespace PerfProfiler diff --git a/src/plugins/projectexplorer/applicationlauncher.cpp b/src/plugins/projectexplorer/applicationlauncher.cpp index 41a83f0101..57a9fe8bcf 100644 --- a/src/plugins/projectexplorer/applicationlauncher.cpp +++ b/src/plugins/projectexplorer/applicationlauncher.cpp @@ -64,7 +64,6 @@ using namespace Internal; namespace Internal { - class ApplicationLauncherPrivate : public QObject { public: diff --git a/src/plugins/qmldesigner/components/componentcore/selectioncontext.cpp b/src/plugins/qmldesigner/components/componentcore/selectioncontext.cpp index e82b2a22dd..434f73c0f3 100644 --- a/src/plugins/qmldesigner/components/componentcore/selectioncontext.cpp +++ b/src/plugins/qmldesigner/components/componentcore/selectioncontext.cpp @@ -29,7 +29,6 @@ namespace QmlDesigner { - SelectionContext::SelectionContext() = default; SelectionContext::SelectionContext(AbstractView *view) : diff --git a/src/plugins/qmldesigner/components/componentcore/zoomaction.cpp b/src/plugins/qmldesigner/components/componentcore/zoomaction.cpp index 9a1529414a..30ee8a4a35 100644 --- a/src/plugins/qmldesigner/components/componentcore/zoomaction.cpp +++ b/src/plugins/qmldesigner/components/componentcore/zoomaction.cpp @@ -30,7 +30,6 @@ namespace QmlDesigner { - ZoomAction::ZoomAction(QObject *parent) : QWidgetAction(parent), m_zoomLevel(1.0), diff --git a/src/plugins/qmldesigner/components/formeditor/dragtool.cpp b/src/plugins/qmldesigner/components/formeditor/dragtool.cpp index 0737e2ab45..6446e2422f 100644 --- a/src/plugins/qmldesigner/components/formeditor/dragtool.cpp +++ b/src/plugins/qmldesigner/components/formeditor/dragtool.cpp @@ -42,7 +42,6 @@ static Q_LOGGING_CATEGORY(dragToolInfo, "qtc.qmldesigner.formeditor", QtWarningM namespace QmlDesigner { - DragTool::DragTool(FormEditorView *editorView) : AbstractFormEditorTool(editorView), m_moveManipulator(editorView->scene()->manipulatorLayerItem(), editorView), diff --git a/src/plugins/qmldesigner/components/formeditor/formeditoritem.cpp b/src/plugins/qmldesigner/components/formeditor/formeditoritem.cpp index 86fd3ce94d..f26e035442 100644 --- a/src/plugins/qmldesigner/components/formeditor/formeditoritem.cpp +++ b/src/plugins/qmldesigner/components/formeditor/formeditoritem.cpp @@ -41,7 +41,6 @@ namespace QmlDesigner { - FormEditorScene *FormEditorItem::scene() const { return qobject_cast<FormEditorScene*>(QGraphicsItem::scene()); } diff --git a/src/plugins/qmldesigner/components/integration/designdocument.cpp b/src/plugins/qmldesigner/components/integration/designdocument.cpp index 7a0f1f10b5..d1b8586b5a 100644 --- a/src/plugins/qmldesigner/components/integration/designdocument.cpp +++ b/src/plugins/qmldesigner/components/integration/designdocument.cpp @@ -64,7 +64,6 @@ enum { namespace QmlDesigner { - /** \class QmlDesigner::DesignDocument diff --git a/src/plugins/qmldesigner/components/navigator/navigatortreeview.h b/src/plugins/qmldesigner/components/navigator/navigatortreeview.h index cc5a0e344d..1001977b8f 100644 --- a/src/plugins/qmldesigner/components/navigator/navigatortreeview.h +++ b/src/plugins/qmldesigner/components/navigator/navigatortreeview.h @@ -29,7 +29,6 @@ namespace QmlDesigner { - class NavigatorTreeView : public QTreeView { Q_OBJECT diff --git a/src/plugins/qmldesigner/components/stateseditor/stateseditorview.h b/src/plugins/qmldesigner/components/stateseditor/stateseditorview.h index 2f8bc56650..572b454892 100644 --- a/src/plugins/qmldesigner/components/stateseditor/stateseditorview.h +++ b/src/plugins/qmldesigner/components/stateseditor/stateseditorview.h @@ -31,7 +31,6 @@ namespace QmlDesigner { - class StatesEditorModel; class StatesEditorWidget; diff --git a/src/plugins/qmldesigner/componentsplugin/componentsplugin.cpp b/src/plugins/qmldesigner/componentsplugin/componentsplugin.cpp index 21c27f4d13..ab65a44162 100644 --- a/src/plugins/qmldesigner/componentsplugin/componentsplugin.cpp +++ b/src/plugins/qmldesigner/componentsplugin/componentsplugin.cpp @@ -36,7 +36,6 @@ namespace QmlDesigner { - ComponentsPlugin::ComponentsPlugin() { TabViewIndexModel::registerDeclarativeType(); diff --git a/src/plugins/qmldesigner/designercore/include/metainforeader.h b/src/plugins/qmldesigner/designercore/include/metainforeader.h index 20672e0e05..eb725b5f86 100644 --- a/src/plugins/qmldesigner/designercore/include/metainforeader.h +++ b/src/plugins/qmldesigner/designercore/include/metainforeader.h @@ -39,7 +39,6 @@ class ItemLibraryEntry; namespace Internal { - class MetaInfoReader : protected QmlJS::SimpleAbstractStreamReader { Q_DECLARE_TR_FUNCTIONS(QmlDesigner::Internal::MetaInfoReader) diff --git a/src/plugins/qmldesigner/designercore/metainfo/nodehints.cpp b/src/plugins/qmldesigner/designercore/metainfo/nodehints.cpp index be7623323d..c6bc645186 100644 --- a/src/plugins/qmldesigner/designercore/metainfo/nodehints.cpp +++ b/src/plugins/qmldesigner/designercore/metainfo/nodehints.cpp @@ -51,7 +51,6 @@ namespace QmlDesigner { - static bool isSwipeView(const ModelNode &node) { if (node.metaInfo().isValid() diff --git a/src/plugins/qmldesigner/designercore/model/abstractview.cpp b/src/plugins/qmldesigner/designercore/model/abstractview.cpp index 68e11782df..4e3596001c 100644 --- a/src/plugins/qmldesigner/designercore/model/abstractview.cpp +++ b/src/plugins/qmldesigner/designercore/model/abstractview.cpp @@ -44,7 +44,6 @@ namespace QmlDesigner { - /*! \class QmlDesigner::AbstractView \ingroup CoreModel diff --git a/src/plugins/qmldesigner/designercore/model/qmlanchors.cpp b/src/plugins/qmldesigner/designercore/model/qmlanchors.cpp index c7a9e5aa28..7b83330a32 100644 --- a/src/plugins/qmldesigner/designercore/model/qmlanchors.cpp +++ b/src/plugins/qmldesigner/designercore/model/qmlanchors.cpp @@ -31,7 +31,6 @@ namespace QmlDesigner { - static PropertyName lineTypeToString(AnchorLineType lineType) { switch (lineType) { diff --git a/src/plugins/qmldesigner/designercore/pluginmanager/widgetpluginpath.h b/src/plugins/qmldesigner/designercore/pluginmanager/widgetpluginpath.h index 13ad38fcd3..2ad7d554f4 100644 --- a/src/plugins/qmldesigner/designercore/pluginmanager/widgetpluginpath.h +++ b/src/plugins/qmldesigner/designercore/pluginmanager/widgetpluginpath.h @@ -40,8 +40,6 @@ namespace QmlDesigner { class IWidgetPlugin; namespace Internal { - - // Dumb plugin data structure. Note that whereas QObjects can // casted to an interface, QPointer does not work with the // interface class, so, we need a separate QPointer as a guard diff --git a/src/plugins/qmldesigner/designercore/rewritertransaction.cpp b/src/plugins/qmldesigner/designercore/rewritertransaction.cpp index 1cbe8f8cac..1bae709e0c 100644 --- a/src/plugins/qmldesigner/designercore/rewritertransaction.cpp +++ b/src/plugins/qmldesigner/designercore/rewritertransaction.cpp @@ -39,8 +39,6 @@ namespace QmlDesigner { - - QList<QByteArray> RewriterTransaction::m_identifierList; bool RewriterTransaction::m_activeIdentifier = qEnvironmentVariableIsSet("QML_DESIGNER_TRACE_REWRITER_TRANSACTION"); diff --git a/src/plugins/qmldesigner/qmldesignerextension/pathtool/cubicsegment.h b/src/plugins/qmldesigner/qmldesignerextension/pathtool/cubicsegment.h index 260dcd2a6d..e22b4e1aa3 100644 --- a/src/plugins/qmldesigner/qmldesignerextension/pathtool/cubicsegment.h +++ b/src/plugins/qmldesigner/qmldesignerextension/pathtool/cubicsegment.h @@ -36,7 +36,6 @@ namespace QmlDesigner { - class CubicSegmentData : public QSharedData { public: diff --git a/src/plugins/qmljseditor/qmljsoutline.cpp b/src/plugins/qmljseditor/qmljsoutline.cpp index 228839573b..0eb0d40161 100644 --- a/src/plugins/qmljseditor/qmljsoutline.cpp +++ b/src/plugins/qmljseditor/qmljsoutline.cpp @@ -47,7 +47,6 @@ enum { namespace QmlJSEditor { namespace Internal { - QmlJSOutlineFilterModel::QmlJSOutlineFilterModel(QObject *parent) : QSortFilterProxyModel(parent) { diff --git a/src/plugins/qmljstools/qmljsmodelmanager.cpp b/src/plugins/qmljstools/qmljsmodelmanager.cpp index af47d2eef3..c06487cb67 100644 --- a/src/plugins/qmljstools/qmljsmodelmanager.cpp +++ b/src/plugins/qmljstools/qmljsmodelmanager.cpp @@ -168,7 +168,6 @@ void setupProjectInfoQmlBundles(ModelManagerInterface::ProjectInfo &projectInfo) namespace Internal { - QHash<QString,Dialect> ModelManager::initLanguageForSuffix() const { QHash<QString,Dialect> res = ModelManagerInterface::languageForSuffix(); diff --git a/src/plugins/qmlprofiler/tests/qmlnote_test.h b/src/plugins/qmlprofiler/tests/qmlnote_test.h index 0842e6f423..0a678e32e7 100644 --- a/src/plugins/qmlprofiler/tests/qmlnote_test.h +++ b/src/plugins/qmlprofiler/tests/qmlnote_test.h @@ -30,7 +30,6 @@ namespace QmlProfiler { namespace Internal { - class QmlNoteTest : public QObject { Q_OBJECT diff --git a/src/plugins/texteditor/codeassist/assistproposalitem.h b/src/plugins/texteditor/codeassist/assistproposalitem.h index bd61c02c8d..01668670ae 100644 --- a/src/plugins/texteditor/codeassist/assistproposalitem.h +++ b/src/plugins/texteditor/codeassist/assistproposalitem.h @@ -35,7 +35,6 @@ namespace TextEditor { - class TEXTEDITOR_EXPORT AssistProposalItem : public AssistProposalItemInterface { public: diff --git a/src/plugins/texteditor/codeassist/assistproposaliteminterface.h b/src/plugins/texteditor/codeassist/assistproposaliteminterface.h index 9ceceb1ddf..893dc4aa0d 100644 --- a/src/plugins/texteditor/codeassist/assistproposaliteminterface.h +++ b/src/plugins/texteditor/codeassist/assistproposaliteminterface.h @@ -38,7 +38,6 @@ QT_END_NAMESPACE namespace TextEditor { - class TEXTEDITOR_EXPORT AssistProposalItemInterface { public: diff --git a/src/plugins/texteditor/codeassist/iassistproposalmodel.h b/src/plugins/texteditor/codeassist/iassistproposalmodel.h index 92a6658980..560aff1274 100644 --- a/src/plugins/texteditor/codeassist/iassistproposalmodel.h +++ b/src/plugins/texteditor/codeassist/iassistproposalmodel.h @@ -33,7 +33,6 @@ QT_FORWARD_DECLARE_CLASS(QString) namespace TextEditor { - class TEXTEDITOR_EXPORT IAssistProposalModel { public: diff --git a/src/tools/clangrefactoringbackend/source/refactoringcompilationdatabase.h b/src/tools/clangrefactoringbackend/source/refactoringcompilationdatabase.h index b25e43e483..ad37c8a3e9 100644 --- a/src/tools/clangrefactoringbackend/source/refactoringcompilationdatabase.h +++ b/src/tools/clangrefactoringbackend/source/refactoringcompilationdatabase.h @@ -31,7 +31,6 @@ namespace ClangBackEnd { - class RefactoringCompilationDatabase : public clang::tooling::CompilationDatabase { public: diff --git a/tests/manual/debugger/simple/simple_test_app.cpp b/tests/manual/debugger/simple/simple_test_app.cpp index 2beaffaaae..c6bf423a5c 100644 --- a/tests/manual/debugger/simple/simple_test_app.cpp +++ b/tests/manual/debugger/simple/simple_test_app.cpp @@ -2511,7 +2511,6 @@ namespace qset { namespace qsharedpointer { - class EmployeeData : public QSharedData { public: @@ -5008,7 +5007,6 @@ QString fooxx() namespace basic { - struct Empty {}; struct Data { Data() : a(42) {} int a; }; struct VEmpty {}; |