--- a/src/hbapps/hbfeatureconfigapp/settingsview.cpp Wed Aug 18 10:05:37 2010 +0300
+++ b/src/hbapps/hbfeatureconfigapp/settingsview.cpp Thu Sep 02 20:44:51 2010 +0300
@@ -45,15 +45,15 @@
#endif
SettingsView::SettingsView(HbDocumentLoader* loader, HbMainWindow *window, HbView *infoView) :
- mWindow(window),
- mLoader(loader),
+ mWindow(window),
+ mLoader(loader),
mResolutionComboBox(0),
- mOrientationComboBox(0),
+ mOrientationComboBox(0),
mLayoutDirectionComboBox(0),
- mTouchAreaComboBox(0),
+ mTouchAreaComboBox(0),
mTextItemComboBox(0),
mIconItemComboBox(0),
- mLocalizationComboBox(0),
+ mLocalizationComboBox(0),
mTestUtilityComboBox(0),
mFpsCounterComboBox(0),
mInfoView(infoView)
@@ -130,11 +130,11 @@
mIconItemComboBox = qobject_cast<HbComboBox *>(mLoader->findWidget("iconitemSettingCombo"));
mIconItemComboBox->setModel(new QStringListModel(QStringList() << tr("Invisible") << tr("Visible")));
}
-
- if (!mFpsCounterComboBox) {
- mFpsCounterComboBox = qobject_cast<HbComboBox *>(mLoader->findWidget("fpscounterSettingCombo"));
- mFpsCounterComboBox->setModel(new QStringListModel(QStringList() << tr("Invisible") << tr("Visible")));
- }
+
+ if (!mFpsCounterComboBox) {
+ mFpsCounterComboBox = qobject_cast<HbComboBox *>(mLoader->findWidget("fpscounterSettingCombo"));
+ mFpsCounterComboBox->setModel(new QStringListModel(QStringList() << tr("Invisible") << tr("Visible")));
+ }
if( !mLocalizationComboBox ) {
mLocalizationComboBox = qobject_cast<HbComboBox *>(mLoader->findWidget("localizationSettingCombo"));
@@ -169,9 +169,9 @@
void SettingsView::changeResolution(int index)
{
#if defined(Q_OS_SYMBIAN)
- sendEvent(KChangeDeviceProfile, index);
+ sendEvent(KChangeDeviceProfile, index);
#else
- Q_UNUSED(index);
+ Q_UNUSED(index);
#endif
}
@@ -223,9 +223,9 @@
void SettingsView::changeFpsCounterVisibility(int index)
{
#if defined(Q_OS_SYMBIAN)
- sendEvent(KChangeFpsCounterVis, index);
+ sendEvent(KChangeFpsCounterVis, index);
#else
- Q_UNUSED(index);
+ Q_UNUSED(index);
#endif
}
@@ -275,7 +275,7 @@
connect(mLayoutDirectionComboBox, SIGNAL(currentIndexChanged(int)), this, SLOT(changeLayoutDirection(int)));
connect(mOrientationComboBox, SIGNAL(currentIndexChanged(int)), this, SLOT(changeOrientation(int)));
connect(mResolutionComboBox, SIGNAL(currentIndexChanged(int)), this, SLOT(changeResolution(int)));
- connect(mFpsCounterComboBox, SIGNAL(currentIndexChanged(int)), this, SLOT(changeFpsCounterVisibility(int)));
+ connect(mFpsCounterComboBox, SIGNAL(currentIndexChanged(int)), this, SLOT(changeFpsCounterVisibility(int)));
connect(mLocalizationComboBox, SIGNAL(currentIndexChanged(int)), this, SLOT(changeLocMode(int)));
connect(mTestUtilityComboBox, SIGNAL(currentIndexChanged(int)), this, SLOT(changeTestUtilMode(int)));
}
@@ -288,7 +288,7 @@
disconnect(mLayoutDirectionComboBox, SIGNAL(currentIndexChanged(int)), this, SLOT(changeLayoutDirection(int)));
disconnect(mOrientationComboBox, SIGNAL(currentIndexChanged(int)), this, SLOT(changeOrientation(int)));
disconnect(mResolutionComboBox, SIGNAL(currentIndexChanged(int)), this, SLOT(changeResolution(int)));
- disconnect(mFpsCounterComboBox, SIGNAL(currentIndexChanged(int)), this, SLOT(changeFpsCounterVisibility(int)));
+ disconnect(mFpsCounterComboBox, SIGNAL(currentIndexChanged(int)), this, SLOT(changeFpsCounterVisibility(int)));
disconnect(mLocalizationComboBox, SIGNAL(currentIndexChanged(int)), this, SLOT(changeLocMode(int)));
disconnect(mTestUtilityComboBox, SIGNAL(currentIndexChanged(int)), this, SLOT(changeTestUtilMode(int)));
}