summaryrefslogtreecommitdiffstats
path: root/message.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-24 18:19:20 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-24 18:19:20 +0000
commit442ff8937564424c10a7964bf0dfb800c04e25c0 (patch)
tree74f68840ac0d19d6bd1edebbcee2e4f2b37ff05d /message.cpp
parente271940e6e10c4f5515efa13e3df47a138ea495b (diff)
downloaddbus-tqt-442ff8937564424c10a7964bf0dfb800c04e25c0.tar.gz
dbus-tqt-442ff8937564424c10a7964bf0dfb800c04e25c0.zip
Fix no return in nonvoid function errors within dbus-tqtv3.5.13
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/dbus-tqt@1249343 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'message.cpp')
-rw-r--r--message.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/message.cpp b/message.cpp
index 64c5731..ae68dc8 100644
--- a/message.cpp
+++ b/message.cpp
@@ -359,6 +359,7 @@ Message::Message( const Message& replayingTo, const TQString& errorName,
Message Message::operator=( const Message& other )
{
//FIXME: ref the other.d->msg instead of copying it?
+ return *this;
}
/**
* Destructs message.
@@ -508,42 +509,49 @@ Message& Message::operator<<( bool b )
const dbus_bool_t right_size_bool = b;
dbus_message_append_args( d->msg, DBUS_TYPE_BOOLEAN, &right_size_bool,
DBUS_TYPE_INVALID );
+ return *this;
}
Message& Message::operator<<( TQ_INT8 byte )
{
dbus_message_append_args( d->msg, DBUS_TYPE_BYTE, &byte,
DBUS_TYPE_INVALID );
+ return *this;
}
Message& Message::operator<<( TQ_INT32 num )
{
dbus_message_append_args( d->msg, DBUS_TYPE_INT32, &num,
DBUS_TYPE_INVALID );
+ return *this;
}
Message& Message::operator<<( TQ_UINT32 num )
{
dbus_message_append_args( d->msg, DBUS_TYPE_UINT32, &num,
DBUS_TYPE_INVALID );
+ return *this;
}
Message& Message::operator<<( TQ_INT64 num )
{
dbus_message_append_args( d->msg, DBUS_TYPE_INT64, &num,
DBUS_TYPE_INVALID );
+ return *this;
}
Message& Message::operator<<( TQ_UINT64 num )
{
dbus_message_append_args( d->msg, DBUS_TYPE_UINT64, &num,
DBUS_TYPE_INVALID );
+ return *this;
}
Message& Message::operator<<( double num )
{
dbus_message_append_args( d->msg, DBUS_TYPE_DOUBLE, &num,
DBUS_TYPE_INVALID );
+ return *this;
}
Message& Message::operator<<( const TQString& str )
@@ -551,11 +559,13 @@ Message& Message::operator<<( const TQString& str )
const char *u = str.utf8();
dbus_message_append_args( d->msg, DBUS_TYPE_STRING, &u,
DBUS_TYPE_INVALID );
+ return *this;
}
Message& Message::operator<<( const TQVariant& custom )
{
//FIXME: imeplement
+ return *this;
}
}