kabc
ldapdn_p.h
00001 /* 00002 A temporary copy to break dependency to KLDAP 00003 00004 This file is part of libkldap. 00005 Copyright (c) 2006 Sean Harmer <sh@theharmers.co.uk> 00006 00007 This library is free software; you can redistribute it and/or 00008 modify it under the terms of the GNU Library General Public 00009 License as published by the Free Software Foundation; either 00010 version 2 of the License, or (at your option) any later version. 00011 00012 This library is distributed in the hope that it will be useful, 00013 but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00015 Library General Public License for more details. 00016 00017 You should have received a copy of the GNU Library General Public License 00018 along with this library; see the file COPYING.LIB. If not, write to 00019 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00020 Boston, MA 02110-1301, USA. 00021 */ 00022 00023 #ifndef LDAPDN_P_H 00024 #define LDAPDN_P_H 00025 00026 #include <QtCore/QStringList> 00027 00028 class LdapDN 00029 { 00030 public: 00031 explicit LdapDN(); 00032 explicit LdapDN( const QString &dn ); 00033 00034 LdapDN( const LdapDN &that ); 00035 LdapDN &operator=( const LdapDN &that ); 00036 00037 ~LdapDN(); 00038 00039 void clear(); 00040 00041 bool isEmpty() const; 00042 00046 QString toString() const; 00047 00052 QString toString( int depth ) const; 00053 00057 QString rdnString() const; 00058 00063 QString rdnString( int depth ) const; 00064 00068 bool isValid() const; 00069 00073 int depth() const; 00074 00075 bool operator == ( const LdapDN &rhs ) const; 00076 00077 bool operator != ( const LdapDN &rhs ) const; 00078 00079 private: 00080 class LdapDNPrivate; 00081 LdapDNPrivate *const d; 00082 }; 00083 00084 #endif
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Tue May 8 2012 00:05:40 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2012 The KDE developers.
Generated on Tue May 8 2012 00:05:40 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.