mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-27 07:47:03 -05:00
24 lines
729 B
C++
24 lines
729 B
C++
#ifndef PGPID_ITEM_PROXY_H
|
|
#define PGPID_ITEM_PROXY_H
|
|
|
|
#include <QSortFilterProxyModel>
|
|
|
|
class pgpid_item_proxy :
|
|
//public QAbstractProxyModel
|
|
public QSortFilterProxyModel
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
pgpid_item_proxy(QObject *parent = nullptr);
|
|
/* virtual QModelIndex mapFromSource(const QModelIndex &sourceIndex) const;
|
|
QModelIndex mapToSource(const QModelIndex &proxyIndex) const;
|
|
QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const;
|
|
QModelIndex parent(const QModelIndex &child) const;
|
|
int rowCount(const QModelIndex &parent = QModelIndex()) const;
|
|
int columnCount(const QModelIndex &parent = QModelIndex()) const;
|
|
*/
|
|
};
|
|
|
|
#endif // PGPID_ITEM_PROXY_H
|