23 #ifndef KDGANTTFORWARDINGPROXYMODEL_H 24 #define KDGANTTFORWARDINGPROXYMODEL_H 26 #include <QAbstractProxyModel> 38 QModelIndex mapFromSource (
const QModelIndex & sourceIndex )
const override;
39 QModelIndex mapToSource (
const QModelIndex & proxyIndex )
const override;
41 void setSourceModel( QAbstractItemModel* model )
override;
43 QModelIndex index(
int row,
int column,
const QModelIndex& parent = QModelIndex() )
const override;
44 QModelIndex parent(
const QModelIndex& idx )
const override;
46 int rowCount(
const QModelIndex& idx = QModelIndex() )
const override;
47 int columnCount(
const QModelIndex& idx = QModelIndex() )
const override;
49 bool setData(
const QModelIndex& index,
const QVariant& value,
int role = Qt::EditRole )
override;
51 QMimeData *mimeData(
const QModelIndexList &indexes)
const override;
52 bool dropMimeData(
const QMimeData *data, Qt::DropAction action,
int row,
int column,
const QModelIndex &parent)
override;
53 QStringList mimeTypes()
const override;
54 Qt::DropActions supportedDropActions()
const override;
57 virtual void sourceModelAboutToBeReset();
58 virtual void sourceModelReset();
59 virtual void sourceLayoutAboutToBeChanged();
60 virtual void sourceLayoutChanged();
61 virtual void sourceDataChanged(
const QModelIndex& from,
const QModelIndex& to );
62 virtual void sourceColumnsAboutToBeInserted(
const QModelIndex& idx,
int start,
int end );
63 virtual void sourceColumnsInserted(
const QModelIndex& idx,
int start,
int end );
64 virtual void sourceColumnsAboutToBeRemoved(
const QModelIndex& idx,
int start,
int end );
65 virtual void sourceColumnsRemoved(
const QModelIndex& idx,
int start,
int end );
66 virtual void sourceRowsAboutToBeInserted(
const QModelIndex& idx,
int start,
int end );
67 virtual void sourceRowsInserted(
const QModelIndex& idx,
int start,
int end );
68 virtual void sourceRowsAboutToBeRemoved(
const QModelIndex&,
int start,
int end );
69 virtual void sourceRowsRemoved(
const QModelIndex&,
int start,
int end );
Class only listed here to document inheritance of some KDChart classes.
Class only listed here to document inheritance of some KDChart classes.