src/hbcore/inputfw/hbinputmethod.cpp
changeset 23 e6ad4ef83b23
parent 21 4633027730f5
child 28 b7da29130b0e
equal deleted inserted replaced
21:4633027730f5 23:e6ad4ef83b23
   402             d->mFocusObject = 0;
   402             d->mFocusObject = 0;
   403         }
   403         }
   404 
   404 
   405         return;
   405         return;
   406     }
   406     }
   407 		
   407         
   408     // attach focuswidget to prxoy inputcontext as proxy is 
   408     // attach focuswidget to prxoy inputcontext as proxy is 
   409     // the only inputcotext known to qt framework.
   409     // the only inputcotext known to qt framework.
   410     d->proxy()->QInputContext::setFocusWidget(widget);
   410     d->proxy()->QInputContext::setFocusWidget(widget);
   411 
   411 
   412     QGraphicsView *gView = qobject_cast<QGraphicsView *>(widget);
   412     QGraphicsView *gView = qobject_cast<QGraphicsView *>(widget);
   812         active->d_ptr->mFocusObject = 0;
   812         active->d_ptr->mFocusObject = 0;
   813     }
   813     }
   814 }
   814 }
   815 
   815 
   816 /*!
   816 /*!
   817 Wrapper.
   817 Returns true if automatic condititions for automatic upper case are met at
       
   818 current cursor position. Returns false if there isn't active editor.
   818 */
   819 */
   819 bool HbInputMethod::automaticTextCaseNeeded() const
   820 bool HbInputMethod::automaticTextCaseNeeded() const
   820 {
   821 {
   821     Q_D(const HbInputMethod);
   822     Q_D(const HbInputMethod);
   822     return d->automaticTextCaseNeeded();
   823     return d->automaticTextCaseNeeded();