Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qgeoaddress.cpp File Reference
#include "qgeoaddress.h"
#include "qgeoaddress_p.h"
#include <QtCore/QStringList>
+ Include dependency graph for qgeoaddress.cpp:

Go to the source code of this file.

Functions

static QT_BEGIN_NAMESPACE QString addressLine (const QStringList &parts)
 
static QString formattedAddress (const QGeoAddress &address, const QString &newLine=QLatin1String("<br/>"))
 

Function Documentation

◆ addressLine()

static QT_BEGIN_NAMESPACE QString addressLine ( const QStringList parts)
static

Definition at line 36 of file qgeoaddress.cpp.

References QString::append(), QString::at(), QString::chop(), i, QString::isEmpty(), line, Q_ASSERT, and QString::size().

Referenced by formattedAddress().

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

◆ formattedAddress()

static QString formattedAddress ( const QGeoAddress address,
const QString newLine = QLatin1String("<br/>") 
)
static

Definition at line 69 of file qgeoaddress.cpp.

References addressLine(), QString::chop(), QStringLiteral, Space, and text.

Referenced by QGeoAddress::text().

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