QGIS API Documentation  2.11.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
qgsfeaturemodel.h
Go to the documentation of this file.
1 #ifndef QGSFEATUREMODEL_H
2 #define QGSFEATUREMODEL_H
3 
4 #include "qgsfeature.h" // QgsFeatureId
5 #include <QModelIndex>
6 
8 {
9  public:
10  virtual ~QgsFeatureModel() {}
11 
12  virtual QModelIndex fidToIndex( QgsFeatureId fid ) = 0;
13 };
14 
15 #endif // QGSFEATUREMODEL_H
virtual ~QgsFeatureModel()
virtual QModelIndex fidToIndex(QgsFeatureId fid)=0
qint64 QgsFeatureId
Definition: qgsfeature.h:31