26 #ifndef DIGIKAM_ABSTRACT_CHECKABLE_ALBUM_TREE_VIEW_H
27 #define DIGIKAM_ABSTRACT_CHECKABLE_ALBUM_TREE_VIEW_H
85 void rowsInserted(
const QModelIndex& parent,
int start,
int end)
override;
89 void restoreCheckStateForHierarchy(
const QModelIndex& index);
90 void restoreCheckState(
const QModelIndex& index);
Definition: abstractalbummodel.h:358
Definition: abstractcheckablealbumtreeview.h:37
AbstractCheckableAlbumTreeView(QWidget *const parent, Flags flags)
Models of these view can be checkable, they need not. You need to enable it on the model.
Definition: abstractcheckablealbumtreeview.cpp:63
void doLoadState() override
Definition: abstractcheckablealbumtreeview.cpp:139
void setCheckOnMiddleClick(bool doThat)
Enable checking on middle mouse button click (default: on)
Definition: abstractcheckablealbumtreeview.cpp:91
bool isRestoreCheckState() const
Definition: abstractcheckablealbumtreeview.cpp:129
void doSaveState() override
Definition: abstractcheckablealbumtreeview.cpp:238
void rowsInserted(const QModelIndex &parent, int start, int end) override
Definition: abstractcheckablealbumtreeview.cpp:190
CheckableAlbumFilterModel * checkableAlbumFilterModel() const
Definition: abstractcheckablealbumtreeview.h:57
AbstractCheckableAlbumModel * checkableModel() const
Definition: abstractcheckablealbumtreeview.h:52
AbstractCheckableAlbumModel * albumModel() const
Manage check state through the model directly.
Definition: abstractcheckablealbumtreeview.cpp:81
CheckableAlbumFilterModel * albumFilterModel() const
Definition: abstractcheckablealbumtreeview.cpp:86
~AbstractCheckableAlbumTreeView() override
Definition: abstractcheckablealbumtreeview.cpp:76
void middleButtonPressed(Album *a) override
Definition: abstractcheckablealbumtreeview.cpp:96
void setRestoreCheckState(bool restore)
Definition: abstractcheckablealbumtreeview.cpp:134
Definition: abstractcountingalbumtreeview.h:37
Abstract base class for all album types.
Definition: album.h:67
Definition: albumfiltermodel.h:294
Definition: datefolderview.cpp:43