davjob.h
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
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 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 m_str_response;
00084     QDomDocument m_response;
00085    };
00086 
00098    DavJob* davPropFind( const KURL& url, const QDomDocument& properties, QString depth, bool showProgressInfo=true );
00099 
00110    DavJob* davPropPatch( const KURL& url, const QDomDocument& properties, bool showProgressInfo=true );
00111 
00122    DavJob* davSearch( const KURL &url, const QString& nsURI, const QString& qName, const QString& query, bool showProgressInfo=true ); 
00123 
00124 }
00125 
00126 #endif
00127 
 
This file is part of the documentation for kio Library Version 3.2.0.