digikam
#include <importfiltermodel.h>

Protected Member Functions | |
virtual void | setDirectSourceImportModel (ImportItemModel *const sourceModel) |
virtual void | setSourceModel (QAbstractItemModel *sourceModel) |
![]() | |
virtual int | compareCategories (const QModelIndex &left, const QModelIndex &right) const |
virtual bool | lessThan (const QModelIndex &left, const QModelIndex &right) const override |
virtual bool | subSortLessThan (const QModelIndex &left, const QModelIndex &right) const |
![]() | |
virtual bool | filterAcceptsColumn (int source_column, const QModelIndex &source_parent) const |
virtual bool | filterAcceptsRow (int source_row, const QModelIndex &source_parent) const |
void | filterChanged () |
void | invalidateFilter () |
![]() | |
void | beginInsertColumns (const QModelIndex &parent, int first, int last) |
void | beginInsertRows (const QModelIndex &parent, int first, int last) |
bool | beginMoveColumns (const QModelIndex &sourceParent, int sourceFirst, int sourceLast, const QModelIndex &destinationParent, int destinationChild) |
bool | beginMoveRows (const QModelIndex &sourceParent, int sourceFirst, int sourceLast, const QModelIndex &destinationParent, int destinationChild) |
void | beginRemoveColumns (const QModelIndex &parent, int first, int last) |
void | beginRemoveRows (const QModelIndex &parent, int first, int last) |
void | beginResetModel () |
void | changePersistentIndex (const QModelIndex &from, const QModelIndex &to) |
void | changePersistentIndexList (const QModelIndexList &from, const QModelIndexList &to) |
QModelIndex | createIndex (int row, int column, void *ptr) const |
QModelIndex | createIndex (int row, int column, int id) const |
QModelIndex | createIndex (int row, int column, quint32 id) const |
void | endInsertColumns () |
void | endInsertRows () |
void | endMoveColumns () |
void | endMoveRows () |
void | endRemoveColumns () |
void | endRemoveRows () |
void | endResetModel () |
QModelIndexList | persistentIndexList () const |
void | reset () |
void | resetInternalData () |
void | setRoleNames (const QHash< int, QByteArray > &roleNames) |
![]() | |
bool | checkConnectArgs (const char *signal, const QObject *object, const char *method) |
virtual void | childEvent (QChildEvent *event) |
virtual void | connectNotify (const char *signal) |
virtual void | customEvent (QEvent *event) |
virtual void | disconnectNotify (const char *signal) |
int | receivers (const char *signal) const |
QObject * | sender () const |
int | senderSignalIndex () const |
virtual void | timerEvent (QTimerEvent *event) |
Protected Attributes | |
ImportSortFilterModel * | m_chainedModel |
Detailed Description
Definition at line 42 of file importfiltermodel.h.
Constructor & Destructor Documentation
Definition at line 35 of file importfiltermodel.cpp.
Digikam::ImportSortFilterModel::~ImportSortFilterModel | ( | ) |
Definition at line 41 of file importfiltermodel.cpp.
Member Function Documentation
qlonglong Digikam::ImportSortFilterModel::camItemId | ( | const QModelIndex & | index | ) | const |
Definition at line 162 of file importfiltermodel.cpp.
QList< qlonglong > Digikam::ImportSortFilterModel::camItemIds | ( | const QList< QModelIndex > & | indexes | ) | const |
Definition at line 179 of file importfiltermodel.cpp.
CamItemInfo Digikam::ImportSortFilterModel::camItemInfo | ( | const QModelIndex & | index | ) | const |
Definition at line 157 of file importfiltermodel.cpp.
QList< CamItemInfo > Digikam::ImportSortFilterModel::camItemInfos | ( | const QList< QModelIndex > & | indexes | ) | const |
Definition at line 167 of file importfiltermodel.cpp.
QList< CamItemInfo > Digikam::ImportSortFilterModel::camItemInfosSorted | ( | ) | const |
Returns a list of all camera infos, sorted according to this model.
If you do not need a sorted list, use ImportItemModel's camItemInfo() method.
Definition at line 207 of file importfiltermodel.cpp.
|
virtual |
Returns this, any chained ImportFilterModel, or 0.
Definition at line 220 of file importfiltermodel.cpp.
QModelIndex Digikam::ImportSortFilterModel::indexForCamItemId | ( | qlonglong | id | ) | const |
Definition at line 202 of file importfiltermodel.cpp.
QModelIndex Digikam::ImportSortFilterModel::indexForCamItemInfo | ( | const CamItemInfo & | info | ) | const |
Definition at line 197 of file importfiltermodel.cpp.
QModelIndex Digikam::ImportSortFilterModel::indexForPath | ( | const QString & | filePath | ) | const |
Definition at line 191 of file importfiltermodel.cpp.
QModelIndex Digikam::ImportSortFilterModel::mapFromDirectSourceToSourceImportModel | ( | const QModelIndex & | sourceModelIndex | ) | const |
Definition at line 118 of file importfiltermodel.cpp.
QModelIndex Digikam::ImportSortFilterModel::mapFromSourceImportModel | ( | const QModelIndex & | importModelIndex | ) | const |
Definition at line 103 of file importfiltermodel.cpp.
QList< QModelIndex > Digikam::ImportSortFilterModel::mapListFromSource | ( | const QList< QModelIndex > & | sourceIndexes | ) | const |
Definition at line 145 of file importfiltermodel.cpp.
QList< QModelIndex > Digikam::ImportSortFilterModel::mapListToSource | ( | const QList< QModelIndex > & | indexes | ) | const |
Definition at line 133 of file importfiltermodel.cpp.
QModelIndex Digikam::ImportSortFilterModel::mapToSourceImportModel | ( | const QModelIndex & | proxyIndex | ) | const |
Convenience methods mapped to ImportItemModel.
Mentioned indexes returned come from the source import image model.
Definition at line 88 of file importfiltermodel.cpp.
|
protectedvirtual |
Reimplement if needed. Called only when model shall be set as (direct) sourceModel.
Definition at line 235 of file importfiltermodel.cpp.
void Digikam::ImportSortFilterModel::setSourceFilterModel | ( | ImportSortFilterModel *const | sourceModel | ) |
Definition at line 67 of file importfiltermodel.cpp.
void Digikam::ImportSortFilterModel::setSourceImportModel | ( | ImportItemModel *const | sourceModel | ) |
Definition at line 45 of file importfiltermodel.cpp.
|
protectedvirtual |
Reimplemented from QSortFilterProxyModel.
Definition at line 230 of file importfiltermodel.cpp.
ImportSortFilterModel * Digikam::ImportSortFilterModel::sourceFilterModel | ( | ) | const |
Definition at line 83 of file importfiltermodel.cpp.
ImportItemModel * Digikam::ImportSortFilterModel::sourceImportModel | ( | ) | const |
Definition at line 57 of file importfiltermodel.cpp.
Member Data Documentation
|
protected |
Definition at line 92 of file importfiltermodel.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2019 The KDE developers.
Generated on Sat Dec 14 2019 02:34:28 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.