aboutsummaryrefslogtreecommitdiff
path: root/src/base/QXmppVCardIq.h
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2014-07-19 10:23:40 +0200
committerJeremy Lainé <jeremy.laine@m4x.org>2014-07-19 10:23:40 +0200
commit70e7b6005de3e4a2e0237f18196825d96f4ee4d3 (patch)
tree1b017e68025534d194362a6dc206f04a2ca8f553 /src/base/QXmppVCardIq.h
parent68f89992207c592cf0be8567d5c3d5e43157f9b6 (diff)
parent07ae4a63307928e1af97b75b3de23530c74beb3f (diff)
downloadqxmpp-70e7b6005de3e4a2e0237f18196825d96f4ee4d3.tar.gz
Merge branch 'master' of github.com:qxmpp-project/qxmpp
Diffstat (limited to 'src/base/QXmppVCardIq.h')
-rw-r--r--src/base/QXmppVCardIq.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/base/QXmppVCardIq.h b/src/base/QXmppVCardIq.h
index cb54b91d..966ff632 100644
--- a/src/base/QXmppVCardIq.h
+++ b/src/base/QXmppVCardIq.h
@@ -84,6 +84,9 @@ private:
QSharedDataPointer<QXmppVCardAddressPrivate> d;
};
+QXMPP_EXPORT bool operator==(const QXmppVCardAddress&, const QXmppVCardAddress&);
+QXMPP_EXPORT bool operator!=(const QXmppVCardAddress&, const QXmppVCardAddress&);
+
/// \brief Represents a vCard e-mail address.
class QXMPP_EXPORT QXmppVCardEmail
@@ -121,6 +124,9 @@ private:
QSharedDataPointer<QXmppVCardEmailPrivate> d;
};
+QXMPP_EXPORT bool operator==(const QXmppVCardEmail&, const QXmppVCardEmail&);
+QXMPP_EXPORT bool operator!=(const QXmppVCardEmail&, const QXmppVCardEmail&);
+
/// \brief Represents a vCard phone number.
class QXMPP_EXPORT QXmppVCardPhone
@@ -166,6 +172,9 @@ private:
QSharedDataPointer<QXmppVCardPhonePrivate> d;
};
+QXMPP_EXPORT bool operator==(const QXmppVCardPhone&, const QXmppVCardPhone&);
+QXMPP_EXPORT bool operator!=(const QXmppVCardPhone&, const QXmppVCardPhone&);
+
/// \brief Represents organization information in XMPP vCards.
///
/// This contains both information about organization itself and
@@ -201,6 +210,9 @@ private:
QSharedDataPointer<QXmppVCardOrganizationPrivate> d;
};
+QXMPP_EXPORT bool operator==(const QXmppVCardOrganization&, const QXmppVCardOrganization&);
+QXMPP_EXPORT bool operator!=(const QXmppVCardOrganization&, const QXmppVCardOrganization&);
+
/// \brief Represents the XMPP vCard.
///
/// The functions names are self explanatory.
@@ -279,4 +291,7 @@ private:
QSharedDataPointer<QXmppVCardIqPrivate> d;
};
+QXMPP_EXPORT bool operator==(const QXmppVCardIq&, const QXmppVCardIq&);
+QXMPP_EXPORT bool operator!=(const QXmppVCardIq&, const QXmppVCardIq&);
+
#endif // QXMPPVCARDIQ_H