home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / SLAX 6.0.8 / slax-6.0.8.iso / slax / base / 006-devel.lzm / usr / include / kio / sessiondata.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-01-19  |  1.7 KB  |  68 lines

  1. /* This file is part of the KDE project
  2.    Copyright (C) 2000 Dawit Alemayehu <adawit@kde.org
  3.  
  4.    This library is free software; you can redistribute it and/or
  5.    modify it under the terms of the GNU Lesser General Public
  6.    License (LGPL) as published by the Free Software Foundation;
  7.    either version 2 of the License, or (at your option) any
  8.    later version.
  9.  
  10.    This library is distributed in the hope that it will be useful,
  11.    but WITHOUT ANY WARRANTY; without even the implied warranty of
  12.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  13.    Library General Public License for more details.
  14.  
  15.    You should have received a copy of the GNU Lesser General Public
  16.    License along with this library; see the file COPYING.LIB.  If not,
  17.    write to the Free Software Foundation, Inc., 51 Franklin Street,
  18.    Fifth Floor, Boston, MA 02110-1301, USA.
  19. */
  20.  
  21. #ifndef __KIO_SESSIONDATA_H
  22. #define __KIO_SESSIONDATA_H
  23.  
  24. #include <qobject.h>
  25. #include <kio/global.h>
  26.  
  27. namespace KIO  {
  28.  
  29. class SlaveConfig;
  30.  
  31.  
  32. /**
  33.  * @internal
  34.  */
  35. class KIO_EXPORT SessionData : public QObject
  36. {
  37.     Q_OBJECT
  38.  
  39. public:
  40.     SessionData();
  41.     ~SessionData();
  42.  
  43.     virtual void configDataFor( KIO::MetaData &configData, const QString &proto,
  44.                                 const QString &host );
  45.     virtual void reset();
  46.  
  47.     /// @since 3.1
  48.     struct AuthData;
  49. public slots:
  50.     void slotAuthData( const QCString&, const QCString&, bool );
  51.     void slotDelAuthData( const QCString& );
  52.  
  53. private:
  54.     class AuthDataList;
  55.     friend class AuthDataList;
  56.     AuthDataList* authData;
  57.  
  58. protected:
  59.     virtual void virtual_hook( int id, void* data );
  60. private:
  61.     class SessionDataPrivate;
  62.     SessionDataPrivate* d;
  63. };
  64.  
  65. } // namespace
  66.  
  67. #endif
  68.