• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • @topname@
  • Sitemap
  • Contact Us
 

dcop

DCOPArg Class Reference

#include <dcopref.h>

List of all members.


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.


Public Member Functions

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

Public Attributes

QByteArray data
const char * tname

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 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

Definition at line 130 of file dcopref.h.

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

Definition at line 144 of file dcopref.h.


Member Data Documentation

QByteArray DCOPArg::data

The serialized data.

Definition at line 152 of file dcopref.h.

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

@topname@

Skip menu "@topname@"
  •     kdnssd-avahi
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for @topname@ by doxygen 1.5.5
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal