• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdeio/tdeio
 

tdeio/tdeio

davjob.h

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 __tdeio_davjob_h__
00022 #define __tdeio_davjob_h__
00023 
00024 #include <kurl.h>
00025 
00026 #include <tqobject.h>
00027 #include <tqptrlist.h>
00028 #include <tqstring.h>
00029 #include <tqstringlist.h>
00030 #include <tqguardedptr.h>
00031 #include <tqdom.h>
00032 
00033 #include <sys/types.h>
00034 #include <sys/stat.h>
00035 
00036 #include <tdeio/jobclasses.h>
00037 #include <tdeio/global.h>
00038 
00039 class Observer;
00040 class TQTimer;
00041 
00042 namespace TDEIO {
00043 
00044     class Slave;
00045     class SlaveInterface;
00046 
00057     class TDEIO_EXPORT DavJob : public TransferJob {
00058     Q_OBJECT
00059 
00060     public:
00065         DavJob(const KURL& url, int method,
00066                     const TQString& request, bool showProgressInfo);
00071     TQDomDocument& response() { return m_response; }
00072 
00073     protected slots:
00074         virtual void slotFinished();
00075         virtual void slotData( const TQByteArray &data);
00076 
00077     protected:
00078         bool m_suspended;
00079         TransferJob *m_subJob;
00080     private:
00081     class DavJobPrivate;
00082     DavJobPrivate *d;
00083     TQString dummy; // kept around for BC reasons
00084     TQDomDocument m_response;
00085    };
00086 
00098    TDEIO_EXPORT DavJob* davPropFind( const KURL& url, const TQDomDocument& properties, TQString depth, bool showProgressInfo=true );
00099 
00110    TDEIO_EXPORT DavJob* davPropPatch( const KURL& url, const TQDomDocument& properties, bool showProgressInfo=true );
00111 
00122    TDEIO_EXPORT DavJob* davSearch( const KURL &url, const TQString& nsURI, const TQString& qName, const TQString& query, bool showProgressInfo=true ); 
00123 
00124 }
00125 
00126 #endif
00127 

tdeio/tdeio

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

tdeio/tdeio

Skip menu "tdeio/tdeio"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeio/tdeio by doxygen 1.6.3
This website is maintained by Timothy Pearson.