KDEsu
kcookie.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
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__