DBus-1-TQt  1.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
tqdbusdata.cpp File Reference
#include "dbus/dbus.h"
#include "tqdbusdata.h"
#include "tqdbusdatalist.h"
#include "tqdbusdatamap.h"
#include "tqdbusobjectpath.h"
#include "tqdbusunixfd.h"
#include "tqdbusvariant.h"
#include <tqshared.h>
#include <tqstring.h>
#include <tqvaluelist.h>
+ Include dependency graph for tqdbusdata.cpp:

Go to the source code of this file.

Classes

class  TQT_DBusData::Private

Functions

static const char * qDBusTypeForTQT_DBusType (TQT_DBusData::Type type)
template<typename T >
TQCString qDBusSignatureForMapValue (const TQT_DBusDataMap< T > &map)

Function Documentation

template<typename T >
TQCString qDBusSignatureForMapValue ( const TQT_DBusDataMap< T > &  map)
static const char* qDBusTypeForTQT_DBusType ( TQT_DBusData::Type  type)
static

Definition at line 987 of file tqdbusdata.cpp.

References TQT_DBusData::Bool, TQT_DBusData::Byte, DBUS_TYPE_UNIX_FD_AS_STRING, TQT_DBusData::Double, TQT_DBusData::Int16, TQT_DBusData::Int32, TQT_DBusData::Int64, TQT_DBusData::Invalid, TQT_DBusData::ObjectPath, TQT_DBusData::String, TQT_DBusData::UInt16, TQT_DBusData::UInt32, TQT_DBusData::UInt64, TQT_DBusData::UnixFd, and TQT_DBusData::Variant.

{
switch (type)
{
return 0;
return DBUS_TYPE_BOOLEAN_AS_STRING;
return DBUS_TYPE_BYTE_AS_STRING;
return DBUS_TYPE_INT16_AS_STRING;
return DBUS_TYPE_UINT16_AS_STRING;
return DBUS_TYPE_INT32_AS_STRING;
return DBUS_TYPE_UINT32_AS_STRING;
return DBUS_TYPE_INT64_AS_STRING;
return DBUS_TYPE_UINT64_AS_STRING;
return DBUS_TYPE_DOUBLE_AS_STRING;
return DBUS_TYPE_STRING_AS_STRING;
return DBUS_TYPE_OBJECT_PATH_AS_STRING;
return DBUS_TYPE_VARIANT_AS_STRING;
default:
break;
}
return 0;
}

+ Here is the caller graph for this function: