diff -r 730c025d4b77 -r f378acbc9cfb src/hbinput/inputwidgets/hbinputmodeindicator.cpp --- a/src/hbinput/inputwidgets/hbinputmodeindicator.cpp Thu Jul 15 14:03:49 2010 +0100 +++ b/src/hbinput/inputwidgets/hbinputmodeindicator.cpp Thu Jul 22 16:36:53 2010 +0100 @@ -22,13 +22,13 @@ ** Nokia at developer.feedback@nokia.com. ** ****************************************************************************/ +#include #include #include #include #include #include -#include #include #include @@ -36,19 +36,19 @@ class HbInputModeIndicatorPrivate { -public: +public: HbInputModeIndicatorPrivate(HbInputButton *button); ~HbInputModeIndicatorPrivate(); void updatePrediction(); -public: +public: HbInputButton *mButtonItem; QPointer mFocusObject; }; HbInputModeIndicatorPrivate::HbInputModeIndicatorPrivate(HbInputButton *button) - : mButtonItem(button), mFocusObject(0) + : mButtonItem(button), mFocusObject(0) { if (HbInputMethod::activeInputMethod()) { mFocusObject = HbInputMethod::activeInputMethod()->focusObject(); @@ -72,7 +72,7 @@ if (HbInputSettingProxy::instance()->predictiveInputStatusForActiveKeyboard() && mFocusObject && mFocusObject->editorInterface().isPredictionAllowed()) { icon = HbIcon(predictionOnIcon); - } else { + } else { icon = HbIcon(predictionOffIcon); } icon.setColor(color); @@ -99,7 +99,7 @@ { mPrivate = new HbInputModeIndicatorPrivate(button); if (mPrivate->mFocusObject) { - connect (&mPrivate->mFocusObject->editorInterface(), SIGNAL(modified()), this, SLOT(updateIndicator())); + connect(&mPrivate->mFocusObject->editorInterface(), SIGNAL(modified()), this, SLOT(updateIndicator())); } connect(HbInputSettingProxy::instance(), SIGNAL(predictiveInputStateChanged(HbKeyboardSettingFlags, bool)), this, SLOT(updatePredictionStatus(HbKeyboardSettingFlags, bool))); @@ -123,7 +123,7 @@ if (HbInputMethod::activeInputMethod()) { mPrivate->mFocusObject = HbInputMethod::activeInputMethod()->focusObject(); if (mPrivate->mFocusObject) { - connect( &mPrivate->mFocusObject->editorInterface(), SIGNAL(modified()), this, SLOT(updateIndicator())); + connect(&mPrivate->mFocusObject->editorInterface(), SIGNAL(modified()), this, SLOT(updateIndicator())); } else { return; }