• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdepimlibs-4.14.10 API Reference
  • KDE Home
  • Contact Us
 

KLDAP Library

  • kldap
ldapcontrol.h
1/*
2 This file is part of libkldap.
3 Copyright (c) 2004-2006 Szombathelyi György <gyurco@freemail.hu>
4
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Library General Public
7 License as published by the Free Software Foundation; either
8 version 2 of the License, or (at your option) any later version.
9
10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Library General Public License for more details.
14
15 You should have received a copy of the GNU Library General Public License
16 along with this library; see the file COPYING.LIB. If not, write to
17 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 Boston, MA 02110-1301, USA.
19*/
20
21#ifndef KLDAP_LDAPCONTROL_H
22#define KLDAP_LDAPCONTROL_H
23
24#include <QtCore/QString>
25#include <QtCore/QList>
26#include <QtCore/QSharedDataPointer>
27
28#include "kldap_export.h"
29
30namespace KLDAP {
31
32class LdapControl;
33typedef QList<LdapControl> LdapControls;
34
39class KLDAP_EXPORT LdapControl
40{
41 public:
45 LdapControl();
49 LdapControl( QString &oid, QByteArray &value, bool critical = false );
50
51 LdapControl( const LdapControl &that );
52 LdapControl &operator= ( const LdapControl &that );
56 virtual ~LdapControl();
60 void setControl( const QString &oid, const QByteArray &value,
61 bool critical = false );
65 void setOid( const QString &oid );
69 void setValue( const QByteArray &value );
73 void setCritical( bool critical );
77 QString oid() const;
81 QByteArray value() const;
85 bool critical() const;
86
94 int parsePageControl( QByteArray &cookie ) const;
98 static LdapControl createPageControl( int pagesize, const QByteArray &cookie = QByteArray() );
99
108 static void insert( LdapControls &list, const LdapControl &ctrl );
109
110 private:
111 class Private;
112 QSharedDataPointer<Private> d;
113};
114
115}
116
117#endif
KLDAP::LdapControl
This class represents an LDAP Control.
Definition ldapcontrol.h:40
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KLDAP Library

Skip menu "KLDAP Library"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • Related Pages

kdepimlibs-4.14.10 API Reference

Skip menu "kdepimlibs-4.14.10 API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
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