Skip to content
Permalink
Browse files
fix build error
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15575 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Mar 23, 2011
1 parent 485baf7 commit b6f3ac91dec9582bbe1eb363207a94e302493371
@@ -1,5 +1,6 @@
/* \brief create attribute widget for editing */
class QgsAttributeEditor : public QObject

// \brief create attribute widget for editing
class QgsAttributeEditor : QObject
{
%TypeHeaderCode
#include <qgsattributeeditor.h>
@@ -11,6 +12,6 @@ class QgsAttributeEditor : public QObject
static bool setValue( QWidget *widget, QgsVectorLayer *vl, int idx, const QVariant &value );

public slots:
void selectFileName( void );
void selectDate( void );
void selectFileName();
void selectDate();
};
@@ -1,4 +1,5 @@
class QgsFieldValidator : public QValidator

class QgsFieldValidator : QValidator
{
%TypeHeaderCode
#include <qgsfieldvalidator.h>
@@ -51,7 +51,7 @@ class QgsLegendInterface : QObject

//! Add a new group
//! @note added parent parameter in 1.7
virtual int addGroup( QString name, bool expand = true, QTreeWidgetItem* parent =0 ) =0;
virtual int addGroup( QString name, bool expand = true, QTreeWidgetItem* parent =0 ) = 0;

//! Remove group on index
virtual void removeGroup( int groupIndex ) =0;
@@ -40,7 +40,7 @@
#include <QDialogButtonBox>
#include <QSettings>

void QgsAttributeEditor::selectFileName( void )
void QgsAttributeEditor::selectFileName()
{
QPushButton *pb = qobject_cast<QPushButton *>( sender() );
if ( !pb )
@@ -61,7 +61,7 @@ void QgsAttributeEditor::selectFileName( void )
le->setText( fileName );
}

void QgsAttributeEditor::selectDate( void )
void QgsAttributeEditor::selectDate()
{
QPushButton *pb = qobject_cast<QPushButton *>( sender() );
if ( !pb )
@@ -40,8 +40,8 @@ class GUI_EXPORT QgsAttributeEditor : public QObject
static QComboBox *comboBox( QWidget *editor, QWidget *parent );

public slots:
void selectFileName( void );
void selectDate( void );
void selectFileName();
void selectDate();
};


0 comments on commit b6f3ac9

Please sign in to comment.