KritaWidgets
KoMarkerModel.cpp
Go to the documentation of this file.
15 KoMarkerModel::KoMarkerModel(const QList<KoMarker*> markers, KoFlake::MarkerPosition position, QObject *parent)
void append(const T &value)
void beginRemoveRows(const QModelIndex &parent, int first, int last)
int count(const T &value) const
KoMarkerModel(const QList< KoMarker * > markers, KoFlake::MarkerPosition position, QObject *parent=0)
Definition: KoMarkerModel.cpp:15
int temporaryMarkerPosition() const
Definition: KoMarkerModel.cpp:89
void removeAt(int i)
void beginInsertRows(const QModelIndex &parent, int first, int last)
int size() const
void prepend(const T &value)
int rowCount(const QModelIndex &parent=QModelIndex()) const override
Definition: KoMarkerModel.cpp:29
const T & at(int i) const
void endInsertRows()
bool isValid() const
int row() const
QVariant data(const QModelIndex &index, int role=Qt::DisplayRole) const override
Definition: KoMarkerModel.cpp:35
void endRemoveRows()
QVariant marker(int index, int role=Qt::UserRole) const
Definition: KoMarkerModel.cpp:94
virtual QModelIndex index(int row, int column, const QModelIndex &parent) const
QObject * parent() const
int addTemporaryMarker(KoMarker *marker)
Definition: KoMarkerModel.cpp:64
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Jan 19 2021 23:44:00 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Jan 19 2021 23:44:00 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.