diff -r 7516d6d86cf5 -r ed14f46c0e55 src/hbwidgets/widgets/hbcombobox_p.h --- a/src/hbwidgets/widgets/hbcombobox_p.h Mon Oct 04 17:49:30 2010 +0300 +++ b/src/hbwidgets/widgets/hbcombobox_p.h Mon Oct 18 18:23:13 2010 +0300 @@ -89,6 +89,8 @@ void showPopup( QAbstractItemModel* aModel, QModelIndex aIndex = QModelIndex( ) ); void createDropDown( ); void calculateListItemHeight( ); + void resetGeometryChangeFlag( ); + void showDismissEffect( ); public: HbCustomLineEdit* mLineEdit; @@ -112,6 +114,7 @@ qreal mListItemHeight; int mDropDownRowsInPortrait; int mDropDownRowsInLandscape; + QMap< QGraphicsWidget *, bool > widgetGeometryChange; }; class HbComboListViewItem : public HbListViewItem @@ -138,26 +141,13 @@ } ~HbCustomLineEdit() { - HbEditorInterface editorInterface( this ); - HbVkbHost *host = editorInterface.vkbHost( ); - if( host ) { - host->disconnect(); - } - } - - void setLongPressEnabled( bool enable = true ) { - if( enable ) { - scrollArea( )->setLongPressEnabled( true ); - } else { - scrollArea( )->setLongPressEnabled( false ); - } } protected: void focusInEvent( QFocusEvent *event ) { HbEditorInterface editorInterface( this ); HbVkbHost *host = editorInterface.vkbHost( ); - if ( host && !VkbLaunched ) { + if ( host && comboBoxPrivate->mDropDown && !VkbLaunched ) { VkbLaunched = true; connect( host, SIGNAL( keypadClosed ( ) ), comboBoxPrivate->mDropDown, SLOT( keypadClosed( ) ) );