25 #ifndef DIGIKAM_TRACK_LISTMODEL_H
26 #define DIGIKAM_TRACK_LISTMODEL_H
30 #include <QAbstractItemModel>
52 QVariant
data(
const QModelIndex&
index,
int role = Qt::DisplayRole)
const override;
53 QModelIndex
index(
int row,
int column,
const QModelIndex&
parent = QModelIndex())
const override;
54 QModelIndex
parent(
const QModelIndex&
index)
const override;
55 int rowCount(
const QModelIndex&
parent = QModelIndex())
const override;
58 Qt::ItemFlags
flags(
const QModelIndex&
index)
const override;
64 void slotTrackManagerUpdated();
69 const QScopedPointer<Private> d;
Definition: track_listmodel.h:40
TrackListModel(TrackManager *const trackManager, QObject *const parent)
Definition: track_listmodel.cpp:58
TrackManager::Track getTrackForIndex(const QModelIndex &index) const
Definition: track_listmodel.cpp:269
QModelIndex parent(const QModelIndex &index) const override
Definition: track_listmodel.cpp:176
bool setHeaderData(int section, Qt::Orientation orientation, const QVariant &value, int role) override
Definition: track_listmodel.cpp:200
~TrackListModel() override
Definition: track_listmodel.cpp:68
int rowCount(const QModelIndex &parent=QModelIndex()) const override
Definition: track_listmodel.cpp:188
QModelIndex index(int row, int column, const QModelIndex &parent=QModelIndex()) const override
Definition: track_listmodel.cpp:154
Qt::ItemFlags flags(const QModelIndex &index) const override
Definition: track_listmodel.cpp:246
int columnCount(const QModelIndex &parent=QModelIndex()) const override
Definition: track_listmodel.cpp:72
QVariant headerData(int section, Qt::Orientation orientation, int role) const override
Definition: track_listmodel.cpp:210
QVariant data(const QModelIndex &index, int role=Qt::DisplayRole) const override
Definition: track_listmodel.cpp:88
bool setData(const QModelIndex &index, const QVariant &value, int role) override
Definition: track_listmodel.cpp:79
Definition: trackmanager.h:100
Definition: trackmanager.h:46
qulonglong value
Definition: itemviewutilities.cpp:592
@ Orientation
Definition: coredbfields.h:86
Definition: datefolderview.cpp:43