[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/work/dbus-qt4-qt3backport/dbus
From: Kevin Krammer <kevin.krammer () gmx ! at>
Date: 2007-02-02 1:59:11
Message-ID: 1170381551.416092.11114.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 629244 by krake:
Added operator!=
M +9 -0 qdbusvariant.h
--- branches/work/dbus-qt4-qt3backport/dbus/qdbusvariant.h #629243:629244
@@ -42,9 +42,18 @@
inline bool operator==(const QDBusVariant& other) const
{
+ if (&other == this) return true;
+
return signature == other.signature && value == other.value;
}
+ inline bool operator!=(const QDBusVariant& other) const
+ {
+ if (&other == this) return false;
+
+ return signature != other.signature || value != other.value;
+ }
+
public:
QString signature;
QDBusData value;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic