Skip to content

Commit 818ba26

Browse files
committed
[BACKPORT] update QgsGenericProjectionSelector bindings
1 parent f2eea5e commit 818ba26

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

python/gui/qgsgenericprojectionselector.sip

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
/**
3-
* \class QgsGenericProjectionSelector
3+
* \class QgsGenericProjectionSelector
44
* \brief A generic dialog to prompt the user for a Coordinate Reference System
55
*/
66
class QgsGenericProjectionSelector : QDialog //, private Ui::QgsGenericProjectionSelectorBase
@@ -13,7 +13,7 @@ class QgsGenericProjectionSelector : QDialog //, private Ui::QgsGenericProjectio
1313
/**
1414
* Constructor
1515
*/
16-
QgsGenericProjectionSelector(QWidget *parent = 0,
16+
QgsGenericProjectionSelector(QWidget *parent = 0,
1717
Qt::WFlags fl = QgisGui::ModalDialogFlags);
1818

1919
//! Destructor
@@ -24,13 +24,19 @@ class QgsGenericProjectionSelector : QDialog //, private Ui::QgsGenericProjectio
2424
* 'define the CRS for this layer'.
2525
*/
2626
void setMessage(QString theMessage="");
27-
28-
QString selectedProj4String();
2927
long selectedCrsId();
28+
QString selectedAuthId();
29+
30+
// @deprecated
3031
long selectedEpsg();
32+
// @deprecated
33+
QString selectedProj4String();
3134

3235
void setSelectedCrsName(QString theName);
3336
void setSelectedCrsId(long theID);
37+
void setSelectedAuthId( QString authId );
38+
39+
// @deprecated
3440
void setSelectedEpsg(long theID);
3541

3642
/**
@@ -39,7 +45,7 @@ class QgsGenericProjectionSelector : QDialog //, private Ui::QgsGenericProjectio
3945
* Sets this dialog to filter the available projections to those listed
4046
* by the given Coordinate Reference Systems.
4147
*
42-
* \param crsFilter a list of OGC Coordinate Reference Systems to filter the
48+
* \param crsFilter a list of OGC Coordinate Reference Systems to filter the
4349
* list of projections by. This is useful in (e.g.) WMS situations
4450
* where you just want to offer what the WMS server can support.
4551
*
@@ -48,7 +54,4 @@ class QgsGenericProjectionSelector : QDialog //, private Ui::QgsGenericProjectio
4854
* \warning This function's behaviour is undefined if it is called after the dialog is shown.
4955
*/
5056
void setOgcWmsCrsFilter(QSet<QString> crsFilter);
51-
52-
5357
};
54-

0 commit comments

Comments
 (0)