From 363e1e3139585cf8da4970cd0d90938b8163e837 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Thu, 4 Jul 2019 09:59:56 +0200 Subject: shiboken: Move typesystem parser out of typesystem.cpp The file is too large to be maintainable. Task-number: PYSIDE-1024 Change-Id: I9e95ede1b7e7ce804059ef510dcec9dc9e773a48 Reviewed-by: Christian Tismer --- sources/shiboken2/ApiExtractor/typedatabase.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sources/shiboken2/ApiExtractor/typedatabase.cpp') diff --git a/sources/shiboken2/ApiExtractor/typedatabase.cpp b/sources/shiboken2/ApiExtractor/typedatabase.cpp index 144795c6a..4f8887bd2 100644 --- a/sources/shiboken2/ApiExtractor/typedatabase.cpp +++ b/sources/shiboken2/ApiExtractor/typedatabase.cpp @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2016 The Qt Company Ltd. +** Copyright (C) 2019 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of Qt for Python. @@ -28,7 +28,7 @@ #include "typedatabase.h" #include "typesystem.h" -#include "typesystem_p.h" +#include "typesystemparser.h" #include #include @@ -572,7 +572,7 @@ bool TypeDatabase::parseFile(const QString &filename, const QString ¤tPath bool TypeDatabase::parseFile(QIODevice* device, bool generate) { QXmlStreamReader reader(device); - Handler handler(this, generate); + TypeSystemParser handler(this, generate); const bool result = handler.parse(reader); if (!result) qCWarning(lcShiboken, "%s", qPrintable(handler.errorString())); -- cgit v1.2.3