4 #ifndef pqSelectionAdaptor_h
5 #define pqSelectionAdaptor_h
7 #include "pqComponentsModule.h"
8 #include <QItemSelectionModel>
12 class QAbstractItemModel;
52 const QAbstractItemModel* getQModel()
const;
58 virtual void selectionChanged();
63 virtual void currentProxyChanged();
64 virtual void proxySelectionChanged();
72 return QItemSelectionModel::NoUpdate;
81 QModelIndex mapToSource(
const QModelIndex& inIndex)
const;
88 QModelIndex mapFromSource(
const QModelIndex& inIndex,
const QAbstractItemModel* model)
const;
90 QItemSelectionModel* QSelectionModel;