src/hbwidgets/widgets/hbcombobox_p.h
changeset 28 b7da29130b0e
parent 21 4633027730f5
child 30 80e4d18b72f5
equal deleted inserted replaced
23:e6ad4ef83b23 28:b7da29130b0e
   140     }
   140     }
   141 
   141 
   142     ~HbCustomLineEdit() {
   142     ~HbCustomLineEdit() {
   143     }
   143     }
   144 
   144 
   145     void setLongPressEnabled( bool enable = true ) {
       
   146         if( enable ) {
       
   147             scrollArea( )->setLongPressEnabled( true );
       
   148         } else {
       
   149             scrollArea( )->setLongPressEnabled( false );
       
   150         }
       
   151     }
       
   152 
       
   153 protected:
   145 protected:
   154     void focusInEvent( QFocusEvent *event ) {
   146     void focusInEvent( QFocusEvent *event ) {
   155         HbEditorInterface editorInterface( this );
   147         HbEditorInterface editorInterface( this );
   156         HbVkbHost *host = editorInterface.vkbHost( );
   148         HbVkbHost *host = editorInterface.vkbHost( );
   157         if ( host && comboBoxPrivate->mDropDown && !VkbLaunched ) {
   149         if ( host && comboBoxPrivate->mDropDown && !VkbLaunched ) {