Skip to content
Permalink
Browse files
fix windows build
  • Loading branch information
jef-n committed Apr 4, 2014
1 parent 72b3812 commit 8bd80f43c5e79ba9828397ef8c4d9dd6e6d4a781
@@ -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

0 comments on commit 8bd80f4

Please sign in to comment.