KLDAP Library
21 #include "ldapcontrol.h"
24 #include <QtCore/QSharedData>
26 using namespace KLDAP;
28 class LdapControl::Private :
public QSharedData
36 Private(
const Private &other )
37 : QSharedData( other )
40 mValue = other.mValue;
41 mCritical = other.mCritical;
64 setControl( that.d->mOid, that.d->mValue, that.d->mCritical );
69 if (
this != &that ) {
73 setControl( that.d->mOid, that.d->mValue, that.d->mCritical );
121 if ( d->mOid !=
"1.2.840.113556.1.4.319" ) {
125 Ber ber( d->mValue );
127 if ( ber.scanf(
"{iO}", &size, &cookie ) == -1 ) {
139 ber.
printf(
"{iO}", pagesize, &cookie );
140 control.
setOid(
"1.2.840.113556.1.4.319" );
147 LdapControls::iterator it;
148 LdapControls::iterator endit = list.end();
149 const QString
oid = ctrl.
oid();
151 for ( it = list.begin(); it != endit; ++it ) {
152 if ( it->oid() ==
oid ) {
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sat Jul 13 2013 01:27:14 by
doxygen 1.8.3.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.