summaryrefslogtreecommitdiff
path: root/src/kolabcontact.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kolabcontact.cpp')
-rw-r--r--src/kolabcontact.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/kolabcontact.cpp b/src/kolabcontact.cpp
index a959a2c..4f68b72 100644
--- a/src/kolabcontact.cpp
+++ b/src/kolabcontact.cpp
@@ -153,6 +153,7 @@ struct Contact::Private
std::vector<std::string> emailAddresses;
int emailAddressPreferredIndex;
std::vector<Geo> gpsPos;
+ std::vector<Key> keys;
Crypto crypto;
std::vector<CustomProperty> customProperties;
};
@@ -441,6 +442,16 @@ std::vector< Geo > Contact::gpsPos() const
return d->gpsPos;
}
+void Contact::setKeys(const std::vector<Key> &keys)
+{
+ d->keys = keys;
+}
+
+std::vector<Key> Contact::keys() const
+{
+ return d->keys;
+}
+
void Contact::setCrypto(const Kolab::Crypto& c)
{
d->crypto = c;