summaryrefslogtreecommitdiffstats
path: root/src/knx/netip/qknxnetipservicefamiliesdib.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/knx/netip/qknxnetipservicefamiliesdib.cpp')
-rw-r--r--src/knx/netip/qknxnetipservicefamiliesdib.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/knx/netip/qknxnetipservicefamiliesdib.cpp b/src/knx/netip/qknxnetipservicefamiliesdib.cpp
index 6394d47..5c95f5a 100644
--- a/src/knx/netip/qknxnetipservicefamiliesdib.cpp
+++ b/src/knx/netip/qknxnetipservicefamiliesdib.cpp
@@ -67,6 +67,29 @@ QT_BEGIN_NAMESPACE
*/
/*!
+ \since 5.13
+
+ Returns \c true if this object and the given \a other are equal; otherwise
+ returns \c false.
+*/
+bool QKnxServiceInfo::operator==(const QKnxServiceInfo &other) const
+{
+ return ServiceFamily == other.ServiceFamily && ServiceFamilyVersion == other.ServiceFamilyVersion;
+}
+
+/*!
+ \since 5.13
+
+ Returns \c true if this object and the given \a other are not equal;
+ otherwise returns \c false.
+*/
+bool QKnxServiceInfo::operator!=(const QKnxServiceInfo &other) const
+{
+ return !operator==(other);
+}
+
+
+/*!
\class QKnxNetIpServiceFamiliesDibProxy
\inmodule QtKnx