From 93572d0abaae444a56051d21a6fdbb76d56726e3 Mon Sep 17 00:00:00 2001 From: zecke Date: Mon, 25 Aug 2003 16:41:34 +0000 Subject: add is null and comment about constness --- (limited to 'libopie/odevicebutton.cpp') diff --git a/libopie/odevicebutton.cpp b/libopie/odevicebutton.cpp index eccb57c..314eb51 100644 --- a/libopie/odevicebutton.cpp +++ b/libopie/odevicebutton.cpp @@ -96,6 +96,10 @@ QByteArray OQCopMessage::data ( ) const return d-> m_data; } +bool OQCopMessage::isNull() const +{ + return d-> m_message.isNull() || d-> m_channel.isNull(); +} void OQCopMessage::setChannel ( const QCString &ch ) { d-> m_channel = ch; -- cgit v0.9.0.2