Marble
SearchBackend.cpp
37 if (!m_lastSuccessfulCompletion.isEmpty() && prefix.startsWith(m_lastSuccessfulCompletion) && prefix.size() > m_lastSuccessfulCompletion.size()) {
41 m_completionModel->removePlacemarks(QStringLiteral("Completion model"), 0, m_completionModel->rowCount());
53 QVariant data = m_marbleQuickItem->model()->placemarkModel()->data(index, MarblePlacemarkModel::ObjectPointerRole);
94 QVariant data = m_placemarkModel->data(m_placemarkModel->index(placemarkIndex), MarblePlacemarkModel::ObjectPointerRole);
118 connect(m_searchManager, SIGNAL(searchResultChanged(QAbstractItemModel *)), this, SLOT(updateSearchResult(QAbstractItemModel *)));
119 connect(m_searchManager, SIGNAL(searchFinished(QString)), this, SIGNAL(searchFinished(QString)));
This file contains the headers for MarbleModel.
a class representing a point of interest on the map
Definition GeoDataPlacemark.h:47
This class represents a model of all place marks which are currently available through a given Placem...
Definition MarblePlacemarkModel.h:30
Binds a QML item to a specific geodetic location in screen coordinates.
Definition AbstractDataPlugin.cpp:23
Q_EMITQ_EMIT
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
T qobject_cast(QObject *object)
bool isEmpty() const const
qsizetype size() const const
bool startsWith(QChar c, Qt::CaseSensitivity cs) const const
CaseInsensitive
DisplayRole
void * data()
bool isValid() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:52:08 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:52:08 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.