DBus-1-TQt 1.0
Loading...
Searching...
No Matches
TQT_DBusMarshall Class Reference

#include <tqdbusmarshall.h>

+ Collaboration diagram for TQT_DBusMarshall:

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

◆ listToMessage()

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

Definition at line 1248 of file tqdbusmarshall.cpp.

1249{
1250 Q_ASSERT(msg);
1251 DBusMessageIter it;
1252 dbus_message_iter_init_append(msg, &it);
1253 qListToIterator(&it, list);
1254}
void qListToIterator(DBusMessageIter *it, const TQValueList< TQT_DBusData > &list)

References qListToIterator().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ messageToList()

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

Definition at line 632 of file tqdbusmarshall.cpp.

633{
634 Q_ASSERT(message);
635
636 DBusMessageIter it;
637 if (!dbus_message_iter_init(message, &it)) return;
638
639 do
640 {
641 list << qFetchParameter(&it);
642 }
643 while (dbus_message_iter_next(&it));
644}
static TQT_DBusData qFetchParameter(DBusMessageIter *it)

References qFetchParameter().

+ 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: