aboutsummaryrefslogtreecommitdiff
path: root/examples/GuiClient
diff options
context:
space:
mode:
authorManjeet Dahiya <manjeetdahiya@gmail.com>2010-09-09 10:57:22 +0000
committerManjeet Dahiya <manjeetdahiya@gmail.com>2010-09-09 10:57:22 +0000
commit1c36904333c8d5e1a465ad65518e30825ec62e2a (patch)
tree49cf5ca81fbf906852c7de4da563a377a8576c1a /examples/GuiClient
parent500cc1a187335502df0c4b2772033ede627605dd (diff)
downloadqxmpp-1c36904333c8d5e1a465ad65518e30825ec62e2a.tar.gz
add fullName
Diffstat (limited to 'examples/GuiClient')
-rw-r--r--examples/GuiClient/vCardManager.cpp2
-rw-r--r--examples/GuiClient/vCardManager.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/examples/GuiClient/vCardManager.cpp b/examples/GuiClient/vCardManager.cpp
index ecbd9d99..ada8fb30 100644
--- a/examples/GuiClient/vCardManager.cpp
+++ b/examples/GuiClient/vCardManager.cpp
@@ -48,6 +48,8 @@ void vCardManager::vCardReceived(const QXmppVCardIq& vcard)
// m_mapBareJidVcard[from] = vcard;
+ m_mapBareJidVCard[from].fullName = vcard.fullName();
+
if(m_mapBareJidVCard[from].imageHash == getImageHash(vcard.photo()))
{
emit vCardReadyToUse(from);
diff --git a/examples/GuiClient/vCardManager.h b/examples/GuiClient/vCardManager.h
index dc66ccb8..bb0700ee 100644
--- a/examples/GuiClient/vCardManager.h
+++ b/examples/GuiClient/vCardManager.h
@@ -42,6 +42,7 @@ public:
class vCard
{
public:
+ QString fullName;
QString imageHash;
QImage image;
QImage imageOriginal;