Static Public Member Functions

TQT_DBusMarshall Class Reference

#include <tqdbusmarshall.h>

List of all members.

Static Public Member Functions

static void listToMessage (const TQValueList< TQT_DBusData > &list, DBusMessage *message)
static void messageToList (TQValueList< TQT_DBusData > &list, DBusMessage *message)

Detailed Description

Definition at line 33 of file tqdbusmarshall.h.


Member Function Documentation

void TQT_DBusMarshall::listToMessage ( const TQValueList< TQT_DBusData > &  list,
DBusMessage *  message 
) [static]

Definition at line 1248 of file tqdbusmarshall.cpp.

References qListToIterator().

{
    Q_ASSERT(msg);
    DBusMessageIter it;
    dbus_message_iter_init_append(msg, &it);
    qListToIterator(&it, list);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void TQT_DBusMarshall::messageToList ( TQValueList< TQT_DBusData > &  list,
DBusMessage *  message 
) [static]

Definition at line 632 of file tqdbusmarshall.cpp.

References qFetchParameter().

{
    Q_ASSERT(message);

    DBusMessageIter it;
    if (!dbus_message_iter_init(message, &it)) return;

    do
    {
        list << qFetchParameter(&it);
    }
    while (dbus_message_iter_next(&it));
}

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following files: