class DCOPArg

# class DCOPArg | A generic DCOP argument. More...
Definition | `#include <dcopref.h>`
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### Public Methods

- template DCOPArg ( const T& t, const char* tname_arg )
- template DCOPArg ( const T& t )

#### Public Members

- QByteArray data
- const char* tname

## Detailed Description

A generic DCOP argument. This class allows you to use user-defined argument types for DCOPRef::call() or DCOPRef::send().

See also: DCOPRef, DCOPReply, DCOPReply

template DCOPArg ( const T& t, const char* tname_arg ) | ### DCOPArg

Creates a DCOPArg for DCOPRef::call().

Parameters:

t | the data that will be written to a QDataStream. It must overload writing to a QDataStream using the "<<" operator
tname_arg | the name of the data that will appear in the function's signature

template DCOPArg ( const T& t ) | ### DCOPArg

Creates a DCOPArg for DCOPRef::call().

Parameters:

t | the data that will be written to a QDataStream. It must overload writing to a QDataStream using the "<<" operator. The name of the type will be determined by calling the function dcopTypeName(T) that must be provided by you.

QByteArray data | ### data

const char* tname | ### tname

Generated by: root on macppc.ports.openbsd.org on Sat Sep 6 10:36:00 2003, using kdoc 2.0a54.