KPublicTransport
abstractquerymodel.cpp
125 std::transform(d_ptr->m_attributions.begin(), d_ptr->m_attributions.end(), std::back_inserter(l), [](const auto &attr) { return QVariant::fromValue(attr); });
Q_INVOKABLE void cancel()
Cancel ongoing query operations, but keep the results that are already there.
Definition abstractquerymodel.cpp:129
Q_INVOKABLE void clear()
Cancel any ongoing query operations, and clear the results.
Definition abstractquerymodel.cpp:136
QString errorMessage
Contains the error message if all backends failed to provide a result.
Definition abstractquerymodel.h:34
KPublicTransport::Manager * manager
Sets the KPublicTransport::Manager instance.
Definition abstractquerymodel.h:29
void finished()
Emitted whenever the corresponding search has been completed.
std::vector< Attribution > && takeAttributions()
Returns the attributions for the provided data for moving them elsewhere.
Definition reply.cpp:89
KCRASH_EXPORT void setErrorMessage(const QString &message)
Query operations and data types for accessing realtime public transport information from online servi...
Definition attribution.cpp:16
void beginResetModel()
void endResetModel()
virtual int rowCount(const QModelIndex &parent) const const=0
Q_EMITQ_EMIT
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
void deleteLater()
QFuture< ArgsType< Signal > > connect(Sender *sender, Signal signal)
void timeout()
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:07:52 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:07:52 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.