diff -r 16d8024aca5e -r f7ac710697a9 src/hbinput/inputwidgets/hbinputhwtoolcluster.cpp --- a/src/hbinput/inputwidgets/hbinputhwtoolcluster.cpp Mon Apr 19 14:02:13 2010 +0300 +++ b/src/hbinput/inputwidgets/hbinputhwtoolcluster.cpp Mon May 03 12:48:33 2010 +0300 @@ -30,8 +30,10 @@ #include #include #include -#include #include +#include +#include +#include #include "hbinputvkbwidget_p.h" #include "hbinputhwtoolcluster.h" @@ -150,7 +152,7 @@ d->mSettingsButton->setButtonType(HbTouchKeypadButton::HbTouchButtonFunction); d->mSettingsButton->setBackgroundAttributes(HbTouchKeypadButton::HbTouchButtonReleased); - connect(d->mSettingsButton, SIGNAL(clicked()), this, SLOT(showSettingsDialog())); + connect(d->mSettingsButton, SIGNAL(clicked()), this, SLOT(showSettingList())); } if(!d->mLanguageButton) { d->mLanguageButton = new HbTouchKeypadButton(this, QString("")); @@ -182,7 +184,7 @@ } // update prediction button status - if (HbInputSettingProxy::instance()->predictiveInputStatus()) { + if (HbInputSettingProxy::instance()->predictiveInputStatusForActiveKeyboard()) { d->mPredictionIndicatorButton->setIcon(HbIcon(predictionOffIcon)); } else { d->mPredictionIndicatorButton->setIcon(HbIcon(predictionOnIcon)); @@ -274,19 +276,13 @@ } /*! +\deprecated HbHwToolCluster::showSettingsDialog() + is deprecated. Use showSettingsView instead. + Shows the settings dialog */ void HbHwToolCluster::showSettingsDialog() { - Q_D(HbHwToolCluster); - - HbInputSettingDialog::HbSettingItems items = HbInputSettingDialog::HbSettingItemAll; - if(d->mOwner->focusObject() && d->mOwner->focusObject()->editorInterface().isNumericEditor()){ - items &= (~HbInputSettingDialog::HbSettingItemPrediction); - } - HbInputSettingDialog* settings = new HbInputSettingDialog(items); - settings->exec(); - delete settings; } /*!