--- a/phonebookui/pbkcommonui/src/cntnoteeditorviewitem.cpp Tue Jul 06 14:05:47 2010 +0300
+++ b/phonebookui/pbkcommonui/src/cntnoteeditorviewitem.cpp Wed Aug 18 09:39:00 2010 +0300
@@ -71,6 +71,10 @@
widget->setLayout( mLayout );
connect( mEdit, SIGNAL(textChanged(QString)), this, SLOT(textChanged(QString)) );
+
+ // Naming UI components for automation testability
+ QString editorObjName = detail.definitionName() + " line edit %1";
+ mEdit->setObjectName(editorObjName.arg(modelIndex().row()));
return widget;
}
// End of File