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

(ecb0878cbc3bc677d0f440950d2d1e304bcea495)

#include <QtCore/qversionnumber.h>
#include <QtCore/qhash.h>
#include <QtCore/private/qlocale_tools_p.h>
#include <QtCore/qcollator.h>
#include <QtCore/qdatastream.h>
#include <QtCore/qdebug.h>
#include <algorithm>
#include <limits>
+ Include dependency graph for qversionnumber.cpp:

Go to the source code of this file.

Functions

static QVersionNumber from_string (QLatin1StringView string, qsizetype *suffixIndex)
 
static QVersionNumber from_string (q_no_char8_t::QUtf8StringView string, qsizetype *suffixIndex)
 
void qt_to_latin1 (uchar *dst, const char16_t *uc, qsizetype len)
 
static QVersionNumber from_string (QStringView string, qsizetype *suffixIndex)
 
QDataStreamoperator<< (QDataStream &out, const QVersionNumber &version)
 
QDataStreamoperator>> (QDataStream &in, QVersionNumber &version)
 
QDebug operator<< (QDebug debug, const QVersionNumber &version)
 

Function Documentation

◆ from_string() [1/3]

static QVersionNumber from_string ( q_no_char8_t::QUtf8StringView string,
qsizetype * suffixIndex )
static

Definition at line 473 of file qversionnumber.cpp.

References from_string().

+ Here is the call graph for this function:

◆ from_string() [2/3]

static QVersionNumber from_string ( QLatin1StringView string,
qsizetype * suffixIndex )
static

Definition at line 443 of file qversionnumber.cpp.

References qstrntoull().

Referenced by from_string(), from_string(), and QVersionNumber::fromString().

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

◆ from_string() [3/3]

static QVersionNumber from_string ( QStringView string,
qsizetype * suffixIndex )
static

Definition at line 481 of file qversionnumber.cpp.

References copy(), from_string(), and qt_to_latin1().

+ Here is the call graph for this function:

◆ operator<<() [1/2]

QDataStream & operator<< ( QDataStream & out,
const QVersionNumber & version )
related

Definition at line 540 of file qversionnumber.cpp.

◆ operator<<() [2/2]

QDebug operator<< ( QDebug debug,
const QVersionNumber & version )

Definition at line 564 of file qversionnumber.cpp.

References debug, and QVersionNumber::toString().

+ Here is the call graph for this function:

◆ operator>>()

QDataStream & operator>> ( QDataStream & in,
QVersionNumber & version )
related

Definition at line 554 of file qversionnumber.cpp.

◆ qt_to_latin1()

void qt_to_latin1 ( uchar * dst,
const char16_t * uc,
qsizetype len )
extern

Definition at line 1183 of file qstring.cpp.

Referenced by QLatin1::convertFromUnicode(), from_string(), qt_convert_to_latin1(), QStringView::toDouble(), and toIntegral().

+ Here is the caller graph for this function: