QskTextInput signals fixed

This commit is contained in:
Uwe Rathmann 2018-06-11 11:34:12 +02:00
parent 0e53dc63ea
commit 87eea5a2a9
2 changed files with 3 additions and 3 deletions

View File

@ -40,9 +40,6 @@ static inline void qskBindSignals( const QQuickTextInput* wrappedInput,
input, [ input ] { input->Q_EMIT textEdited( input->text() ); } );
#endif
QObject::connect( wrappedInput, &QQuickTextInput::textChanged,
input, [ input ] { input->Q_EMIT textChanged( input->text() ); } );
QObject::connect( wrappedInput, &QQuickTextInput::validatorChanged,
input, &QskTextInput::validatorChanged );

View File

@ -159,7 +159,10 @@ Q_SIGNALS:
void readOnlyChanged( bool );
void textChanged( const QString& );
#if QT_VERSION >= QT_VERSION_CHECK(5, 9, 0)
void textEdited( const QString& );
#endif
void descriptionChanged( const QString& );