aboutsummaryrefslogtreecommitdiff
path: root/src/base/QXmppVCardIq.h
diff options
context:
space:
mode:
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