Skip to content
Permalink
Browse files

project properties: rename wfs slots to avoid autoconnect warning

  • Loading branch information
jef-n committed Jun 30, 2013
1 parent 1a07991 commit 093b007c4291cc4b6587ff2ad583dac2d721f6cd
Showing with 12 additions and 12 deletions.
  1. +8 −8 src/app/qgsprojectproperties.cpp
  2. +4 −4 src/app/qgsprojectproperties.h
@@ -354,13 +354,13 @@ QgsProjectProperties::QgsProjectProperties( QgsMapCanvas* mapCanvas, QWidget *pa
QStringList wfstDeleteLayerIdList = QgsProject::instance()->readListEntry( "WFSTLayers", "Delete" );

QSignalMapper *smPublied = new QSignalMapper( this );
connect( smPublied, SIGNAL( mapped( int ) ), this, SLOT( on_cbxWFSPublied_stateChanged( int ) ) );
connect( smPublied, SIGNAL( mapped( int ) ), this, SLOT( cbxWFSPubliedStateChanged( int ) ) );
QSignalMapper *smUpdate = new QSignalMapper( this );
connect( smUpdate, SIGNAL( mapped( int ) ), this, SLOT( on_cbxWFSUpdate_stateChanged( int ) ) );
connect( smUpdate, SIGNAL( mapped( int ) ), this, SLOT( cbxWFSUpdateStateChanged( int ) ) );
QSignalMapper *smInsert = new QSignalMapper( this );
connect( smInsert, SIGNAL( mapped( int ) ), this, SLOT( on_cbxWFSInsert_stateChanged( int ) ) );
connect( smInsert, SIGNAL( mapped( int ) ), this, SLOT( cbxWFSInsertStateChanged( int ) ) );
QSignalMapper *smDelete = new QSignalMapper( this );
connect( smDelete, SIGNAL( mapped( int ) ), this, SLOT( on_cbxWFSDelete_stateChanged( int ) ) );
connect( smDelete, SIGNAL( mapped( int ) ), this, SLOT( cbxWFSDeleteStateChanged( int ) ) );

twWFSLayers->setColumnCount( 5 );
twWFSLayers->horizontalHeader()->setVisible( true );
@@ -838,7 +838,7 @@ void QgsProjectProperties::on_cbxProjectionEnabled_toggled( bool onFlyEnabled )
updateEllipsoidUI( mEllipsoidIndex );
}

void QgsProjectProperties::on_cbxWFSPublied_stateChanged( int aIdx )
void QgsProjectProperties::cbxWFSPubliedStateChanged( int aIdx )
{
QCheckBox* cb = qobject_cast<QCheckBox *>( twWFSLayers->cellWidget( aIdx, 1 ) );
if ( cb && !cb->isChecked() )
@@ -849,7 +849,7 @@ void QgsProjectProperties::on_cbxWFSPublied_stateChanged( int aIdx )
}
}

void QgsProjectProperties::on_cbxWFSUpdate_stateChanged( int aIdx )
void QgsProjectProperties::cbxWFSUpdateStateChanged( int aIdx )
{
QCheckBox* cb = qobject_cast<QCheckBox *>( twWFSLayers->cellWidget( aIdx, 2 ) );
if ( cb && cb->isChecked() )
@@ -866,7 +866,7 @@ void QgsProjectProperties::on_cbxWFSUpdate_stateChanged( int aIdx )
}
}

void QgsProjectProperties::on_cbxWFSInsert_stateChanged( int aIdx )
void QgsProjectProperties::cbxWFSInsertStateChanged( int aIdx )
{
QCheckBox* cb = qobject_cast<QCheckBox *>( twWFSLayers->cellWidget( aIdx, 3 ) );
if ( cb && cb->isChecked() )
@@ -883,7 +883,7 @@ void QgsProjectProperties::on_cbxWFSInsert_stateChanged( int aIdx )
}
}

void QgsProjectProperties::on_cbxWFSDelete_stateChanged( int aIdx )
void QgsProjectProperties::cbxWFSDeleteStateChanged( int aIdx )
{
QCheckBox* cb = qobject_cast<QCheckBox *>( twWFSLayers->cellWidget( aIdx, 4 ) );
if ( cb && cb->isChecked() )
@@ -135,10 +135,10 @@ class QgsProjectProperties : public QgsOptionsDialogBase, private Ui::QgsProject
/*!
* Slot to link WFS checkboxes
*/
void on_cbxWFSPublied_stateChanged( int aIdx );
void on_cbxWFSUpdate_stateChanged( int aIdx );
void on_cbxWFSInsert_stateChanged( int aIdx );
void on_cbxWFSDelete_stateChanged( int aIdx );
void cbxWFSPubliedStateChanged( int aIdx );
void cbxWFSUpdateStateChanged( int aIdx );
void cbxWFSInsertStateChanged( int aIdx );
void cbxWFSDeleteStateChanged( int aIdx );

/*!
* If user changes the CRS, set the corresponding map units

0 comments on commit 093b007

Please sign in to comment.
You can’t perform that action at this time.