3
* This file is part of the KDE project, module kdesu
4
* Copyright (C) 1999,2000 Geert Jansen <jansen@kde.org>
6
* This is free software; you can use this library under the GNU Library
7
* General Public License, version 2. See the file "COPYING.LIB" for the
8
* exact licensing terms.
11
#ifndef __KCookie_h_Included__
12
#define __KCookie_h_Included__
14
#include <QtCore/QByteRef>
19
namespace KDESuPrivate {
22
* Utility class to access the authentication tokens needed to run a KDE
23
* program (X11 cookies on X11, for instance).
34
* Returns the X11 display.
36
QByteArray display() const;
40
* Returns the X11 magic cookie, if available.
42
QByteArray displayAuth() const;
49
KCookiePrivate * const d;
54
#endif // __KCookie_h_Included__