• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdelibs API Reference
  • KDE Home
  • Contact Us
 

KDEsu

  • sources
  • kde-4.14
  • kdelibs
  • kdesu
kcookie.h
Go to the documentation of this file.
1 /* vi: ts=8 sts=4 sw=4
2  *
3  * This file is part of the KDE project, module kdesu
4  * Copyright (C) 1999,2000 Geert Jansen <jansen@kde.org>
5  *
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.
9  */
10 
11 #ifndef __KCookie_h_Included__
12 #define __KCookie_h_Included__
13 
14 #include <QtCore/QByteRef>
15 
16 
17 namespace KDESu {
18 
19 namespace KDESuPrivate {
20 
27 class KCookie
28 {
29 public:
30  KCookie();
31  ~KCookie();
32 
36  QByteArray display() const;
37 
38 #ifdef Q_WS_X11
39 
42  QByteArray displayAuth() const;
43 #endif
44 
45 private:
46  void getXCookie();
47 
48  class KCookiePrivate;
49  KCookiePrivate * const d;
50 };
51 
52 }}
53 
54 #endif // __KCookie_h_Included__
KDESu::KDESuPrivate::KCookie::display
QByteArray display() const
Returns the X11 display.
Definition: kcookie.cpp:53
QByteArray
KDESu::KDESuPrivate::KCookie::KCookie
KCookie()
Definition: kcookie.cpp:40
KDESu::KDESuPrivate::KCookie::~KCookie
~KCookie()
Definition: kcookie.cpp:48
KDESu::KDESuPrivate::KCookie
Utility class to access the authentication tokens needed to run a KDE program (X11 cookies on X11...
Definition: kcookie.h:27
KDESu::KDESuPrivate::KCookie::displayAuth
QByteArray displayAuth() const
Returns the X11 magic cookie, if available.
Definition: kcookie.cpp:59
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:36 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KDEsu

Skip menu "KDEsu"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal