26 #ifndef DIGIKAM_MODEL_COMPLETER_H
27 #define DIGIKAM_MODEL_COMPLETER_H
31 #include <QAbstractItemModel>
32 #include <QStringList>
59 void setItemModel(QAbstractItemModel*
const model,
int uniqueIdRole,
int displayRole = Qt::DisplayRole);
60 QAbstractItemModel* itemModel()
const;
62 void addItem(
const QString& item);
63 void setList(
const QStringList& list);
64 QStringList items()
const;
73 void slotDelayedModelTimer();
74 void slotHighlighted(
const QModelIndex& index);
75 void slotRowsInserted(
const QModelIndex& parent,
int start,
int end);
76 void slotRowsAboutToBeRemoved(
const QModelIndex& parent,
int start,
int end);
77 void slotDataChanged(
const QModelIndex& topLeft,
const QModelIndex& bottomRight);
78 void slotModelReset();
82 void sync(QAbstractItemModel*
const model);
83 void sync(QAbstractItemModel*
const model,
const QModelIndex& index);
Definition: modelcompleter.h:43
void signalHighlighted(int albumId)
Definition: datefolderview.cpp:43