Skip to content

Commit

Permalink
fix build error
Browse files Browse the repository at this point in the history
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 b6f3ac9
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 10 deletions.
9 changes: 5 additions & 4 deletions python/gui/qgsattributeeditor.sip
Original file line number Diff line number Diff line change
@@ -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>
Expand All @@ -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();
};
3 changes: 2 additions & 1 deletion python/gui/qgsfieldvalidator.sip
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
class QgsFieldValidator : public QValidator

class QgsFieldValidator : QValidator
{
%TypeHeaderCode
#include <qgsfieldvalidator.h>
Expand Down
2 changes: 1 addition & 1 deletion python/gui/qgslegendinterface.sip
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions src/gui/qgsattributeeditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
#include <QDialogButtonBox>
#include <QSettings>

void QgsAttributeEditor::selectFileName( void )
void QgsAttributeEditor::selectFileName()
{
QPushButton *pb = qobject_cast<QPushButton *>( sender() );
if ( !pb )
Expand All @@ -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 )
Expand Down
4 changes: 2 additions & 2 deletions src/gui/qgsattributeeditor.h
Original file line number Diff line number Diff line change
Expand Up @@ -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();
};


Expand Down

0 comments on commit b6f3ac9

Please sign in to comment.