emailuis/nmailuiengine/src/nmmailboxmetadata.cpp
changeset 40 2c62ef3caffd
parent 18 578830873419
child 30 759dc5235cdb
--- a/emailuis/nmailuiengine/src/nmmailboxmetadata.cpp	Fri May 14 04:17:40 2010 +0300
+++ b/emailuis/nmailuiengine/src/nmmailboxmetadata.cpp	Fri May 14 04:41:45 2010 +0300
@@ -34,6 +34,7 @@
     QString mName;
     NmId mId;
     NmId mIconId;
+    QString mAddress;
 };
 
 
@@ -102,7 +103,18 @@
     d->mIconId = id;
 }
 
-
+/*!
+    Get mailbox address
+*/
+QString NmMailboxMetaData::address() const
+{
+    return d->mAddress;
+}
 
-
-
+/*!
+    Set Mailbox address as \a address
+*/
+void NmMailboxMetaData::setAddress(const QString &address)
+{
+    d->mAddress = address;
+}