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

tdeio/tdeio

  • tdeio
  • tdeio
davjob.h
1 // -*- c++ -*-
2 /* This file is part of the KDE libraries
3  Copyright (C) 2002 Jan-Pascal van Best <janpascal@vanbest.org>
4 
5  This library is free software; you can redistribute it and/or
6  modify it under the terms of the GNU Library General Public
7  License as published by the Free Software Foundation; either
8  version 2 of the License, or (at your option) any 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 Library General Public License
16  along with this library; see the file COPYING.LIB. If not, write to
17  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18  Boston, MA 02110-1301, USA.
19 */
20 
21 #ifndef __tdeio_davjob_h__
22 #define __tdeio_davjob_h__
23 
24 #include <kurl.h>
25 
26 #include <tqobject.h>
27 #include <tqptrlist.h>
28 #include <tqstring.h>
29 #include <tqstringlist.h>
30 #include <tqguardedptr.h>
31 #include <tqdom.h>
32 
33 #include <sys/types.h>
34 #include <sys/stat.h>
35 
36 #include <tdeio/jobclasses.h>
37 #include <tdeio/global.h>
38 
39 class Observer;
40 class TQTimer;
41 
42 namespace TDEIO {
43 
44  class Slave;
45  class SlaveInterface;
46 
57  class TDEIO_EXPORT DavJob : public TransferJob {
58  Q_OBJECT
59 
60  public:
65  DavJob(const KURL& url, int method,
66  const TQString& request, bool showProgressInfo);
71  TQDomDocument& response() { return m_response; }
72 
73  protected slots:
74  virtual void slotFinished();
75  virtual void slotData( const TQByteArray &data);
76 
77  protected:
78  bool m_suspended;
79  TransferJob *m_subJob;
80  private:
81  class DavJobPrivate;
82  DavJobPrivate *d;
83  TQString dummy; // kept around for BC reasons
84  TQDomDocument m_response;
85  };
86 
98  TDEIO_EXPORT DavJob* davPropFind( const KURL& url, const TQDomDocument& properties, TQString depth, bool showProgressInfo=true );
99 
110  TDEIO_EXPORT DavJob* davPropPatch( const KURL& url, const TQDomDocument& properties, bool showProgressInfo=true );
111 
122  TDEIO_EXPORT DavJob* davSearch( const KURL &url, const TQString& nsURI, const TQString& qName, const TQString& query, bool showProgressInfo=true );
123 
124 }
125 
126 #endif
127 
TDEIO::DavJob
The transfer job pumps data into and/or out of a Slave.
Definition: davjob.h:57
TDEIO::davPropPatch
TDEIO_EXPORT DavJob * davPropPatch(const KURL &url, const TQDomDocument &properties, bool showProgressInfo=true)
Creates a new DavJob that issues a PROPPATCH command.
Definition: davjob.cpp:125
TDEIO::davPropFind
TDEIO_EXPORT DavJob * davPropFind(const KURL &url, const TQDomDocument &properties, TQString depth, bool showProgressInfo=true)
Creates a new DavJob that issues a PROPFIND command.
Definition: davjob.cpp:117
TDEIO
A namespace for TDEIO globals.
Definition: authinfo.h:29
TDEIO::davSearch
TDEIO_EXPORT DavJob * davSearch(const KURL &url, const TQString &nsURI, const TQString &qName, const TQString &query, bool showProgressInfo=true)
Creates a new DavJob that issues a SEARCH command.
Definition: davjob.cpp:130
Observer
Observer for TDEIO::Job progress information.
Definition: observer.h:55
TDEIO::TransferJob
The transfer job pumps data into and/or out of a Slave.
Definition: jobclasses.h:875
TDEIO::DavJob::response
TQDomDocument & response()
Returns the response as a TQDomDocument.
Definition: davjob.h:71

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.8.13
This website is maintained by Timothy Pearson.