2#ifndef SubTreeProxyModel_h 
    3#define SubTreeProxyModel_h 
    5#include <QIdentityProxyModel> 
    6#include <QPersistentModelIndex> 
    7#include <QSortFilterProxyModel> 
    9class QAbstractProxyModel;
 
   30      QModelIndex 
mapFromSource(
const QModelIndex &sourceIndex) 
const Q_DECL_OVERRIDE;
 
   31      QModelIndex 
mapToSource(
const QModelIndex &proxyIndex) 
const Q_DECL_OVERRIDE;
 
   33      void setSourceModel(QAbstractItemModel *newSourceModel) Q_DECL_OVERRIDE;
 
   50      QPersistentModelIndex m_root;
 
Definition: SubTreeProxyModel.h:24
 
bool setRoot(const QStandardItem *item)
Definition: SubTreeProxyModel.cpp:85
 
QModelIndex mapToSource(const QModelIndex &proxyIndex) const Q_DECL_OVERRIDE
Definition: SubTreeProxyModel.cpp:66
 
QModelIndex mapFromSource(const QModelIndex &sourceIndex) const Q_DECL_OVERRIDE
Definition: SubTreeProxyModel.cpp:36
 
void setSourceModel(QAbstractItemModel *newSourceModel) Q_DECL_OVERRIDE
Definition: SubTreeProxyModel.cpp:71
 
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16