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

tdesu

  • tdesu
kcookie.h
1/*
2 *
3 * $Id$
4 *
5 * This file is part of the KDE project, module tdesu
6 * Copyright (C) 1999,2000 Geert Jansen <jansen@kde.org>
7 *
8 * This is free software; you can use this library under the GNU Library
9 * General Public License, version 2. See the file "COPYING.LIB" for the
10 * exact licensing terms.
11 */
12
13#ifndef __KCookie_h_Included__
14#define __KCookie_h_Included__
15
16#include <tqcstring.h>
17#include <tqvaluelist.h>
18
19typedef TQValueList<TQCString> QCStringList;
20
21
27class TDESU_EXPORT KCookie
28{
29public:
30 KCookie();
31
35 TQCString display() { return m_Display; }
36
37#ifdef TQ_WS_X11
41 TQCString displayAuth() { return m_DisplayAuth; }
42#endif
43
47 void setDcopTransport(const TQCString &dcopTransport);
48
52 TQCString dcopServer();
53
58 TQCString dcopAuth();
59
63 TQCString iceAuth();
64
65private:
66 void getXCookie();
67 void getICECookie();
68 QCStringList split(const TQCString &line, char ch);
69
70 void blockSigChild();
71 void unblockSigChild();
72
73 bool m_bHaveDCOPCookies;
74 bool m_bHaveICECookies;
75
76 TQCString m_Display;
77#ifdef TQ_WS_X11
78 TQCString m_DisplayAuth;
79#endif
80 TQCString m_DCOPSrv;
81 TQCString m_DCOPAuth;
82 TQCString m_ICEAuth;
83 TQCString m_dcopTransport;
84
85 class KCookiePrivate;
86 KCookiePrivate *d;
87};
88
89
90#endif // __KCookie_h_Included__
KCookie
Utility class to access the authentication tokens needed to run a KDE program (X11 and DCOP cookies).
Definition: kcookie.h:28
KCookie::display
TQCString display()
Returns the X11 display.
Definition: kcookie.h:35

tdesu

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

tdesu

Skip menu "tdesu"
  • 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 tdesu by doxygen 1.9.4
This website is maintained by Timothy Pearson.