phonebookui/pbkcommonui/src/cntnoteeditorviewitem.cpp
changeset 59 a642906a277a
parent 46 efe85016a067
equal deleted inserted replaced
47:7cbcb2896f0e 59:a642906a277a
    69     mLayout->addItem(label);
    69     mLayout->addItem(label);
    70     mLayout->addItem(mEdit);
    70     mLayout->addItem(mEdit);
    71     widget->setLayout( mLayout );
    71     widget->setLayout( mLayout );
    72     
    72     
    73     connect( mEdit, SIGNAL(textChanged(QString)), this, SLOT(textChanged(QString)) );
    73     connect( mEdit, SIGNAL(textChanged(QString)), this, SLOT(textChanged(QString)) );
       
    74     
       
    75     // Naming UI components for automation testability
       
    76     QString editorObjName = detail.definitionName() + " line edit %1";
       
    77     mEdit->setObjectName(editorObjName.arg(modelIndex().row()));
    74     return widget;
    78     return widget;
    75     }
    79     }
    76 // End of File
    80 // End of File