Skip to content

Commit

Permalink
fix macros after signal
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed May 2, 2017
1 parent d3bc0e3 commit 1d71e36
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/gui/editorwidgets/core/qgseditorwidgetwrapper.h
Expand Up @@ -217,7 +217,11 @@ class GUI_EXPORT QgsEditorWidgetWrapper : public QgsWidgetWrapper
* \param value The value
* \note Python name valueChangedInt
*/
#ifndef SIP_RUN
void valueChanged( int value );
#else
void valueChanged( int value ) SIP_PYNAME( valueChangedInt );
#endif

/**
* If you emit to this slot in your implementation, an appropriate change notification
Expand All @@ -226,7 +230,11 @@ class GUI_EXPORT QgsEditorWidgetWrapper : public QgsWidgetWrapper
* \param value The value
* \note Python name valueChangedDouble
*/
#ifndef SIP_RUN
void valueChanged( double value );
#else
void valueChanged( double value ) SIP_PYNAME( valueChangedDouble );
#endif

/**
* If you emit to this slot in your implementation, an appropriate change notification
Expand All @@ -235,7 +243,11 @@ class GUI_EXPORT QgsEditorWidgetWrapper : public QgsWidgetWrapper
* \param value The value
* \note Python name valueChangedBool
*/
#ifndef SIP_RUN
void valueChanged( bool value );
#else
void valueChanged( bool value ) SIP_PYNAME( valueChangedBool );
#endif

/**
* If you emit to this slot in your implementation, an appropriate change notification
Expand Down

0 comments on commit 1d71e36

Please sign in to comment.