kio Library API Documentation

ksslconnectioninfo.h

00001 /* This file is part of the KDE project
00002  *
00003  * Copyright (C) 2000-2003 George Staikos <staikos@kde.org>
00004  *
00005  * This library is free software; you can redistribute it and/or
00006  * modify it under the terms of the GNU Library General Public
00007  * License as published by the Free Software Foundation; either
00008  * version 2 of the License, or (at your option) any later version.
00009  *
00010  * This library is distributed in the hope that it will be useful,
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013  * Library General Public License for more details.
00014  *
00015  * You should have received a copy of the GNU Library General Public License
00016  * along with this library; see the file COPYING.LIB.  If not, write to
00017  * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00018  * Boston, MA 02111-1307, USA.
00019  */
00020 
00021 #ifndef _KSSLCONNECTIONINFO_H
00022 #define _KSSLCONNECTIONINFO_H
00023 
00024 #include <qstring.h>
00025 
00026 class KSSL;
00027 
00038 class KSSLConnectionInfo {
00039 friend class KSSL;
00040 public:
00044     ~KSSLConnectionInfo();
00045 
00050     const QString& getCipher() const;
00051 
00056     const QString& getCipherDescription() const;
00057 
00062     const QString& getCipherVersion() const;
00063 
00068     int getCipherUsedBits() const;
00069 
00074     int getCipherBits() const;
00075 
00076 protected:
00077     KSSLConnectionInfo();
00078     void clean();
00079 
00080     // These are here so KSSL can access them directly
00081     // It's just as easy as making accessors - they're friends afterall!
00082     int m_iCipherUsedBits, m_iCipherBits;
00083     QString m_cipherName;
00084     QString m_cipherDescription;
00085     QString m_cipherVersion;
00086 
00087 private:
00088     class KSSLConnectionInfoPrivate;
00089     KSSLConnectionInfoPrivate *d;
00090 };
00091 
00092 #endif
00093 
KDE Logo
This file is part of the documentation for kio Library Version 3.3.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Jul 22 10:17:19 2005 by doxygen 1.3.6 written by Dimitri van Heesch, © 1997-2003