dcop
DCOPReply Class Reference
Represents the return value of a DCOPRef:call() or DCOPRef:send() invocation. More...
#include <dcopref.h>
| Public Member Functions | |
| template<class T > | |
| bool | get (T &t) | 
| template<class T > | |
| bool | get (T &t, const char *tname) | 
| bool | isValid () const | 
| template<class T > | |
| operator T () | |
| Public Attributes | |
| QByteArray | data | 
| QCString | type | 
Detailed Description
Represents the return value of a DCOPRef:call() or DCOPRef:send() invocation.
- See also:
- DCOPRef
- Since:
- 3.1
Definition at line 44 of file dcopref.h.
Member Function Documentation
template<class T > 
      | bool DCOPReply::get | ( | T & | t | ) |  [inline] | 
Retrieves the value from the type T. 
Requires that the type T suppports QDataStream deserialisation and has a function dcopTypeName(T). This is true for most basic types. 
- Parameters:
- 
  t the type will be written here, if successful 
- Returns:
- true if successful, false otherwise
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 QDataStream deserialisation. 
- Parameters:
- 
  t the type will be written here, if successful tname the signature type name 
- Returns:
- true if successful, false otherwise
| bool DCOPReply::isValid | ( | ) | const  [inline] | 
template<class T > 
      | DCOPReply::operator T | ( | ) |  [inline] | 
Casts the value to the type T. 
Requires that the type T suppports QDataStream deserialisation and has a function dcopTypeName(T). This is true for most basic types. 
Member Data Documentation
The documentation for this class was generated from the following files:
 KDE 3.5 API Reference
    KDE 3.5 API Reference