kdgantt2
Go to the documentation of this file.
25 #ifndef KDGANTTFORWARDINGPROXYMODEL_H
26 #define KDGANTTFORWARDINGPROXYMODEL_H
28 #include <QAbstractProxyModel>
40 QModelIndex mapFromSource (
const QModelIndex & sourceIndex )
const;
41 QModelIndex mapToSource (
const QModelIndex & proxyIndex )
const;
43 void setSourceModel( QAbstractItemModel* model );
45 QModelIndex index(
int row,
int column,
const QModelIndex& parent = QModelIndex() )
const;
46 QModelIndex parent(
const QModelIndex& idx )
const;
48 int rowCount(
const QModelIndex& idx = QModelIndex() )
const;
49 int columnCount(
const QModelIndex& idx = QModelIndex() )
const;
51 bool setData(
const QModelIndex& index,
const QVariant& value,
int role = Qt::EditRole );
54 virtual void sourceModelAboutToBeReset();
55 virtual void sourceModelReset();
56 virtual void sourceLayoutAboutToBeChanged();
57 virtual void sourceLayoutChanged();
58 virtual void sourceDataChanged(
const QModelIndex& from,
const QModelIndex& to );
59 virtual void sourceColumnsAboutToBeInserted(
const QModelIndex& idx,
int start,
int end );
60 virtual void sourceColumnsInserted(
const QModelIndex& idx,
int start,
int end );
61 virtual void sourceColumnsAboutToBeRemoved(
const QModelIndex& idx,
int start,
int end );
62 virtual void sourceColumnsRemoved(
const QModelIndex& idx,
int start,
int end );
63 virtual void sourceRowsAboutToBeInserted(
const QModelIndex& idx,
int start,
int end );
64 virtual void sourceRowsInserted(
const QModelIndex& idx,
int start,
int end );
65 virtual void sourceRowsAboutToBeRemoved(
const QModelIndex&,
int start,
int end );
66 virtual void sourceRowsRemoved(
const QModelIndex&,
int start,
int end );
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:05 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.