src/hbwidgets/widgets/hbsearchpanel.cpp
changeset 34 ed14f46c0e55
parent 1 f7ac710697a9
equal deleted inserted replaced
31:7516d6d86cf5 34:ed14f46c0e55
   248 {
   248 {
   249     Q_D(HbSearchPanel);
   249     Q_D(HbSearchPanel);
   250     d->mLineEdit->setText(text);
   250     d->mLineEdit->setText(text);
   251 }
   251 }
   252 
   252 
   253 
   253 bool HbSearchPanel::eventFilter(QObject *watched, QEvent *event)
       
   254 {
       
   255     Q_D(HbSearchPanel);
       
   256     if (watched == d->mLineEdit && event->type() == QEvent::FocusIn) {
       
   257         d->mLineEdit->setInputMethodHints(inputMethodHints());
       
   258         return false;
       
   259     }
       
   260     return HbWidget::eventFilter(watched, event);
       
   261 }