26 template <
class T>
inline const char* dcopTypeName(
const T& ) {
return "<unknown>"; }
31 inline const char* dcopTypeName(
bool ) {
return "bool"; }
32 inline const char* dcopTypeName(
char ) {
return "char"; }
33 inline const char* dcopTypeName( uchar ) {
return "uchar"; }
34 inline const char* dcopTypeName(
int ) {
return "int"; }
35 inline const char* dcopTypeName( uint ) {
return "uint"; }
36 inline const char* dcopTypeName(
long ) {
return "long int"; }
37 inline const char* dcopTypeName( ulong ) {
return "ulong"; }
38 inline const char* dcopTypeName(
double ) {
return "double"; }
39 inline const char* dcopTypeName(
float ) {
return "float"; }
40 inline const char* dcopTypeName(
const char* ) {
return "TQCString"; }
43 class DCOPRef;
inline const char* dcopTypeName(
const DCOPRef& ) {
return "DCOPRef"; }
46 class TQString;
inline const char* dcopTypeName(
const TQString& ) {
return "TQString"; }
47 class TQCString;
inline const char* dcopTypeName(
const TQCString& ) {
return "TQCString"; }
48 class TQFont;
inline const char* dcopTypeName(
const TQFont& ) {
return "TQFont"; }
49 class TQPixmap;
inline const char* dcopTypeName(
const TQPixmap& ) {
return "TQPixmap"; }
50 class TQBrush;
inline const char* dcopTypeName(
const TQBrush& ) {
return "TQBrush"; }
51 class TQRect;
inline const char* dcopTypeName(
const TQRect& ) {
return "TQRect"; }
52 class TQPoint;
inline const char* dcopTypeName(
const TQPoint& ) {
return "TQPoint"; }
53 class TQImage;
inline const char* dcopTypeName(
const TQImage& ) {
return "TQImage"; }
54 class TQSize;
inline const char* dcopTypeName(
const TQSize& ) {
return "TQSize"; }
55 class TQColor;
inline const char* dcopTypeName(
const TQColor& ) {
return "TQColor"; }
56 class TQPalette;
inline const char* dcopTypeName(
const TQPalette& ) {
return "TQPalette"; }
57 class TQColorGroup;
inline const char* dcopTypeName(
const TQColorGroup& ) {
return "TQColorGroup"; }
58 class TQIconSet;
inline const char* dcopTypeName(
const TQIconSet& ) {
return "TQIconSet"; }
59 class TQDataStream;
inline const char* dcopTypeName(
const TQDataStream& ) {
return "TQDataStream"; }
60 class TQPointArray;
inline const char* dcopTypeName(
const TQPointArray& ) {
return "TQPointArray"; }
61 class TQRegion;
inline const char* dcopTypeName(
const TQRegion& ) {
return "TQRegion"; }
62 class TQBitmap;
inline const char* dcopTypeName(
const TQBitmap& ) {
return "TQBitmap"; }
63 class TQCursor;
inline const char* dcopTypeName(
const TQCursor& ) {
return "TQCursor"; }
64 class TQStringList;
inline const char* dcopTypeName(
const TQStringList& ) {
return "TQStringList"; }
65 class TQSizePolicy;
inline const char* dcopTypeName(
const TQSizePolicy& ) {
return "TQSizePolicy"; }
66 class TQDate;
inline const char* dcopTypeName(
const TQDate& ) {
return "TQDate"; }
67 class TQTime;
inline const char* dcopTypeName(
const TQTime& ) {
return "TQTime"; }
68 class TQDateTime;
inline const char* dcopTypeName(
const TQDateTime& ) {
return "TQDateTime"; }
69 class TQBitArray;
inline const char* dcopTypeName(
const TQBitArray& ) {
return "TQBitArray"; }
70 class TQKeySequence;
inline const char* dcopTypeName(
const TQKeySequence& ) {
return "TQKeySequence"; }
71 class TQVariant;
inline const char* dcopTypeName(
const TQVariant& ) {
return "TQVariant"; }
73 template<
class Key,
class T>
class TQMap;
74 typedef TQMap<TQString, TQVariant> TQStringVariantMap;
75 inline const char* dcopTypeName(
const TQStringVariantMap&) {
return "TQStringVariantMap"; }
78 class KURL;
inline const char* dcopTypeName(
const KURL& ) {
return "KURL"; }
81 inline void dcopTypeInit(
bool& b){b=
false;}
82 inline void dcopTypeInit(
char& c){c=0;}
83 inline void dcopTypeInit(uchar& c){c=0;}
84 inline void dcopTypeInit(
int& i){i=0;}
85 inline void dcopTypeInit(uint& i){i=0;}
86 inline void dcopTypeInit(
long& l){l=0;}
87 inline void dcopTypeInit(ulong& l){l=0;}
88 inline void dcopTypeInit(
float& f){f=0;}
89 inline void dcopTypeInit(
double& d){d=0;}
90 inline void dcopTypeInit(
const char* s ){s=0;}
93 template <
class T>
inline void dcopTypeInit(T&){}
A DCOPRef(erence) encapsulates a remote DCOP object as a triple <app,obj,type> where type is optional...