src/hbcore/vkbhosts/hbstaticvkbhost.cpp
changeset 6 c3690ec91ef8
parent 2 06ff229162e9
child 30 80e4d18b72f5
child 34 ed14f46c0e55
equal deleted inserted replaced
5:627c4a0fd0e7 6:c3690ec91ef8
    34 /*!
    34 /*!
    35 \proto
    35 \proto
    36 \class HbStaticVkbHost
    36 \class HbStaticVkbHost
    37 \brief Static virtual keyboard host
    37 \brief Static virtual keyboard host
    38 
    38 
    39 The virtual keyboard host takes care of keyboard animations. 
    39 The virtual keyboard host takes care of keyboard animations.
    40 This version, unlike other vkb host implementations,  only brings up the virtual keyboard but does not
    40 This version, unlike other vkb host implementations,  only brings up the virtual keyboard but does not
    41 move the underlying view or reposition the editor in case it is fully or partially covered by the virtual
    41 move the underlying view or reposition the editor in case it is fully or partially covered by the virtual
    42 keyboard. In other words, it does not gurantee that the editor cursor remains visible.
    42 keyboard. In other words, it does not gurantee that the editor cursor remains visible.
    43 That task is left to application developer who chooses to use this vkb host.
    43 That task is left to application developer who chooses to use this vkb host.
    44 
    44 
    57     HbStaticVkbHostPrivate(HbAbstractVkbHost *myHost, HbWidget *widget);
    57     HbStaticVkbHostPrivate(HbAbstractVkbHost *myHost, HbWidget *widget);
    58     bool prepareContainerAnimation(HbVkbHost::HbVkbStatus status);
    58     bool prepareContainerAnimation(HbVkbHost::HbVkbStatus status);
    59 };
    59 };
    60 
    60 
    61 HbStaticVkbHostPrivate::HbStaticVkbHostPrivate(HbAbstractVkbHost *myHost, HbWidget *widget)
    61 HbStaticVkbHostPrivate::HbStaticVkbHostPrivate(HbAbstractVkbHost *myHost, HbWidget *widget)
    62 : HbAbstractVkbHostPrivate(myHost, widget)
    62     : HbAbstractVkbHostPrivate(myHost, widget)
    63 {
    63 {
    64 }
    64 }
    65 
    65 
    66 bool HbStaticVkbHostPrivate::prepareContainerAnimation(HbVkbHost::HbVkbStatus status)
    66 bool HbStaticVkbHostPrivate::prepareContainerAnimation(HbVkbHost::HbVkbStatus status)
    67 {
    67 {
    75 
    75 
    76 /*!
    76 /*!
    77 Constructs the object.
    77 Constructs the object.
    78 */
    78 */
    79 HbStaticVkbHost::HbStaticVkbHost(HbWidget *widget) : HbAbstractVkbHost(new HbStaticVkbHostPrivate(this, widget))
    79 HbStaticVkbHost::HbStaticVkbHost(HbWidget *widget) : HbAbstractVkbHost(new HbStaticVkbHostPrivate(this, widget))
    80 {  
    80 {
    81     setParent(widget);  
    81     setParent(widget);
    82 }
    82 }
    83 
    83 
    84 /*!
    84 /*!
    85 Destructs the object.
    85 Destructs the object.
    86 */
    86 */