mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-12 03:36:32 +00:00
22 lines
414 B
C++
22 lines
414 B
C++
|
#ifndef CSM_WOLRD_IDTABLEPROXYMODEL_H
|
||
|
#define CSM_WOLRD_IDTABLEPROXYMODEL_H
|
||
|
|
||
|
#include <QSortFilterProxyModel>
|
||
|
|
||
|
#include <string>
|
||
|
|
||
|
namespace CSMWorld
|
||
|
{
|
||
|
class IdTableProxyModel : public QSortFilterProxyModel
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
|
||
|
IdTableProxyModel (QObject *parent = 0);
|
||
|
|
||
|
virtual QModelIndex getModelIndex (const std::string& id, int column) const;
|
||
|
};
|
||
|
}
|
||
|
|
||
|
#endif
|