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