KPublicTransport
locationhistorymodel.h
42 Q_INVOKABLE bool removeRow(int row, const QModelIndex &parent = QModelIndex()); // not exported to QML by default...
55 void addPresetLocation(const KPublicTransport::Location &loc, const QDateTime &lastUse, int useCount);
void clearPresetLocations()
Remove all preset locations, only keeping the history locations.
Definition locationhistorymodel.cpp:145
void addPresetLocation(const KPublicTransport::Location &loc, const QDateTime &lastUse, int useCount)
Add a preset location.
Definition locationhistorymodel.cpp:119
void addLocation(const KPublicTransport::Location &loc)
Add a location to the history.
Definition locationhistorymodel.cpp:93
Query operations and data types for accessing realtime public transport information from online servi...
Definition attribution.cpp:16
virtual QModelIndex parent(const QModelIndex &index) const const=0
QAbstractListModel(QObject *parent)
virtual QModelIndex index(int row, int column, const QModelIndex &parent) const const override
QObject(QObject *parent)
Q_ENUM(...)
Q_INVOKABLEQ_INVOKABLE
Q_OBJECTQ_OBJECT
Q_SLOTSQ_SLOTS
UserRole
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:50:52 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:50:52 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.