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

dcop

Public Member Functions | Public Attributes | List of all members
DCOPReply Class Reference

#include <dcopref.h>

Public Member Functions

template<class T >
 operator T ()
 
template<class T >
bool get (T &t, const char *tname)
 
template<class T >
bool get (T &t)
 
bool isValid () const
 

Public Attributes

TQByteArray data
 
TQCString type
 

Detailed Description

Represents the return value of a DCOPRef:call() or DCOPRef:send() invocation.

See also
DCOPRef
DCOPRef::call()
DCOPArg
Since
3.1

Definition at line 44 of file dcopref.h.

Member Function Documentation

◆ get() [1/2]

template<class T >
bool DCOPReply::get ( T &  t)
inline

Retrieves the value from the type T.

Requires that the type T suppports TQDataStream deserialisation and has a function dcopTypeName(T). This is true for most basic types.

Parameters
tthe type will be written here, if successful
Returns
true if successful, false otherwise

Definition at line 86 of file dcopref.h.

◆ get() [2/2]

template<class T >
bool DCOPReply::get ( T &  t,
const char *  tname 
)
inline

Retrieves the value from the type T.

Requires that the type T suppports TQDataStream deserialisation.

Parameters
tthe type will be written here, if successful
tnamethe signature type name
Returns
true if successful, false otherwise

Definition at line 70 of file dcopref.h.

◆ isValid()

bool DCOPReply::isValid ( ) const
inline

Checks whether the type is valid.

Returns
true if valid, false otherwise

Definition at line 99 of file dcopref.h.

◆ operator T()

template<class T >
DCOPReply::operator T ( )
inline

Casts the value to the type T.

Requires that the type T suppports TQDataStream deserialisation and has a function dcopTypeName(T). This is true for most basic types.

Definition at line 54 of file dcopref.h.

Member Data Documentation

◆ data

TQByteArray DCOPReply::data

The serialized data.

Definition at line 102 of file dcopref.h.

◆ type

TQCString DCOPReply::type

The name of the type, or 0 if unknown.

Definition at line 104 of file dcopref.h.


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

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.