00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
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