-rw-r--r-- | libopie/odevicebutton.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libopie/odevicebutton.cpp b/libopie/odevicebutton.cpp index eccb57c..314eb51 100644 --- a/libopie/odevicebutton.cpp +++ b/libopie/odevicebutton.cpp | |||
@@ -93,12 +93,16 @@ QCString OQCopMessage::message ( ) const | |||
93 | 93 | ||
94 | QByteArray OQCopMessage::data ( ) const | 94 | QByteArray OQCopMessage::data ( ) const |
95 | { | 95 | { |
96 | return d-> m_data; | 96 | return d-> m_data; |
97 | } | 97 | } |
98 | 98 | ||
99 | bool OQCopMessage::isNull() const | ||
100 | { | ||
101 | return d-> m_message.isNull() || d-> m_channel.isNull(); | ||
102 | } | ||
99 | void OQCopMessage::setChannel ( const QCString &ch ) | 103 | void OQCopMessage::setChannel ( const QCString &ch ) |
100 | { | 104 | { |
101 | d-> m_channel = ch; | 105 | d-> m_channel = ch; |
102 | } | 106 | } |
103 | 107 | ||
104 | void OQCopMessage::setMessage ( const QCString &m ) | 108 | void OQCopMessage::setMessage ( const QCString &m ) |