Skip to content

Commit

Permalink
Code layout
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso authored and nyalldawson committed Apr 3, 2020
1 parent 1ac2c44 commit dcb4987
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions python/gui/auto_generated/qgsfieldmappingwidget.sip.in
Expand Up @@ -31,13 +31,13 @@ for each set of "destination" fields an expression defines how to obtain the val
Constructs a QgsFieldMappingWidget from a set of ``sourceFields``
and ``destinationFields``, initial values for the expressions can be
optionally specified through ``expressions`` which is a map from the original
field name to the corresponding expression. A:param parent: object
can also be specified.
field name to the corresponding expression. A ``parent`` object
can also be specified.
%End

void setDestinationEditable( bool editable );
%Docstring
Sets the destination fields editable state to ``ditable``
Sets the destination fields editable state to ``editable``
%End

bool destinationEditable() const;
Expand Down
4 changes: 2 additions & 2 deletions src/gui/qgsfieldmappingwidget.h
Expand Up @@ -41,15 +41,15 @@ class GUI_EXPORT QgsFieldMappingWidget : public QWidget, private Ui::QgsFieldMap
* Constructs a QgsFieldMappingWidget from a set of \a sourceFields
* and \a destinationFields, initial values for the expressions can be
* optionally specified through \a expressions which is a map from the original
* field name to the corresponding expression. A \param parent object
* field name to the corresponding expression. A \a parent object
* can also be specified.
*/
explicit QgsFieldMappingWidget( QWidget *parent = nullptr,
const QgsFields &sourceFields = QgsFields(),
const QgsFields &destinationFields = QgsFields(),
const QMap<QString, QgsExpression> &expressions = QMap<QString, QgsExpression>() );

//! Sets the destination fields editable state to \a ditable
//! Sets the destination fields editable state to \a editable
void setDestinationEditable( bool editable );

//! Returns TRUE if the destination fields are editable in the model
Expand Down

0 comments on commit dcb4987

Please sign in to comment.