Browse Source

Rename additional global TQt functions

tags/r14.0.0
Timothy Pearson 8 years ago
parent
commit
bdf836dbde
2 changed files with 7 additions and 7 deletions
  1. +2
    -2
      connection.cpp
  2. +5
    -5
      message.cpp

+ 2
- 2
connection.cpp View File

@@ -49,7 +49,7 @@ Connection::Private::Private( Connection *qq )
void Connection::Private::setConnection( DBusConnection *c )
{
if (!c) {
qDebug( "error: %s, %s", error.name, error.message );
tqDebug( "error: %s, %s", error.name, error.message );
dbus_error_free( &error );
return;
}
@@ -146,7 +146,7 @@ Message Connection::sendWithReplyAndBlock( const Message &m )
DBusMessage *reply;
reply = dbus_connection_send_with_reply_and_block( d->connection, m.message(), d->timeout, &d->error );
if (dbus_error_is_set(&d->error)) {
qDebug("error: %s, %s", d->error.name, d->error.message);
tqDebug("error: %s, %s", d->error.name, d->error.message);
dbus_error_free(&d->error);
}
return Message( reply );


+ 5
- 5
message.cpp View File

@@ -55,7 +55,7 @@ Message::iterator::iterator( DBusMessage* msg )
d->iter = static_cast<DBusMessageIter *>( malloc( sizeof(DBusMessageIter) ) );
dbus_message_iter_init( d->mesg, d->iter );
if ( !d->iter ) {
qDebug("No iterator??");
tqDebug("No iterator??");
}
fillVar();
d->end = false;
@@ -249,7 +249,7 @@ Message::iterator::fillVar()
break;
}
default:
qDebug( "Array of type not implemented" );
tqDebug( "Array of type not implemented" );
d->var = TQVariant();
break;
}
@@ -261,7 +261,7 @@ Message::iterator::fillVar()
* apply to array of struct of two fields
*/
case DBUS_TYPE_DICT: {
qDebug( "Got a hash!" );
tqDebug( "Got a hash!" );
TQMap<TQString, TQVariant> tempMap;
DBusMessageIter dictIter;
dbus_message_iter_init_dict_iterator( d->iter, &dictIter );
@@ -273,13 +273,13 @@ Message::iterator::fillVar()
} while( dbus_message_iter_has_next( &dictIter ) );
d->var = TQVariant( tempMap );
break;
qDebug( "Hash/Dict type not implemented" );
tqDebug( "Hash/Dict type not implemented" );
d->var = TQVariant();
break;
}
#endif
default:
qDebug( "not implemented" );
tqDebug( "not implemented" );
d->var = TQVariant();
break;
}


Loading…
Cancel
Save