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
qqmltyperegistrar.cpp File Reference

(f59bac55c89733bc9db3a6f715c294bfb499e823)

#include <QFile>
#include <QCborArray>
#include <QCborValue>
#include "qqmltyperegistrar_p.h"
#include "qqmltypescreator_p.h"
#include "qanystringviewutils_p.h"
#include "qqmltyperegistrarconstants_p.h"
#include "qqmltyperegistrarutils_p.h"
#include <algorithm>
+ Include dependency graph for qqmltyperegistrar.cpp:

Go to the source code of this file.

Classes

struct  ExclusiveVersionRange
 

Functions

bool operator< (const ExclusiveVersionRange &x, const ExclusiveVersionRange &y)
 True if x was removed before y was introduced.
 
bool operator== (const ExclusiveVersionRange &x, const ExclusiveVersionRange &y)
 True when x and y share a common version.
 
QString conflictingVersionToString (const ExclusiveVersionRange &r)
 
static QString registrationVarName (const QString &module)
 

Function Documentation

◆ conflictingVersionToString()

QString conflictingVersionToString ( const ExclusiveVersionRange & r)

Definition at line 145 of file qqmltyperegistrar.cpp.

References QString::arg().

Referenced by QmlTypeRegistrar::write().

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

◆ operator<()

bool operator< ( const ExclusiveVersionRange & x,
const ExclusiveVersionRange & y )

True if x was removed before y was introduced.

Parameters
o
Returns

Definition at line 36 of file qqmltyperegistrar.cpp.

References QTypeRevision::isValid().

+ Here is the call graph for this function:

◆ operator==()

bool operator== ( const ExclusiveVersionRange & x,
const ExclusiveVersionRange & y )

True when x and y share a common version.

(Warning: not transitive!)

Parameters
o
Returns

Definition at line 49 of file qqmltyperegistrar.cpp.

◆ registrationVarName()

static QString registrationVarName ( const QString & module)
static

Definition at line 162 of file qqmltyperegistrar.cpp.

References QString::at().

Referenced by QmlTypeRegistrar::write().

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