mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
fix build error
git-svn-id: http://svn.osgeo.org/qgis/trunk@15575 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
12711ad528
commit
05bc879744
@ -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();
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user