src/hbcore/inputfw/hbinputvkbhostbridge.cpp
changeset 34 ed14f46c0e55
parent 6 c3690ec91ef8
equal deleted inserted replaced
31:7516d6d86cf5 34:ed14f46c0e55
    26 
    26 
    27 #include <QVariant>
    27 #include <QVariant>
    28 #include <QPointer>
    28 #include <QPointer>
    29 
    29 
    30 /*!
    30 /*!
    31 \proto
    31 @stable
       
    32 @hbcore
    32 \class HbVkbHostBridge
    33 \class HbVkbHostBridge
    33 \brief Provides one connection point to receive signals from all the virtual keyboard hosts.
    34 \brief Provides one connection point to receive signals from all the virtual keyboard hosts.
    34 
    35 
    35 The virtual keyboard host provides signals when the keyboard changes state. Usually there are many active virtual
    36 The virtual keyboard host provides signals when the keyboard changes state. Usually there are many active virtual
    36 keyboard hosts in the system so if an application is interested to know when any of them changes state
    37 keyboard hosts in the system so if an application is interested to know when any of them changes state
    84 }
    85 }
    85 
    86 
    86 /*!
    87 /*!
    87 \reimp
    88 \reimp
    88 */
    89 */
    89 void HbVkbHostBridge::openMinimizedKeypad(HbVirtualKeyboard *vkb, HbInputMethod *owner)
       
    90 {
       
    91     Q_D(HbVkbHostBridge);
       
    92     if (d->mActiveHost) {
       
    93         d->mActiveHost->openMinimizedKeypad(vkb, owner);
       
    94     }
       
    95 }
       
    96 
       
    97 /*!
       
    98 \reimp
       
    99 */
       
   100 void HbVkbHostBridge::closeKeypad(bool animationAllowed)
    90 void HbVkbHostBridge::closeKeypad(bool animationAllowed)
   101 {
    91 {
   102     Q_D(HbVkbHostBridge);
    92     Q_D(HbVkbHostBridge);
   103 
    93 
   104     if (d->mActiveHost) {
    94     if (d->mActiveHost) {
   107 }
    97 }
   108 
    98 
   109 /*!
    99 /*!
   110 \reimp
   100 \reimp
   111 */
   101 */
   112 void HbVkbHostBridge::minimizeKeypad(bool animationAllowed)
       
   113 {
       
   114     Q_D(HbVkbHostBridge);
       
   115     if (d->mActiveHost) {
       
   116         d->mActiveHost->minimizeKeypad(animationAllowed);
       
   117     }
       
   118 }
       
   119 
       
   120 /*!
       
   121 \reimp
       
   122 */
       
   123 HbVkbHost::HbVkbStatus HbVkbHostBridge::keypadStatus() const
   102 HbVkbHost::HbVkbStatus HbVkbHostBridge::keypadStatus() const
   124 {
   103 {
   125     Q_D(const HbVkbHostBridge);
   104     Q_D(const HbVkbHostBridge);
   126     if (d->mActiveHost) {
   105     if (d->mActiveHost) {
   127         return d->mActiveHost->keypadStatus();
   106         return d->mActiveHost->keypadStatus();
   168 
   147 
   169     return QRectF();
   148     return QRectF();
   170 }
   149 }
   171 
   150 
   172 /*!
   151 /*!
   173 \reimp
   152 \deprecated
   174 */
   153 */
   175 HbVkbHost::HbVkbStatus HbVkbHostBridge::keypadStatusBeforeOrientationChange() const
   154 HbVkbHost::HbVkbStatus HbVkbHostBridge::keypadStatusBeforeOrientationChange() const
   176 {
   155 {
   177     Q_D(const HbVkbHostBridge);
   156     Q_D(const HbVkbHostBridge);
   178     if (d->mActiveHost) {
   157     if (d->mActiveHost) {