fix build error

git-svn-id: http://svn.osgeo.org/qgis/trunk@15575 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
jef 2011-03-23 00:58:54 +00:00
parent 12711ad528
commit 05bc879744
5 changed files with 12 additions and 10 deletions

View File

@ -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();
};

View File

@ -1,4 +1,5 @@
class QgsFieldValidator : public QValidator
class QgsFieldValidator : QValidator
{
%TypeHeaderCode
#include <qgsfieldvalidator.h>

View File

@ -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;

View File

@ -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 )

View File

@ -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();
};