• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kio

davjob.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 /* This file is part of the KDE libraries
00003     Copyright (C) 2002 Jan-Pascal van Best <janpascal@vanbest.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., 51 Franklin Street, Fifth Floor,
00018     Boston, MA 02110-1301, USA.
00019 */
00020 
00021 #ifndef __kio_davjob_h__
00022 #define __kio_davjob_h__
00023 
00024 #include <kurl.h>
00025 
00026 #include <qobject.h>
00027 #include <qptrlist.h>
00028 #include <qstring.h>
00029 #include <qstringlist.h>
00030 #include <qguardedptr.h>
00031 #include <qdom.h>
00032 
00033 #include <sys/types.h>
00034 #include <sys/stat.h>
00035 
00036 #include <kio/jobclasses.h>
00037 #include <kio/global.h>
00038 
00039 class Observer;
00040 class QTimer;
00041 
00042 namespace KIO {
00043 
00044     class Slave;
00045     class SlaveInterface;
00046 
00057     class KIO_EXPORT DavJob : public TransferJob {
00058     Q_OBJECT
00059 
00060     public:
00065         DavJob(const KURL& url, int method,
00066                     const QString& request, bool showProgressInfo);
00071     QDomDocument& response() { return m_response; }
00072 
00073     protected slots:
00074         virtual void slotFinished();
00075         virtual void slotData( const QByteArray &data);
00076 
00077     protected:
00078         bool m_suspended;
00079         TransferJob *m_subJob;
00080     private:
00081     class DavJobPrivate;
00082     DavJobPrivate *d;
00083     QString dummy; // kept around for BC reasons
00084     QDomDocument m_response;
00085    };
00086 
00098    KIO_EXPORT DavJob* davPropFind( const KURL& url, const QDomDocument& properties, QString depth, bool showProgressInfo=true );
00099 
00110    KIO_EXPORT DavJob* davPropPatch( const KURL& url, const QDomDocument& properties, bool showProgressInfo=true );
00111 
00122    KIO_EXPORT DavJob* davSearch( const KURL &url, const QString& nsURI, const QString& qName, const QString& query, bool showProgressInfo=true ); 
00123 
00124 }
00125 
00126 #endif
00127 

kio

Skip menu "kio"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal