src/hbcore/inputfw/hbinputvkbhostbridge.cpp
changeset 6 c3690ec91ef8
parent 5 627c4a0fd0e7
child 21 4633027730f5
child 34 ed14f46c0e55
--- a/src/hbcore/inputfw/hbinputvkbhostbridge.cpp	Fri Jun 11 13:58:22 2010 +0300
+++ b/src/hbcore/inputfw/hbinputvkbhostbridge.cpp	Wed Jun 23 18:33:25 2010 +0300
@@ -22,11 +22,11 @@
 ** Nokia at developer.feedback@nokia.com.
 **
 ****************************************************************************/
+#include "hbinputvkbhostbridge.h"
+
 #include <QVariant>
 #include <QPointer>
 
-#include "hbinputvkbhostbridge.h"
-
 /*!
 \proto
 \class HbVkbHostBridge
@@ -42,7 +42,7 @@
 Note that there is active host only when editor widget is focused.
 
 The bridge virtual keyboard host also has has an important internal role in synchronising state transitions between several
-active virtual keyboard hosts.  
+active virtual keyboard hosts.
 
 \sa HbVkbHost
 */
@@ -75,7 +75,7 @@
 /*!
 \reimp
 */
-void HbVkbHostBridge::openKeypad(HbVirtualKeyboard *vkb, HbInputMethod* owner, bool animationAllowed)
+void HbVkbHostBridge::openKeypad(HbVirtualKeyboard *vkb, HbInputMethod *owner, bool animationAllowed)
 {
     Q_D(HbVkbHostBridge);
     if (d->mActiveHost) {
@@ -86,7 +86,7 @@
 /*!
 \reimp
 */
-void HbVkbHostBridge::openMinimizedKeypad(HbVirtualKeyboard *vkb, HbInputMethod* owner)
+void HbVkbHostBridge::openMinimizedKeypad(HbVirtualKeyboard *vkb, HbInputMethod *owner)
 {
     Q_D(HbVkbHostBridge);
     if (d->mActiveHost) {
@@ -132,7 +132,7 @@
 
 /*!
 \reimp
-*/ 
+*/
 QSizeF HbVkbHostBridge::keyboardArea() const
 {
     Q_D(const HbVkbHostBridge);
@@ -146,7 +146,7 @@
 /*!
 \reimp
 */
-HbVirtualKeyboard* HbVkbHostBridge::activeKeypad() const
+HbVirtualKeyboard *HbVkbHostBridge::activeKeypad() const
 {
     Q_D(const HbVkbHostBridge);
     if (d->mActiveHost) {
@@ -203,13 +203,13 @@
 {
     Q_D(HbVkbHostBridge);
 
-    if (d->mActiveHost && d->mActiveHost->stateTransitionOngoing()) {     
+    if (d->mActiveHost && d->mActiveHost->stateTransitionOngoing()) {
         return false;
     }
 
     if (d->mActiveHost != host) {
         if (d->mActiveHost) {
-		    // Closing the previous vkb hosts keypad so that if necessary can be launched again for that same vkb host.
+            // Closing the previous vkb hosts keypad so that if necessary can be launched again for that same vkb host.
             d->mActiveHost->closeKeypad(false);
             disconnect(d->mActiveHost, SIGNAL(aboutToOpen()), this, SIGNAL(aboutToOpen()));
             disconnect(d->mActiveHost, SIGNAL(aboutToClose()), this, SIGNAL(aboutToClose()));
@@ -217,7 +217,7 @@
             disconnect(d->mActiveHost, SIGNAL(keypadClosed()), this, SIGNAL(keypadClosed()));
             disconnect(d->mActiveHost, SIGNAL(keypadOpened()), this, SIGNAL(stateTransitionCompleted()));
             disconnect(d->mActiveHost, SIGNAL(keypadClosed()), this, SIGNAL(stateTransitionCompleted()));
-        }  
+        }
 
         d->mActiveHost = host;
         if (d->mActiveHost) {