remove lineEdit method from projection selection widget

this will allow to change the widget design without breaking the API
This commit is contained in:
Denis Rouzaud 2015-01-09 10:12:32 +01:00
parent 73a2858147
commit 7c4f3f9640
3 changed files with 1 additions and 11 deletions

View File

@ -20,11 +20,6 @@ class QgsProjectionSelectionWidget : QWidget
*/
QgsGenericProjectionSelector* dialog();
/* Returns a pointer to the line edit used by the widget
* @returns CRS line edit
*/
QLineEdit* lineEdit();
/* Returns the currently selected CRS for the widget
* @returns current CRS
*/

View File

@ -188,7 +188,7 @@ void QgsVectorLayerSaveAsDialog::accept()
void QgsVectorLayerSaveAsDialog::on_mCRSSelection_currentIndexChanged( int idx )
{
mCrsSelector->lineEdit()->setEnabled( idx == 2 );
mCrsSelector->setEnabled( idx == 2 );
QgsCoordinateReferenceSystem crs;
if ( mCRSSelection->currentIndex() == 0 )

View File

@ -42,11 +42,6 @@ class GUI_EXPORT QgsProjectionSelectionWidget : public QWidget
*/
QgsGenericProjectionSelector* dialog() { return mDialog; }
/* Returns a pointer to the line edit used by the widget
* @returns CRS line edit
*/
QLineEdit* lineEdit() { return mCrsLineEdit; }
/* Returns the currently selected CRS for the widget
* @returns current CRS
*/