mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
fix windows build
This commit is contained in:
parent
72b3812a0f
commit
8bd80f43c5
@ -70,7 +70,7 @@ public:
|
||||
|
||||
QString sortKeyAttributeName() const;
|
||||
void setSortKeyAttributeName( QString fieldName );
|
||||
|
||||
|
||||
int sortKeyAttributeIndex() const /Deprecated/;
|
||||
void setSortKeyAttributeIndex( int idx ) /Deprecated/;
|
||||
|
||||
|
@ -11,7 +11,7 @@ class QgsMapLayerModel : QAbstractItemModel
|
||||
%TypeHeaderCode
|
||||
#include "qgsmaplayermodel.h"
|
||||
%End
|
||||
|
||||
|
||||
public:
|
||||
static const int LayerIdRole;
|
||||
|
||||
|
@ -19,9 +19,6 @@
|
||||
#include "qgslogger.h"
|
||||
|
||||
|
||||
const int QgsFieldModel::FieldIndexRole = Qt::UserRole + 1;
|
||||
const int QgsFieldModel::FieldNameRole = Qt::UserRole + 2;
|
||||
|
||||
QgsFieldModel::QgsFieldModel( QObject *parent )
|
||||
: QAbstractItemModel( parent )
|
||||
, mLayer( NULL )
|
||||
|
@ -32,7 +32,7 @@ class GUI_EXPORT QgsFieldModel : public QAbstractItemModel
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
static const int FieldNameRole, FieldIndexRole;
|
||||
enum { FieldNameRole = Qt::UserRole + 1, FieldIndexRole = Qt::UserRole + 2 };
|
||||
|
||||
/**
|
||||
* @brief QgsFieldModel creates a model to display the fields of a given layer
|
||||
|
Loading…
x
Reference in New Issue
Block a user