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

tdesu

kcookie.h
00001 /* vi: ts=8 sts=4 sw=4
00002  *
00003  * $Id$
00004  *
00005  * This file is part of the KDE project, module tdesu
00006  * Copyright (C) 1999,2000 Geert Jansen <jansen@kde.org>
00007  *
00008  * This is free software; you can use this library under the GNU Library 
00009  * General Public License, version 2. See the file "COPYING.LIB" for the 
00010  * exact licensing terms.
00011  */
00012 
00013 #ifndef __KCookie_h_Included__
00014 #define __KCookie_h_Included__
00015 
00016 #include <tqcstring.h>
00017 #include <tqvaluelist.h>
00018 
00019 typedef TQValueList<TQCString> QCStringList;
00020 
00021 
00027 class TDESU_EXPORT KCookie
00028 {
00029 public:
00030     KCookie();
00031 
00035     TQCString display() { return m_Display; }
00036 
00037 #ifdef Q_WS_X11
00038 
00041     TQCString displayAuth() { return m_DisplayAuth; }
00042 #endif
00043 
00047     void setDcopTransport(const TQCString &dcopTransport);
00048 
00052     TQCString dcopServer();
00053 
00058     TQCString dcopAuth();
00059 
00063     TQCString iceAuth();
00064 
00065 private:
00066     void getXCookie();
00067     void getICECookie();
00068     QCStringList split(const TQCString &line, char ch);
00069 
00070     void blockSigChild();
00071     void unblockSigChild();
00072 
00073     bool m_bHaveDCOPCookies;
00074     bool m_bHaveICECookies;
00075 
00076     TQCString m_Display;
00077 #ifdef Q_WS_X11
00078     TQCString m_DisplayAuth;
00079 #endif
00080     TQCString m_DCOPSrv;
00081     TQCString m_DCOPAuth;
00082     TQCString m_ICEAuth;
00083     TQCString m_dcopTransport;
00084 
00085     class KCookiePrivate;
00086     KCookiePrivate *d;
00087 };
00088 
00089 
00090 #endif // __KCookie_h_Included__

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.7.6.1
This website is maintained by Timothy Pearson.