diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2017-01-05 16:13:56 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2017-01-06 12:10:10 +0000 |
commit | 566173b343c8672cd15fe7c3d5223aab766e6ef7 (patch) | |
tree | def9348b84b1ef5e2cdc6b527dc11deadca38a0d /ApiExtractor/abstractmetalang_typedefs.h | |
parent | b95dc286f5149f0f8ce512f480c9b9ac997ece3f (diff) |
Header cleanup
Split out small headers typesystem_enums.h typesystem_typedefs.h and
abstractmetalang_typedefs.h containing enumerations and typedefs
from abstractmetalang.h and typesystem.h.
Move enumerations Position and DocModificationMode from typesystem
classes into global enumerations in typesystem_enums.h.
Remove the large includes abstractmetalang.h and typesystem.h
from most headers, de-inline some methods where required.
Change-Id: I206acb605f86964a591057dcbc8584b9572fd810
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'ApiExtractor/abstractmetalang_typedefs.h')
-rw-r--r-- | ApiExtractor/abstractmetalang_typedefs.h | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/ApiExtractor/abstractmetalang_typedefs.h b/ApiExtractor/abstractmetalang_typedefs.h new file mode 100644 index 000000000..b167e18e4 --- /dev/null +++ b/ApiExtractor/abstractmetalang_typedefs.h @@ -0,0 +1,48 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of PySide2. +** +** $QT_BEGIN_LICENSE:GPL-EXCEPT$ +** 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. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +#ifndef ABSTRACTMETALANG_TYPEDEFS_H +#define ABSTRACTMETALANG_TYPEDEFS_H + +#include <QtCore/QList> + +class AbstractMetaField; +class AbstractMetaArgument; +class AbstractMetaEnum; +class AbstractMetaEnumValueList; +class AbstractMetaFunction; +class AbstractMetaClassList; +class AbstractMetaType; + +typedef QList<AbstractMetaArgument *> AbstractMetaArgumentList; +typedef QList<AbstractMetaEnum *> AbstractMetaEnumList; +typedef QList<AbstractMetaField *> AbstractMetaFieldList; +typedef QList<AbstractMetaFunction *> AbstractMetaFunctionList; +typedef QList<AbstractMetaType *> AbstractMetaTypeList; + +#endif // ABSTRACTMETALANG_TYPEDEFS_H |