• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • dcop
 

dcop

Public Member Functions | Public Attributes | List of all members
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

Definition at line 120 of file dcopref.h.

Constructor & Destructor Documentation

◆ DCOPArg() [1/2]

template<class T >
DCOPArg::DCOPArg ( const T &  t,
const char *  tname_arg 
)
inline

Creates a DCOPArg for DCOPRef::call().

Parameters
tthe data that will be written to a TQDataStream. It must overload writing to a TQDataStream using the "<<" operator
tname_argthe name of the data that will appear in the function's signature

Definition at line 130 of file dcopref.h.

◆ DCOPArg() [2/2]

template<class T >
DCOPArg::DCOPArg ( const T &  t)
inline

Creates a DCOPArg for DCOPRef::call().

Parameters
tthe 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.

Definition at line 144 of file dcopref.h.

Member Data Documentation

◆ data

TQByteArray DCOPArg::data

The serialized data.

Definition at line 152 of file dcopref.h.

◆ tname

const char* DCOPArg::tname

The signature type name of the data.

Definition at line 154 of file dcopref.h.


The documentation for this class was generated from the following file:
  • dcopref.h

dcop

Skip menu "dcop"
  • Main Page
  • Modules
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

dcop

Skip menu "dcop"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for dcop by doxygen 1.9.4
This website is maintained by Timothy Pearson.