marble
SqlWriter.cpp
Go to the documentation of this file.
94 if ( m_lastPlacemark.second != placemark.name() && !m_placemarks.contains( placemark.name() ) ) {
A lightweight data structure to represent administrative regions like villages, cities, states, ...
Definition: OsmRegion.h:26
bool exec(const QString &query)
A lightweight data structure to represent points of interest like addresses with support for serializ...
Definition: OsmPlacemark.h:24
QSqlDatabase addDatabase(const QString &type, const QString &connectionName)
Definition: Writer.h:22
void addOsmRegion(const OsmRegion ®ion)
Definition: SqlWriter.cpp:76
int regionId() const
Identifier of the smallest region containing this placemark, 0 if none (~main area).
Definition: OsmPlacemark.cpp:53
bool prepare(const QString &query)
QString executedQuery() const
bool open()
qreal latitude() const
Latitude of the placemark's center point, in degree.
Definition: OsmPlacemark.cpp:83
qreal longitude() const
Longitude of the placemark's center point, in degree.
Definition: OsmPlacemark.cpp:73
QSqlError lastError() const
bool contains(const Key &key) const
bool isValid() const
void setDatabaseName(const QString &name)
void addBindValue(const QVariant &val, QFlags< QSql::ParamTypeFlag > paramType)
qreal longitude() const
Longitude of the region's center point, in degree.
Definition: OsmRegion.cpp:57
qreal latitude() const
Latitude of the region's center point, in degree.
Definition: OsmRegion.cpp:67
void addOsmPlacemark(const OsmPlacemark &placemark)
Definition: SqlWriter.cpp:92
SqlWriter(const QString &filename, QObject *parent=0)
Definition: SqlWriter.cpp:22
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:42 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:42 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.