DCOPArg Class Reference
#include <dcopref.h>
Public Member Functions | |
template<class T > | |
DCOPArg (const T &t, const char *tname_arg) | |
template<class T > | |
DCOPArg (const T &t) | |
Public Attributes | |
TQByteArray | 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::call()
- DCOPRef
- DCOPReply
- Since:
- 3.1
Constructor & Destructor Documentation
template<class T >
DCOPArg::DCOPArg | ( | const T & | t, |
const char * | tname_arg | ||
) | [inline] |
Creates a DCOPArg for DCOPRef::call().
- Parameters:
-
t the data that will be written to a TQDataStream. It must overload writing to a TQDataStream using the "<<" operator tname_arg the name of the data that will appear in the function's signature
template<class T >
DCOPArg::DCOPArg | ( | const T & | t | ) | [inline] |
Creates a DCOPArg for DCOPRef::call().
- Parameters:
-
t the data that will be written to a TQDataStream. It must overload writing to a TQDataStream using the "<<" operator. The name of the type will be determined by calling the function dcopTypeName(T) that must be provided by you.
Member Data Documentation
TQByteArray DCOPArg::data |
const char* DCOPArg::tname |
The documentation for this class was generated from the following file: