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

tdeio/tdeio

  • tdeio
  • tdeio
davjob.h
1 /* This file is part of the KDE libraries
2  Copyright (C) 2002 Jan-Pascal van Best <janpascal@vanbest.org>
3 
4  This library is free software; you can redistribute it and/or
5  modify it under the terms of the GNU Library General Public
6  License as published by the Free Software Foundation; either
7  version 2 of the License, or (at your option) any later version.
8 
9  This library is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  Library General Public License for more details.
13 
14  You should have received a copy of the GNU Library General Public License
15  along with this library; see the file COPYING.LIB. If not, write to
16  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17  Boston, MA 02110-1301, USA.
18 */
19 
20 #ifndef __tdeio_davjob_h__
21 #define __tdeio_davjob_h__
22 
23 #include <kurl.h>
24 
25 #include <tqobject.h>
26 #include <tqptrlist.h>
27 #include <tqstring.h>
28 #include <tqstringlist.h>
29 #include <tqguardedptr.h>
30 #include <tqdom.h>
31 
32 #include <sys/types.h>
33 #include <sys/stat.h>
34 
35 #include <tdeio/jobclasses.h>
36 #include <tdeio/global.h>
37 
38 class Observer;
39 class TQTimer;
40 
41 namespace TDEIO {
42 
43  class Slave;
44  class SlaveInterface;
45 
56  class TDEIO_EXPORT DavJob : public TransferJob {
57  Q_OBJECT
58 
59  public:
64  DavJob(const KURL& url, int method,
65  const TQString& request, bool showProgressInfo);
70  TQDomDocument& response() { return m_response; }
71 
72  protected slots:
73  virtual void slotFinished();
74  virtual void slotData( const TQByteArray &data);
75 
76  protected:
77  bool m_suspended;
78  TransferJob *m_subJob;
79  private:
80  class DavJobPrivate;
81  DavJobPrivate *d;
82  TQString dummy; // kept around for BC reasons
83  TQDomDocument m_response;
84  };
85 
97  TDEIO_EXPORT DavJob* davPropFind( const KURL& url, const TQDomDocument& properties, TQString depth, bool showProgressInfo=true );
98 
109  TDEIO_EXPORT DavJob* davPropPatch( const KURL& url, const TQDomDocument& properties, bool showProgressInfo=true );
110 
121  TDEIO_EXPORT DavJob* davSearch( const KURL &url, const TQString& nsURI, const TQString& qName, const TQString& query, bool showProgressInfo=true );
122 
123 }
124 
125 #endif
126 
TDEIO::DavJob
The transfer job pumps data into and/or out of a Slave.
Definition: davjob.h:56
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:124
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:116
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:129
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:874
TDEIO::DavJob::response
TQDomDocument & response()
Returns the response as a TQDomDocument.
Definition: davjob.h:70

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
  •     tdecore
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  • tdeioslave
  •   http
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeio/tdeio by doxygen 1.8.8
This website is maintained by Timothy Pearson.