src/hbwidgets/widgets/hbcombobox_p.h
changeset 7 923ff622b8b9
parent 3 11d3954df52a
child 21 4633027730f5
child 34 ed14f46c0e55
equal deleted inserted replaced
6:c3690ec91ef8 7:923ff622b8b9
   135         HbLineEdit( *new HbLineEditPrivate, parent ),
   135         HbLineEdit( *new HbLineEditPrivate, parent ),
   136         comboBoxPrivate( comboPriv ),
   136         comboBoxPrivate( comboPriv ),
   137         VkbLaunched( false ) {
   137         VkbLaunched( false ) {
   138     }
   138     }
   139 
   139 
       
   140     ~HbCustomLineEdit() {
       
   141         HbEditorInterface editorInterface( this );
       
   142         HbVkbHost *host = editorInterface.vkbHost( );
       
   143         if( host ) {
       
   144             host->disconnect();
       
   145         }
       
   146     }
       
   147 
   140     void setLongPressEnabled( bool enable = true ) {
   148     void setLongPressEnabled( bool enable = true ) {
   141         if( enable ) {
   149         if( enable ) {
   142             scrollArea( )->setLongPressEnabled( true );
   150             scrollArea( )->setLongPressEnabled( true );
   143         } else {
   151         } else {
   144             scrollArea( )->setLongPressEnabled( false );
   152             scrollArea( )->setLongPressEnabled( false );