KDEUI
Go to the documentation of this file. 22 #ifndef KWIDGETITEMDELEGATE_H 23 #define KWIDGETITEMDELEGATE_H 25 #include <QtCore/QEvent> 26 #include <QtCore/QList> 27 #include <QtCore/QPersistentModelIndex> 28 #include <QtGui/QAbstractItemDelegate> 35 class QStyleOptionViewItem;
36 class QAbstractItemView;
39 class KWidgetItemDelegatePrivate;
40 class KWidgetItemDelegatePool;
72 QAbstractItemView *itemView()
const;
79 QPersistentModelIndex focusedIndex()
const;
115 const QStyleOptionViewItem &option,
116 const QPersistentModelIndex &index)
const = 0;
131 #ifndef KDE_NO_DEPRECATED 132 KDE_DEPRECATED
void paintWidgets(QPainter *painter,
const QStyleOptionViewItem &option,
133 const QPersistentModelIndex &index)
const;
158 friend class KWidgetItemDelegatePool;
159 friend class KWidgetItemDelegateEventListener;
160 KWidgetItemDelegatePrivate *
const d;
161 Q_PRIVATE_SLOT(d,
void _k_slotRowsInserted(
const QModelIndex&,
int,
int))
162 Q_PRIVATE_SLOT(d,
void _k_slotRowsAboutToBeRemoved(
const QModelIndex&,
int,
int))
163 Q_PRIVATE_SLOT(d,
void _k_slotRowsRemoved(
const QModelIndex&,
int,
int))
164 Q_PRIVATE_SLOT(d,
void _k_slotDataChanged(
const QModelIndex&,
const QModelIndex&))
165 Q_PRIVATE_SLOT(d,
void _k_slotLayoutChanged())
166 Q_PRIVATE_SLOT(d,
void _k_slotModelReset())
167 Q_PRIVATE_SLOT(d,
void _k_slotSelectionChanged(
const QItemSelection&,
const QItemSelection&))
This file is part of the KDE documentation.
Documentation copyright © 1996-2018 The KDE developers.
Generated on Fri Oct 19 2018 17:20:38 by
doxygen 1.8.13 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.