Skip to content

Commit 093b007

Browse files
committed
project properties: rename wfs slots to avoid autoconnect warning
1 parent 1a07991 commit 093b007

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

src/app/qgsprojectproperties.cpp

+8-8
Original file line numberDiff line numberDiff line change
@@ -354,13 +354,13 @@ QgsProjectProperties::QgsProjectProperties( QgsMapCanvas* mapCanvas, QWidget *pa
354354
QStringList wfstDeleteLayerIdList = QgsProject::instance()->readListEntry( "WFSTLayers", "Delete" );
355355

356356
QSignalMapper *smPublied = new QSignalMapper( this );
357-
connect( smPublied, SIGNAL( mapped( int ) ), this, SLOT( on_cbxWFSPublied_stateChanged( int ) ) );
357+
connect( smPublied, SIGNAL( mapped( int ) ), this, SLOT( cbxWFSPubliedStateChanged( int ) ) );
358358
QSignalMapper *smUpdate = new QSignalMapper( this );
359-
connect( smUpdate, SIGNAL( mapped( int ) ), this, SLOT( on_cbxWFSUpdate_stateChanged( int ) ) );
359+
connect( smUpdate, SIGNAL( mapped( int ) ), this, SLOT( cbxWFSUpdateStateChanged( int ) ) );
360360
QSignalMapper *smInsert = new QSignalMapper( this );
361-
connect( smInsert, SIGNAL( mapped( int ) ), this, SLOT( on_cbxWFSInsert_stateChanged( int ) ) );
361+
connect( smInsert, SIGNAL( mapped( int ) ), this, SLOT( cbxWFSInsertStateChanged( int ) ) );
362362
QSignalMapper *smDelete = new QSignalMapper( this );
363-
connect( smDelete, SIGNAL( mapped( int ) ), this, SLOT( on_cbxWFSDelete_stateChanged( int ) ) );
363+
connect( smDelete, SIGNAL( mapped( int ) ), this, SLOT( cbxWFSDeleteStateChanged( int ) ) );
364364

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

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

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

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

886-
void QgsProjectProperties::on_cbxWFSDelete_stateChanged( int aIdx )
886+
void QgsProjectProperties::cbxWFSDeleteStateChanged( int aIdx )
887887
{
888888
QCheckBox* cb = qobject_cast<QCheckBox *>( twWFSLayers->cellWidget( aIdx, 4 ) );
889889
if ( cb && cb->isChecked() )

src/app/qgsprojectproperties.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,10 @@ class QgsProjectProperties : public QgsOptionsDialogBase, private Ui::QgsProject
135135
/*!
136136
* Slot to link WFS checkboxes
137137
*/
138-
void on_cbxWFSPublied_stateChanged( int aIdx );
139-
void on_cbxWFSUpdate_stateChanged( int aIdx );
140-
void on_cbxWFSInsert_stateChanged( int aIdx );
141-
void on_cbxWFSDelete_stateChanged( int aIdx );
138+
void cbxWFSPubliedStateChanged( int aIdx );
139+
void cbxWFSUpdateStateChanged( int aIdx );
140+
void cbxWFSInsertStateChanged( int aIdx );
141+
void cbxWFSDeleteStateChanged( int aIdx );
142142

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

0 commit comments

Comments
 (0)