author | eilers <eilers> | 2002-12-27 12:24:32 (UTC) |
---|---|---|
committer | eilers <eilers> | 2002-12-27 12:24:32 (UTC) |
commit | eea5575187d95968ad76b49e4334e1165952163c (patch) (side-by-side diff) | |
tree | eee185b3e936f12d07d8d31656f9f61b994172c5 | |
parent | 497a1cbad9b685ba7e08720d4337589dc6b9fbd2 (diff) | |
download | opie-eea5575187d95968ad76b49e4334e1165952163c.zip opie-eea5575187d95968ad76b49e4334e1165952163c.tar.gz opie-eea5575187d95968ad76b49e4334e1165952163c.tar.bz2 |
Childrens are now shown in detail view..
-rw-r--r-- | libopie/pim/ocontact.cpp | 5 | ||||
-rw-r--r-- | libopie2/opiepim/ocontact.cpp | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/libopie/pim/ocontact.cpp b/libopie/pim/ocontact.cpp index 38cba72..c9084ad 100644 --- a/libopie/pim/ocontact.cpp +++ b/libopie/pim/ocontact.cpp @@ -585,6 +585,11 @@ QString OContact::toRichText() const text += "<b>" + QObject::tr("Anniversary: ") + "</b>" + Qtopia::escapeString(str) + "<br>"; } + str = children(); + if ( !str.isEmpty() ) + text += "<b>" + QObject::tr("Children: ") + "</b>" + + Qtopia::escapeString(str) + "<br>"; + str = nickname(); if ( !str.isEmpty() ) text += "<b>" + QObject::tr("Nickname: ") + "</b>" diff --git a/libopie2/opiepim/ocontact.cpp b/libopie2/opiepim/ocontact.cpp index 38cba72..c9084ad 100644 --- a/libopie2/opiepim/ocontact.cpp +++ b/libopie2/opiepim/ocontact.cpp @@ -585,6 +585,11 @@ QString OContact::toRichText() const text += "<b>" + QObject::tr("Anniversary: ") + "</b>" + Qtopia::escapeString(str) + "<br>"; } + str = children(); + if ( !str.isEmpty() ) + text += "<b>" + QObject::tr("Children: ") + "</b>" + + Qtopia::escapeString(str) + "<br>"; + str = nickname(); if ( !str.isEmpty() ) text += "<b>" + QObject::tr("Nickname: ") + "</b>" |