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

KDEsu

kcookie.h

Go to the documentation of this file.
00001 /* vi: ts=8 sts=4 sw=4
00002  *
00003  * $Id: kcookie.h 427785 2005-06-21 20:25:37Z adridg $
00004  *
00005  * This file is part of the KDE project, module kdesu
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 <qcstring.h>
00017 #include <qvaluelist.h>
00018 
00019 typedef QValueList<QCString> QCStringList;
00020 
00021 
00027 class KDESU_EXPORT KCookie
00028 {
00029 public:
00030     KCookie();
00031 
00035     QCString display() { return m_Display; }
00036 
00037 #ifdef Q_WS_X11
00038 
00041     QCString displayAuth() { return m_DisplayAuth; }
00042 #endif
00043 
00047     void setDcopTransport(const QCString &dcopTransport);
00048 
00052     QCString dcopServer();
00053 
00058     QCString dcopAuth();
00059 
00063     QCString iceAuth();
00064 
00065 private:
00066     void getXCookie();
00067     void getICECookie();
00068     QCStringList split(const QCString &line, char ch);
00069 
00070     void blockSigChild();
00071     void unblockSigChild();
00072 
00073     bool m_bHaveDCOPCookies;
00074     bool m_bHaveICECookies;
00075 
00076     QCString m_Display;
00077 #ifdef Q_WS_X11
00078     QCString m_DisplayAuth;
00079 #endif
00080     QCString m_DCOPSrv;
00081     QCString m_DCOPAuth;
00082     QCString m_ICEAuth;
00083     QCString m_dcopTransport;
00084 
00085     class KCookiePrivate;
00086     KCookiePrivate *d;
00087 };
00088 
00089 
00090 #endif // __KCookie_h_Included__

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