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 <QtCore/QObject> 00027 #include <QtCore/QString> 00028 #include <QtCore/QStringList> 00029 #include <QtCore/QPointer> 00030 #include <QtXml/QDomDocument> 00031 00032 #include <sys/types.h> 00033 #include <sys/stat.h> 00034 00035 #include "jobclasses.h" 00036 #include "global.h" 00037 00038 00039 namespace KIO { 00040 00041 class Slave; 00042 00043 class DavJobPrivate; 00053 class KIO_EXPORT DavJob : public TransferJob 00054 { 00055 Q_OBJECT 00056 public: 00061 QDomDocument& response(); 00062 00063 protected Q_SLOTS: 00064 virtual void slotFinished(); 00065 virtual void slotData( const QByteArray &data); 00066 00067 protected: 00068 DavJob(DavJobPrivate &dd, int, const QString &); 00069 private: 00070 Q_DECLARE_PRIVATE(DavJob) 00071 }; 00072 00084 KIO_EXPORT DavJob* davPropFind( const KUrl& url, const QDomDocument& properties, const QString &depth, JobFlags flags = DefaultFlags ); 00085 00096 KIO_EXPORT DavJob* davPropPatch( const KUrl& url, const QDomDocument& properties, JobFlags flags = DefaultFlags ); 00097 00108 KIO_EXPORT DavJob* davSearch( const KUrl &url, const QString& nsURI, const QString& qName, const QString& query, JobFlags flags = DefaultFlags ); 00109 00120 KIO_EXPORT DavJob* davReport( const KUrl& url, const QString& report, const QString &depth, JobFlags flags = DefaultFlags ); 00121 00122 } 00123 00124 #endif 00125
KDE 4.6 API Reference