kio Library API Documentation

sessiondata.h

00001 /* This file is part of the KDE project
00002    Copyright (C) 2000 Dawit Alemayehu <adawit@kde.org
00003 
00004    This library is free software; you can redistribute it and/or
00005    modify it under the terms of the GNU Lesser General Public
00006    License (LGPL) as published by the Free Software Foundation;
00007    either version 2 of the License, or (at your option) any
00008    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 Lesser General Public
00016    License along with this library; see the file COPYING.LIB.  If not,
00017    write to the Free Software Foundation, Inc., 59 Temple Place -
00018    Suite 330, Boston, MA 02111-1307, USA.
00019 */
00020 
00021 #ifndef __KIO_SESSIONDATA_H
00022 #define __KIO_SESSIONDATA_H
00023 
00024 #include <qobject.h>
00025 #include <kio/global.h>
00026 
00027 namespace KIO  {
00028 
00029 class SlaveConfig;
00030 
00031 
00035 class SessionData : public QObject
00036 {
00037     Q_OBJECT
00038 
00039 public:
00040     SessionData();
00041     ~SessionData();
00042 
00043     virtual void configDataFor( KIO::MetaData &configData, const QString &proto,
00044                                 const QString &host );
00045     virtual void reset();
00046 
00048     struct AuthData;
00049 public slots:
00050     void slotAuthData( const QCString&, const QCString&, bool );
00051     void slotDelAuthData( const QCString& );
00052 
00053 private:
00054     class AuthDataList;
00055     friend class AuthDataList;
00056     AuthDataList* authData;
00057 
00058 protected:
00059     virtual void virtual_hook( int id, void* data );
00060 private:
00061     class SessionDataPrivate;
00062     SessionDataPrivate* d;
00063 };
00064 
00065 } // namespace
00066 
00067 #endif
KDE Logo
This file is part of the documentation for kdelibs Version 3.1.5.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Wed Jan 28 13:14:38 2004 by doxygen 1.3.4 written by Dimitri van Heesch, © 1997-2001