Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
stringbuilder.cpp File Reference

(49d177cfba831112c7470cdc993a31bcb38a468a)

#include <QString>
#include <QStringBuilder>
+ Include dependency graph for stringbuilder.cpp:

Go to the source code of this file.

Functions

 if (foo.startsWith("("+type+") 0x")) ... QString hello("hello")
 [0]
 
QLatin1StringView world ("world")
 

Variables

QString foo = "vector<"_L1 + type + ">::iterator"_L1
 [0]
 
QString type = "long"
 
QStringView el = QStringView{ hello }.mid(2, 3)
 
QString message = hello % el % world % QChar('!')
 
QString str ("QStringBuilder")
 [5]
 
auto s = "Like hot glue, " % str % " concatenates strings"
 [6]
 
auto concatenateStr
 

Function Documentation

◆ if()

if ( foo. startsWith"("+type+") 0x")

[0]

[5]

◆ world()

QLatin1StringView world ( "world" )

Variable Documentation

◆ concatenateStr

auto concatenateStr
Initial value:
= []() {
return "Like hot glue, " % str % " concatenates strings";
}
QString str
[2]

Definition at line 34 of file stringbuilder.cpp.

◆ el

QStringView el = QStringView{ hello }.mid(2, 3)

Definition at line 22 of file stringbuilder.cpp.

◆ foo

QString foo = "vector<"_L1 + type + ">::iterator"_L1

[0]

[14]

[15]

Definition at line 9 of file stringbuilder.cpp.

◆ message

Definition at line 24 of file stringbuilder.cpp.

◆ s

QString s = "Like hot glue, " % str % " concatenates strings"

[6]

[7]

Definition at line 31 of file stringbuilder.cpp.

◆ str

QString str("QStringBuilder") ( "QStringBuilder" )

[5]

[6]

◆ type

QString type = "long"

Definition at line 10 of file stringbuilder.cpp.