--- a/phonebookui/pbkcommonui/src/cntnameeditormodel.cpp Thu May 27 12:45:19 2010 +0300
+++ b/phonebookui/pbkcommonui/src/cntnameeditormodel.cpp Fri Jun 11 13:29:23 2010 +0300
@@ -101,4 +101,21 @@
}
}
+QContactDetail CntNameEditorModel::detail() const
+{
+ if (!iName.firstName().isEmpty() ||
+ !iName.lastName().isEmpty() ||
+ !iName.middleName().isEmpty() ||
+ !iName.prefix().isEmpty() ||
+ !iName.suffix().isEmpty())
+ {
+ return iName;
+ }
+
+ if ( !iNick.nickname().isEmpty() )
+ {
+ return iNick;
+ }
+ return QContactName();
+}
// End of File