25 #ifndef DIGIKAM_GPS_ITEM_MODEL_H
26 #define DIGIKAM_GPS_ITEM_MODEL_H
30 #include <QAbstractItemModel>
54 void setColumnCount(
const int nColumns);
57 QModelIndex indexFromUrl(
const QUrl& url)
const;
59 QPixmap getPixmapForIndex(
const QPersistentModelIndex& itemIndex,
const int size);
63 int columnCount(
const QModelIndex& parent = QModelIndex())
const override;
64 bool setData(
const QModelIndex& index,
const QVariant&
value,
int role)
override;
65 QVariant data(
const QModelIndex& index,
int role = Qt::DisplayRole)
const override;
66 QModelIndex index(
int row,
int column,
const QModelIndex& parent = QModelIndex())
const override;
67 QModelIndex parent(
const QModelIndex& index)
const override;
68 int rowCount(
const QModelIndex& parent = QModelIndex())
const override;
69 bool setHeaderData(
int section,
Qt::Orientation orientation,
const QVariant&
value,
int role)
override;
70 QVariant headerData(
int section,
Qt::Orientation orientation,
int role)
const override;
71 Qt::ItemFlags flags(
const QModelIndex& index)
const override;
72 Qt::DropActions supportedDragActions()
const override;
Definition: gpsitemcontainer.h:96
Definition: gpsitemmodel.h:43
void signalThumbnailForIndexAvailable(const QPersistentModelIndex &index, const QPixmap &pixmap)
Definition: loadingdescription.h:45
qulonglong value
Definition: itemviewutilities.cpp:592
@ Orientation
Definition: coredbfields.h:86
Definition: datefolderview.cpp:43