KDEsu
kcookie.h
Go to the documentation of this file.
00001 /* vi: ts=8 sts=4 sw=4 00002 * 00003 * This file is part of the KDE project, module kdesu 00004 * Copyright (C) 1999,2000 Geert Jansen <jansen@kde.org> 00005 * 00006 * This is free software; you can use this library under the GNU Library 00007 * General Public License, version 2. See the file "COPYING.LIB" for the 00008 * exact licensing terms. 00009 */ 00010 00011 #ifndef __KCookie_h_Included__ 00012 #define __KCookie_h_Included__ 00013 00014 #include <QtCore/QByteRef> 00015 00016 00017 namespace KDESu { 00018 00019 namespace KDESuPrivate { 00020 00027 class KCookie 00028 { 00029 public: 00030 KCookie(); 00031 ~KCookie(); 00032 00036 QByteArray display() const; 00037 00038 #ifdef Q_WS_X11 00039 00042 QByteArray displayAuth() const; 00043 #endif 00044 00045 private: 00046 void getXCookie(); 00047 00048 class KCookiePrivate; 00049 KCookiePrivate * const d; 00050 }; 00051 00052 }} 00053 00054 #endif // __KCookie_h_Included__
KDE 4.6 API Reference