Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include "moc.h"
#include "generator.h"
#include "qdatetime.h"
#include "utils.h"
#include "outputrevision.h"
#include <QtCore/qfile.h>
#include <QtCore/qfileinfo.h>
#include <QtCore/qdir.h>
#include <QtCore/qjsondocument.h>
#include <private/qmetaobject_moc_p.h>
#include <private/qduplicatetracker_p.h>
Go to the source code of this file.
Macros | |
#define | STREAM_SMART_POINTER(SMART_POINTER) << #SMART_POINTER |
#define | STREAM_1ARG_TEMPLATE(TEMPLATENAME) << #TEMPLATENAME |
Enumerations | |
enum class | IncludeState { IncludeBegin , IncludeEnd , NoInclude } |
Functions | |
static QByteArray | normalizeType (const QByteArray &ba) |
void | handleDefaultArguments (QList< FunctionDef > *functionList, FunctionDef &function) |
static bool | any_type_contains (const QList< PropertyDef > &properties, const QByteArray &pattern) |
static bool | any_arg_contains (const QList< FunctionDef > &functions, const QByteArray &pattern) |
static QByteArrayList | make_candidates () |
static QByteArrayList | requiredQtContainers (const QList< ClassDef > &classes) |
#define STREAM_1ARG_TEMPLATE | ( | TEMPLATENAME | ) | << #TEMPLATENAME |
#define STREAM_SMART_POINTER | ( | SMART_POINTER | ) | << #SMART_POINTER |
|
strong |
|
static |
Definition at line 1079 of file moc.cpp.
References arg.
Referenced by requiredQtContainers().
|
static |
Definition at line 1070 of file moc.cpp.
References properties.
Referenced by requiredQtContainers().
|
inline |
Definition at line 604 of file moc.cpp.
References function.
Referenced by Moc::parse(), Moc::parseSignals(), Moc::parseSlotInPrivate(), and Moc::parseSlots().
|
static |
Definition at line 1090 of file moc.cpp.
References QT_FOR_EACH_AUTOMATIC_TEMPLATE_1ARG, QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER, STREAM_1ARG_TEMPLATE, and STREAM_SMART_POINTER.
Referenced by requiredQtContainers().
|
static |
Definition at line 24 of file moc.cpp.
References ba, QByteArray::constBegin(), QByteArray::constEnd(), and QByteArray::size().
Referenced by Moc::createPropertyDef(), QtPrivate::QTypeNormalizer::normalizeType(), QtPrivate::QTypeNormalizer::normalizeTypeFromSignature(), Moc::parseEnum(), Moc::parseFunction(), Moc::parseFunctionArguments(), and Moc::parseMaybeFunction().
|
static |
Definition at line 1104 of file moc.cpp.
References any_arg_contains(), any_type_contains(), QByteArray::isEmpty(), and make_candidates().
Referenced by Moc::generate().