diff -r 730c025d4b77 -r f378acbc9cfb src/hbinput/inputwidgets/hbinputhwtoolcluster.cpp --- a/src/hbinput/inputwidgets/hbinputhwtoolcluster.cpp Thu Jul 15 14:03:49 2010 +0100 +++ b/src/hbinput/inputwidgets/hbinputhwtoolcluster.cpp Thu Jul 22 16:36:53 2010 +0100 @@ -22,6 +22,7 @@ ** Nokia at developer.feedback@nokia.com. ** ****************************************************************************/ +#include "hbinputhwtoolcluster.h" #include @@ -36,7 +37,6 @@ #include #include "hbinputvkbwidget_p.h" -#include "hbinputhwtoolcluster.h" #include "hbinputmodeindicator.h" const QString HbCustomButtonObjName = "Mini VKB custom button "; @@ -81,9 +81,9 @@ /*! Constructs the object. */ -HbHwToolCluster::HbHwToolCluster(HbInputMethod* owner, - QGraphicsItem* parent) - : HbInputVkbWidget(*new HbHwToolClusterPrivate, parent) +HbHwToolCluster::HbHwToolCluster(HbInputMethod *owner, + QGraphicsItem *parent) + : HbInputVkbWidget(*new HbHwToolClusterPrivate, parent) { if (0 == owner) { return; @@ -136,7 +136,7 @@ qreal height = size.height() - HbCloseHandleHeight; qreal width = size.width() / (qreal)HbMiniVirtualKeypadNumberOfColumn; - for (int i=0; i < HbMiniVirtualKeypadNumberOfColumn ;i++) { + for (int i = 0; i < HbMiniVirtualKeypadNumberOfColumn ; i++) { d->mButtonLayout->setColumnFixedWidth(i, width); } //There is only one row @@ -157,7 +157,7 @@ ret = d->mCurrentHost->keyboardArea(); //Since this is a mini VKB, it has a lesser size than the available //area for the keypad. - ret.setHeight(ret.height()/HbMiniVirtualKeypadReductionFactor); + ret.setHeight(ret.height() / HbMiniVirtualKeypadReductionFactor); return ret; } @@ -172,7 +172,7 @@ Q_D(HbHwToolCluster); HbInputMethodDescriptor method - = HbInputCommonDialogs::showCustomInputMethodSelectionDialog(HbInputSettingProxy::instance()->globalInputLanguage()); + = HbInputCommonDialogs::showCustomInputMethodSelectionDialog(HbInputSettingProxy::instance()->globalInputLanguage()); if (!method.isEmpty() && d->mOwner) { d->mOwner->activateInputMethod(method); }