Skip to content

Commit 1d71e36

Browse files
committed
fix macros after signal
1 parent d3bc0e3 commit 1d71e36

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/gui/editorwidgets/core/qgseditorwidgetwrapper.h

+12
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,11 @@ class GUI_EXPORT QgsEditorWidgetWrapper : public QgsWidgetWrapper
217217
* \param value The value
218218
* \note Python name valueChangedInt
219219
*/
220+
#ifndef SIP_RUN
221+
void valueChanged( int value );
222+
#else
220223
void valueChanged( int value ) SIP_PYNAME( valueChangedInt );
224+
#endif
221225

222226
/**
223227
* If you emit to this slot in your implementation, an appropriate change notification
@@ -226,7 +230,11 @@ class GUI_EXPORT QgsEditorWidgetWrapper : public QgsWidgetWrapper
226230
* \param value The value
227231
* \note Python name valueChangedDouble
228232
*/
233+
#ifndef SIP_RUN
234+
void valueChanged( double value );
235+
#else
229236
void valueChanged( double value ) SIP_PYNAME( valueChangedDouble );
237+
#endif
230238

231239
/**
232240
* If you emit to this slot in your implementation, an appropriate change notification
@@ -235,7 +243,11 @@ class GUI_EXPORT QgsEditorWidgetWrapper : public QgsWidgetWrapper
235243
* \param value The value
236244
* \note Python name valueChangedBool
237245
*/
246+
#ifndef SIP_RUN
247+
void valueChanged( bool value );
248+
#else
238249
void valueChanged( bool value ) SIP_PYNAME( valueChangedBool );
250+
#endif
239251

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

0 commit comments

Comments
 (0)