30 #include <tqvaluelist.h>
44 for (uint i = 0; it != endIt; ++it, ++i)
47 values[i] = (*it).toInt32(&ok);
51 typeData = TQRect(values[0], values[1], values[2], values[3]);
83 for (uint i = 0; it != endIt; ++it, ++i)
86 values[i] = (*it).toInt32(&ok);
90 typeData = TQPoint(values[0], values[1]);
120 for (uint i = 0; it != endIt; ++it, ++i)
123 values[i] = (*it).toInt32(&ok);
127 typeData = TQSize(values[0], values[1]);
Result
Conversion result values.
Class for accurately representing D-Bus data types.
Type type() const
Returns the Type of the data object.
TQValueList< TQT_DBusData > toStruct(bool *ok=0) const
Tries to get the encapsulated struct memberList.
static TQT_DBusData fromStruct(const TQValueList< TQT_DBusData > &memberList)
Creates a data object for the given struct's memberList.
static TQT_DBusData fromInt32(TQ_INT32 value)
Creates a data object for the given signed 32-bit integer value.