17 #ifndef __IDENTITY_PROXY_MODEL_HH__ 
   18 #define __IDENTITY_PROXY_MODEL_HH__ 
   20 #include <QAbstractProxyModel> 
   39   virtual QVariant data(
const QModelIndex &index, 
int role = Qt::DisplayRole) 
const;
 
   40   virtual Qt::ItemFlags flags(
const QModelIndex &index) 
const;
 
   41   virtual bool setData(
const QModelIndex &index, 
const QVariant &value, 
int role = Qt::EditRole);
 
   43   virtual int columnCount(
const QModelIndex &parent = QModelIndex()) 
const;
 
   44   virtual int rowCount(
const QModelIndex &parent = QModelIndex()) 
const;
 
   46   virtual QModelIndex index(
int row, 
int column, 
const QModelIndex &parent = QModelIndex()) 
const;
 
   47   virtual QModelIndex parent(
const QModelIndex &index ) 
const;
 
   49   virtual QModelIndex mapFromSource(
const QModelIndex &sourceIndex) 
const;
 
   50   virtual QModelIndex mapToSource(
const QModelIndex &proxyIndex) 
const;
 
   52   virtual void setSourceModel(QAbstractItemModel *sourceModel);
 
   55   void sourceColumnsAboutToBeInserted(
const QModelIndex &parent, 
int start, 
int end);
 
   56   void sourceColumnsInserted(
const QModelIndex &parent, 
int start, 
int end);
 
   57   void sourceColumnsAboutToBeMoved(
const QModelIndex &sourceParent, 
int sourceStart, 
int sourceEnd, 
const QModelIndex &destParent, 
int dest);
 
   58   void sourceColumnsMoved(
const QModelIndex &sourceParent, 
int sourceStart, 
int sourceEnd, 
const QModelIndex &destParent, 
int dest);
 
   59   void sourceColumnsAboutToBeRemoved(
const QModelIndex &parent, 
int start, 
int end);
 
   60   void sourceColumnsRemoved(
const QModelIndex &parent, 
int start, 
int end);
 
   62   void sourceRowsAboutToBeInserted(
const QModelIndex &parent, 
int start, 
int end);
 
   63   void sourceRowsInserted(
const QModelIndex &parent, 
int start, 
int end);
 
   64   void sourceRowsAboutToBeMoved(
const QModelIndex &sourceParent, 
int sourceStart, 
int sourceEnd, 
const QModelIndex &destParent, 
int dest);
 
   65   void sourceRowsMoved(
const QModelIndex &sourceParent, 
int sourceStart, 
int sourceEnd, 
const QModelIndex &destParent, 
int dest);
 
   66   void sourceRowsAboutToBeRemoved(
const QModelIndex &parent, 
int start, 
int end);
 
   67   void sourceRowsRemoved(
const QModelIndex &parent, 
int start, 
int end);
 
   69   void sourceDataChanged(
const QModelIndex &topLeft, 
const QModelIndex &bottomRight);
 
   70   void sourceHeaderDataChanged(Qt::Orientation orientation, 
int first, 
int last);
 
   72   void sourceLayoutAboutToBeChanged();
 
   73   void sourceLayoutChanged();
 
   75   void sourceModelAboutToBeReset();
 
   76   void sourceModelReset();
 
   79 #endif // __IDENTITY_PROXY_MODEL_HH__