QskTextInput signals fixed
This commit is contained in:
parent
0e53dc63ea
commit
87eea5a2a9
@ -40,9 +40,6 @@ static inline void qskBindSignals( const QQuickTextInput* wrappedInput,
|
|||||||
input, [ input ] { input->Q_EMIT textEdited( input->text() ); } );
|
input, [ input ] { input->Q_EMIT textEdited( input->text() ); } );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
QObject::connect( wrappedInput, &QQuickTextInput::textChanged,
|
|
||||||
input, [ input ] { input->Q_EMIT textChanged( input->text() ); } );
|
|
||||||
|
|
||||||
QObject::connect( wrappedInput, &QQuickTextInput::validatorChanged,
|
QObject::connect( wrappedInput, &QQuickTextInput::validatorChanged,
|
||||||
input, &QskTextInput::validatorChanged );
|
input, &QskTextInput::validatorChanged );
|
||||||
|
|
||||||
|
@ -159,7 +159,10 @@ Q_SIGNALS:
|
|||||||
void readOnlyChanged( bool );
|
void readOnlyChanged( bool );
|
||||||
|
|
||||||
void textChanged( const QString& );
|
void textChanged( const QString& );
|
||||||
|
|
||||||
|
#if QT_VERSION >= QT_VERSION_CHECK(5, 9, 0)
|
||||||
void textEdited( const QString& );
|
void textEdited( const QString& );
|
||||||
|
#endif
|
||||||
|
|
||||||
void descriptionChanged( const QString& );
|
void descriptionChanged( const QString& );
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user