aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/ApiExtractor/typedatabase.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2019-07-04 09:59:56 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2019-07-04 11:09:05 +0200
commit363e1e3139585cf8da4970cd0d90938b8163e837 (patch)
tree614262c51231651b0a8ece86119a5e730132cb8e /sources/shiboken2/ApiExtractor/typedatabase.cpp
parent423f12bb6908667e34a477ccf515a2377fc7a596 (diff)
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 <tismer@stackless.com>
Diffstat (limited to 'sources/shiboken2/ApiExtractor/typedatabase.cpp')
-rw-r--r--sources/shiboken2/ApiExtractor/typedatabase.cpp6
1 files changed, 3 insertions, 3 deletions
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 <QtCore/QFile>
#include <QtCore/QDebug>
@@ -572,7 +572,7 @@ bool TypeDatabase::parseFile(const QString &filename, const QString &currentPath
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()));