clock/clockui/clocksettingsview/src/clockregionalsettingsview.cpp
changeset 26 a949c2543c15
parent 23 fd30d51f876b
child 49 5de72ea7a065
equal deleted inserted replaced
23:fd30d51f876b 26:a949c2543c15
    27 #include <HbInstance>
    27 #include <HbInstance>
    28 #include <HbPushButton>
    28 #include <HbPushButton>
    29 #include <HbExtendedLocale>
    29 #include <HbExtendedLocale>
    30 #include <HbListWidget>
    30 #include <HbListWidget>
    31 #include <HbComboBox>
    31 #include <HbComboBox>
    32 #include <HBListWidgetItem>
    32 #include <HbListWidgetItem>
    33 #include <HbApplication>
    33 #include <HbApplication>
    34 #include <QTranslator>
    34 #include <QTranslator>
    35 
    35 
    36 // User includes
    36 // User includes
    37 #include "clockregionalsettingsview.h"
    37 #include "clockregionalsettingsview.h"
   132 	HbMainWindow *window = hbInstance->allMainWindows().first();
   132 	HbMainWindow *window = hbInstance->allMainWindows().first();
   133 	window->addView(mView);
   133 	window->addView(mView);
   134 	window->setCurrentView(mView);
   134 	window->setCurrentView(mView);
   135 
   135 
   136 	// Add the back softkey.
   136 	// Add the back softkey.
   137 	mBackAction = new HbAction(Hb::BackAction);
   137 	mBackAction = new HbAction(Hb::BackNaviAction);
   138 	mView->setNavigationAction(mBackAction);
   138 	mView->setNavigationAction(mBackAction);
   139 	connect(
   139 	connect(
   140 			mBackAction, SIGNAL(triggered()),
   140 			mBackAction, SIGNAL(triggered()),
   141 			this, SLOT(handleBackAction()));
   141 			this, SLOT(handleBackAction()));
   142 }
   142 }
   269 	This slot is called any item in the data form is changed.
   269 	This slot is called any item in the data form is changed.
   270  */
   270  */
   271 void ClockRegionalSettingsView::handleDataChanged(
   271 void ClockRegionalSettingsView::handleDataChanged(
   272 		const QModelIndex& topLeft, const QModelIndex& bottomRight)
   272 		const QModelIndex& topLeft, const QModelIndex& bottomRight)
   273 {
   273 {
   274 	qDebug("clock: ClockRegionalSettingsView::handleDataChanged() -->");
       
   275 
       
   276 	Q_UNUSED(bottomRight)
   274 	Q_UNUSED(bottomRight)
   277 
   275 
   278 
   276 
   279 	switch (topLeft.row()) {
   277 	switch (topLeft.row()) {
   280 		case 5:
   278 		case 5: