diff options
Diffstat (limited to 'korn/account_input.cpp')
-rw-r--r-- | korn/account_input.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/korn/account_input.cpp b/korn/account_input.cpp index e10f66598..e3cb48f91 100644 --- a/korn/account_input.cpp +++ b/korn/account_input.cpp @@ -65,7 +65,7 @@ TextInput::TextInput( TQWidget *tqparent, const TQString& title, int min, int ma { _left = new TQLabel( title, tqparent, "label" ); _right = new KLineEdit( "", tqparent, "edit" ); - _right->setValidator( new TQIntValidator( min, max, _right, "validator" ) ); + _right->setValidator( new TQIntValidator( min, max, TQT_TQOBJECT(_right), "validator" ) ); setValue( defaul ); } @@ -137,7 +137,7 @@ TQString ComboInput::value() const void ComboInput::setValue( const TQString& value ) { if( _list->tqcontains( value ) ) - _right->setCurrentItem( _list->keys().findIndex( value ) ); + _right->setCurrentItem( _list->keys().tqfindIndex( value ) ); else _right->setCurrentItem( -1 ); } |