Fix no return in nonvoid function errors within dbus-tqt

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/dbus-tqt@1249343 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru v3.5.13
tpearson 13 years ago
parent e271940e6e
commit 442ff89375

@ -154,6 +154,7 @@ Message Connection::sendWithReplyAndBlock( const Message &m )
void* Connection::virtual_hook( int, void* )
{
return 0;
}
void Connection::dbus_connection_setup_with_qt_main (DBusConnection *connection)

@ -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;
}
}

Loading…
Cancel
Save