--- a/ImagePrint/ImagePrintUI/imageprintapp/data/imageprintapp.rss Thu Dec 17 08:45:53 2009 +0200
+++ b/ImagePrint/ImagePrintUI/imageprintapp/data/imageprintapp.rss Thu Jan 07 12:46:28 2010 +0200
@@ -94,6 +94,7 @@
{
command = ESettingsChangeItem;
txt = qtn_print_settings_opt_change;
+ flags = EEikMenuItemAction;//Add for Single click event
},
MENU_ITEM
{
@@ -301,7 +302,8 @@
*/
RESOURCE AVKON_SETTING_PAGE r_setting_generic_protocol_page
{
- softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL;
+ //softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL;// removed due to single click
+ softkey_resource = R_AVKON_SOFTKEYS_CANCEL ;
type = EAknCtPopupSettingList;
editor_resource_id = r_empty_protocol_setting_list;
}
--- a/ImagePrint/ImagePrintUI/imageprintapp/src/cimageprintappui.cpp Thu Dec 17 08:45:53 2009 +0200
+++ b/ImagePrint/ImagePrintUI/imageprintapp/src/cimageprintappui.cpp Thu Jan 07 12:46:28 2010 +0200
@@ -73,8 +73,8 @@
void CImagePrintAppUi::ConstructL()
{
LOG("CImagePrintAppUi::ConstructL BEGIN");
-
- BaseConstructL( EAknEnableSkin | EAppOrientationAutomatic | EAknEnableMSK );
+ // Add EAknSingleClickCompatible to BaseConstructL function parameter for single click event
+ BaseConstructL( EAknEnableSkin | EAppOrientationAutomatic | EAknEnableMSK | EAknSingleClickCompatible );
FeatureManager::InitializeLibL();
--- a/ImagePrint/ImagePrintUI/imageprintapp/src/cpropertiesboxmodel.cpp Thu Dec 17 08:45:53 2009 +0200
+++ b/ImagePrint/ImagePrintUI/imageprintapp/src/cpropertiesboxmodel.cpp Thu Jan 07 12:46:28 2010 +0200
@@ -236,8 +236,8 @@
TListBoxEvent aEventType )
{
LOG("CPropertiesBoxModel::HandleListBoxEventL START");
-
- if ( (aEventType == EEventEnterKeyPressed || aEventType == EEventItemDoubleClicked) &&
+ //Change to EEventItemSingleClicked for Single click event
+ if ( (aEventType == EEventEnterKeyPressed || aEventType == EEventItemSingleClicked ) &&
aListBox->CurrentItemIndex() != KErrNotFound )
{
if( aListBox->CurrentItemIndex() == 0 )
--- a/ImagePrint/ImagePrintUI/imageprinteng/data/imageprintengine.rss Thu Dec 17 08:45:53 2009 +0200
+++ b/ImagePrint/ImagePrintUI/imageprinteng/data/imageprintengine.rss Thu Jan 07 12:46:28 2010 +0200
@@ -41,7 +41,8 @@
*/
RESOURCE AVKON_SETTING_PAGE r_setting_generic_page
{
- softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL;
+ //softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL; // Removed due to single click
+ softkey_resource = R_AVKON_SOFTKEYS_CANCEL ;
type = EAknCtPopupSettingList;
editor_resource_id = r_empty_setting_list;
}