[Telepathy-commits] [telepathy-qt4/master] Message: group destructor with constructors, and implement operator!=
Simon McVittie
simon.mcvittie at collabora.co.uk
Mon Feb 23 10:21:30 PST 2009
---
TelepathyQt4/Client/message.h | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/TelepathyQt4/Client/message.h b/TelepathyQt4/Client/message.h
index c82be71..5354f35 100644
--- a/TelepathyQt4/Client/message.h
+++ b/TelepathyQt4/Client/message.h
@@ -46,9 +46,14 @@ public:
Message(ChannelTextMessageType, const QString &);
Message(const Message &other);
+ ~Message();
+
Message &operator=(const Message &other);
bool operator==(const Message &other) const;
- ~Message();
+ inline bool operator!=(const Message &other) const
+ {
+ return !(*this == other);
+ }
// Convenient access to headers
--
1.5.6.5
More information about the telepathy-commits
mailing list