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

(6e3e35d35ce6773496bf54bb3faf6a149ec5988e)

#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::chop(), i, QString::isEmpty(), line, and Q_ASSERT.

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: