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

KDEsu

KCookie Class Reference

Utility class to access the authentication tokens needed to run a KDE program (X11 and DCOP cookies). More...

#include <kcookie.h>

List of all members.


Public Member Functions

QCString dcopAuth ()
QCString dcopServer ()
QCString display ()
QCString iceAuth ()
 KCookie ()
void setDcopTransport (const QCString &dcopTransport)

Detailed Description

Utility class to access the authentication tokens needed to run a KDE program (X11 and DCOP cookies).

Definition at line 27 of file kcookie.h.


Constructor & Destructor Documentation

KCookie::KCookie (  ) 

Definition at line 34 of file kcookie.cpp.


Member Function Documentation

QCString KCookie::dcopAuth (  ) 

Returns a list of magic cookies for DCOP protocol authentication.

The order is the same as in dcopServer().

Definition at line 213 of file kcookie.cpp.

QCString KCookie::dcopServer (  ) 

Returns the netid where the dcopserver is running.

Definition at line 206 of file kcookie.cpp.

QCString KCookie::display (  )  [inline]

Returns the X11 display.

Definition at line 35 of file kcookie.h.

QCString KCookie::iceAuth (  ) 

Returns a list of magic cookies for the ICE protocol.

Definition at line 220 of file kcookie.cpp.

void KCookie::setDcopTransport ( const QCString &  dcopTransport  ) 

Select the DCOP transport to look for.

Default: "local"

Definition at line 42 of file kcookie.cpp.


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

KDEsu

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

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
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