equal
deleted
inserted
replaced
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 ) { |