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>.
Loading...
Searching...
No Matches
qqmltyperegistrarutils.cpp File Reference

(f59bac55c89733bc9db3a6f715c294bfb499e823)

#include "qqmltyperegistrarutils_p.h"
#include "qanystringviewutils_p.h"
#include "qqmltyperegistrarconstants_p.h"
#include "qmetatypesjsonprocessor_p.h"
#include <QtCore/qcborarray.h>
#include <QtCore/qcbormap.h>
#include <QtCore/qcborvalue.h>
#include <QtCore/qdebug.h>
+ Include dependency graph for qqmltyperegistrarutils.cpp:

Go to the source code of this file.

Functions

QT_BEGIN_NAMESPACE QTypeRevision handleInMinorVersion (QTypeRevision revision, int majorVersion)
 
QAnyStringView interfaceName (const Interface &iface)
 
static QDebug message (QDebug base, QAnyStringView message, QAnyStringView fileName, int lineNumber)
 
QDebug warning (QAnyStringView fileName, int lineNumber)
 
QDebug warning (const MetaType &classDef)
 
QDebug error (QAnyStringView fileName, int lineNumber)
 

Function Documentation

◆ error()

QDebug error ( QAnyStringView fileName,
int lineNumber )

Definition at line 54 of file qqmltyperegistrarutils.cpp.

References fileName, and qCritical.

◆ handleInMinorVersion()

QT_BEGIN_NAMESPACE QTypeRevision handleInMinorVersion ( QTypeRevision revision,
int majorVersion )

Definition at line 18 of file qqmltyperegistrarutils.cpp.

References QTypeRevision::fromVersion(), QTypeRevision::hasMajorVersion(), QTypeRevision::hasMinorVersion(), and QTypeRevision::minorVersion().

Referenced by QmlTypesClassDescription::collect(), and QmlTypeRegistrar::write().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ interfaceName()

QAnyStringView interfaceName ( const Interface & iface)

Definition at line 27 of file qqmltyperegistrarutils.cpp.

Referenced by QtWaylandClient::QWaylandDisplay::hasRegistryGlobal(), and Scanner::process().

+ Here is the caller graph for this function:

◆ message()

static QDebug message ( QDebug base,
QAnyStringView message,
QAnyStringView fileName,
int lineNumber )
static

Definition at line 32 of file qqmltyperegistrarutils.cpp.

References base, fileName, and QString::number().

+ Here is the call graph for this function:

◆ warning() [1/2]

QDebug warning ( const MetaType & classDef)

Definition at line 44 of file qqmltyperegistrarutils.cpp.

References file, and warning().

+ Here is the call graph for this function:

◆ warning() [2/2]