.PP
.TH "DCOPArg" 3 "28 Jan 2004" "dcop Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
DCOPArg \- A generic DCOP argument.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <dcopref.h>\fP
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "template<class T> \fBDCOPArg\fP (const  T &t, const  char *tname_arg)"
.br
.RI "\fICreates a DCOPArg for \fBDCOPRef::call\fP(). \fP"
.ti -1c
.RI "template<class T> \fBDCOPArg\fP (const  T &t)"
.br
.RI "\fICreates a DCOPArg for \fBDCOPRef::call\fP(). \fP"
.in -1c
.SS "Public Attributes"

.in +1c
.ti -1c
.RI "\fBQByteArray\fP \fBdata\fP"
.br
.RI "\fIThe serialized data. \fP"
.ti -1c
.RI "const  char * \fBtname\fP"
.br
.RI "\fIThe signature type name of the data. \fP"
.in -1c
.SH "Detailed Description"
.PP 
A generic DCOP argument. 

This class allows you to use user-defined argument types for \fBDCOPRef::call\fP() or \fBDCOPRef::send\fP().
.PP
\fBSee also:\fP
.RS 4
\fBDCOPRef::call()\fP 
.PP
\fBDCOPRef\fP 
.PP
\fBDCOPReply\fP 
.RE
.PP
\fBSince:\fP
.RS 4
3.1 
.RE
.PP

.PP
Definition at line 120 of file dcopref.h.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "template<class T> DCOPArg::DCOPArg (const T & t, const char * tname_arg)\fC [inline]\fP"
.PP
Creates a DCOPArg for \fBDCOPRef::call\fP(). \fBParameters:\fP
.RS 4
\fIt\fP the data that will be written to a \fBQDataStream\fP. It must overload writing to a \fBQDataStream\fP using the '<<' operator 
.br
\fItname_arg\fP the name of the data that will appear in the function's signature 
.RE
.PP
Definition at line 130 of file dcopref.h.
.PP
References data, and tname.
.SS "template<class T> DCOPArg::DCOPArg (const T & t)\fC [inline]\fP"
.PP
Creates a DCOPArg for \fBDCOPRef::call\fP(). \fBParameters:\fP
.RS 4
\fIt\fP the data that will be written to a \fBQDataStream\fP. It must overload writing to a \fBQDataStream\fP using the '<<' operator. The name of the type will be determined by calling the function dcopTypeName(T) that must be provided by you. 
.RE
.PP
Definition at line 144 of file dcopref.h.
.PP
References data, and tname.
.SH "Member Data Documentation"
.PP 
.SS "\fBQByteArray\fP \fBDCOPArg::data\fP"
.PP
The serialized data. Definition at line 152 of file dcopref.h.
.PP
Referenced by DCOPArg().
.SS "const char* \fBDCOPArg::tname\fP"
.PP
The signature type name of the data. Definition at line 154 of file dcopref.h.
.PP
Referenced by DCOPArg().

.SH "Author"
.PP 
Generated automatically by Doxygen for dcop Library from the source code.
