akonadi
contactgroupeditordelegate.cpp
56 const QModelIndex index = sourceModel()->index( row, Akonadi::ContactCompletionModel::EmailColumn, parent );
125 ContactGroupEditorDelegate::ContactGroupEditorDelegate( QAbstractItemView *view, QObject *parent )
136 QWidget* ContactGroupEditorDelegate::createEditor( QWidget *parent, const QStyleOptionViewItem&,
164 void ContactGroupEditorDelegate::setEditorData( QWidget *editor, const QModelIndex &index ) const
195 void ContactGroupEditorDelegate::setModelData( QWidget *editor, QAbstractItemModel *model, const QModelIndex &index ) const
252 void ContactGroupEditorDelegate::paint( QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index ) const
261 QSize ContactGroupEditorDelegate::sizeHint( const QStyleOptionViewItem& option, const QModelIndex& index ) const
275 bool ContactGroupEditorDelegate::editorEvent( QEvent *event, QAbstractItemModel *model, const QStyleOptionViewItem &option, const QModelIndex &index )
301 d->mItemView->setCurrentIndex( d->mItemView->model()->index( d->mItemView->currentIndex().row(), 0 ) );
void clear()
void setCaseSensitivity(Qt::CaseSensitivity caseSensitivity)
virtual int rowCount(const QModelIndex &parent) const =0
void setHeight(int height)
Type type() const
int width() const
int right() const
T value() const
bool isValid() const
void setCompletionColumn(int column)
virtual void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const
void setWidth(int width)
bool isEmpty() const
int row() const
virtual QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const
bool contains(const QPoint &point, bool proper) const
virtual bool editorEvent(QEvent *event, QAbstractItemModel *model, const QStyleOptionViewItem &option, const QModelIndex &index)
virtual bool removeRows(int row, int count, const QModelIndex &parent)
const QAbstractItemModel * model() const
QStringList toStringList() const
QVariant data(int role) const
int height() const
int column() const
bool toBool() const
virtual bool setData(const QModelIndex &index, const QVariant &value, int role)
QFuture< void > filter(Sequence &sequence, FilterFunction filterFunction)
const QPoint & pos() const
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QString toString() const
void setLeft(int x)
singleShot
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.