Skip to content

Commit b6f3ac9

Browse files
author
jef
committed
fix build error
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15575 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 485baf7 commit b6f3ac9

File tree

5 files changed

+12
-10
lines changed

5 files changed

+12
-10
lines changed

python/gui/qgsattributeeditor.sip

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
/* \brief create attribute widget for editing */
2-
class QgsAttributeEditor : public QObject
1+
2+
// \brief create attribute widget for editing
3+
class QgsAttributeEditor : QObject
34
{
45
%TypeHeaderCode
56
#include <qgsattributeeditor.h>
@@ -11,6 +12,6 @@ class QgsAttributeEditor : public QObject
1112
static bool setValue( QWidget *widget, QgsVectorLayer *vl, int idx, const QVariant &value );
1213

1314
public slots:
14-
void selectFileName( void );
15-
void selectDate( void );
15+
void selectFileName();
16+
void selectDate();
1617
};

python/gui/qgsfieldvalidator.sip

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
class QgsFieldValidator : public QValidator
1+
2+
class QgsFieldValidator : QValidator
23
{
34
%TypeHeaderCode
45
#include <qgsfieldvalidator.h>

python/gui/qgslegendinterface.sip

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class QgsLegendInterface : QObject
5151

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

5656
//! Remove group on index
5757
virtual void removeGroup( int groupIndex ) =0;

src/gui/qgsattributeeditor.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
#include <QDialogButtonBox>
4141
#include <QSettings>
4242

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

64-
void QgsAttributeEditor::selectDate( void )
64+
void QgsAttributeEditor::selectDate()
6565
{
6666
QPushButton *pb = qobject_cast<QPushButton *>( sender() );
6767
if ( !pb )

src/gui/qgsattributeeditor.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ class GUI_EXPORT QgsAttributeEditor : public QObject
4040
static QComboBox *comboBox( QWidget *editor, QWidget *parent );
4141

4242
public slots:
43-
void selectFileName( void );
44-
void selectDate( void );
43+
void selectFileName();
44+
void selectDate();
4545
};
4646

4747

0 commit comments

Comments
 (0)