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().

01249 {
01250     Q_ASSERT(msg);
01251     DBusMessageIter it;
01252     dbus_message_iter_init_append(msg, &it);
01253     qListToIterator(&it, list);
01254 }

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().

00633 {
00634     Q_ASSERT(message);
00635 
00636     DBusMessageIter it;
00637     if (!dbus_message_iter_init(message, &it)) return;
00638 
00639     do
00640     {
00641         list << qFetchParameter(&it);
00642     }
00643     while (dbus_message_iter_next(&it));
00644 }

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:
Generated on Fri Apr 26 16:30:22 2019 for DBus-1-TQt by  doxygen 1.6.3