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

tdeio/tdeio

  • tdeio
  • tdeio
job.h
1 // -*- c++ -*-
2 /* This file is part of the KDE libraries
3  Copyright (C) 2000 Stephan Kulow <coolo@kde.org>
4  David Faure <faure@kde.org>
5 
6  This library is free software; you can redistribute it and/or
7  modify it under the terms of the GNU Library General Public
8  License as published by the Free Software Foundation; either
9  version 2 of the License, or (at your option) any later version.
10 
11  This library is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  Library General Public License for more details.
15 
16  You should have received a copy of the GNU Library General Public License
17  along with this library; see the file COPYING.LIB. If not, write to
18  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19  Boston, MA 02110-1301, USA.
20 */
21 
22 #ifndef __tdeio_job_h__
23 #define __tdeio_job_h__
24 
25 #include <tdeio/jobclasses.h>
26 
27 namespace TDEIO {
28 
29 
41  TDEIO_EXPORT SimpleJob * mkdir( const KURL& url, int permissions = -1 );
42 
53  TDEIO_EXPORT SimpleJob * rmdir( const KURL& url );
54 
64  TDEIO_EXPORT SimpleJob * chmod( const KURL& url, int permissions );
65 
77  TDEIO_EXPORT SimpleJob * rename( const KURL& src, const KURL & dest, bool overwrite );
78 
90  TDEIO_EXPORT SimpleJob * symlink( const TQString & target, const KURL& dest, bool overwrite, bool showProgressInfo = true );
91 
104  TDEIO_EXPORT SimpleJob * special( const KURL& url, const TQByteArray & data, bool showProgressInfo = true );
105 
118  TDEIO_EXPORT SimpleJob *mount( bool ro, const char *fstype, const TQString& dev, const TQString& point, bool showProgressInfo = true );
119 
129  TDEIO_EXPORT SimpleJob *unmount( const TQString & point, bool showProgressInfo = true );
130 
137  TDEIO_EXPORT LocalURLJob *localURL( const KURL& remoteUrl );
138 
148  TDEIO_EXPORT SimpleJob *http_update_cache( const KURL& url, bool no_cache, time_t expireDate);
149 
157  TDEIO_EXPORT StatJob * stat( const KURL& url, bool showProgressInfo = true );
185  TDEIO_EXPORT StatJob * stat( const KURL& url, bool sideIsSource, short int details, bool showProgressInfo = true );
186 
196  TDEIO_EXPORT TransferJob *get( const KURL& url, bool reload=false, bool showProgressInfo = true );
197 
210  TDEIO_EXPORT TransferJob *put( const KURL& url, int permissions,
211  bool overwrite, bool resume, bool showProgressInfo = true );
212 
241  TDEIO_EXPORT TransferJob *http_post( const KURL& url, const TQByteArray &postData,
242  bool showProgressInfo = true );
243 
254  TDEIO_EXPORT StoredTransferJob *storedGet( const KURL& url, bool reload=false, bool showProgressInfo = true );
255 
270  TDEIO_EXPORT StoredTransferJob *storedPut( const TQByteArray& arr, const KURL& url, int permissions,
271  bool overwrite, bool resume, bool showProgressInfo = true );
272 
283  TDEIO_EXPORT MultiGetJob *multi_get( long id, const KURL &url, const MetaData &metaData);
284 
292  TDEIO_EXPORT MimetypeJob * mimetype( const KURL& url,
293  bool showProgressInfo = true );
294 
311  TDEIO_EXPORT FileCopyJob *file_copy( const KURL& src, const KURL& dest, int permissions=-1,
312  bool overwrite=false, bool resume=false,
313  bool showProgressInfo = true);
314 
330  TDEIO_EXPORT FileCopyJob *file_move( const KURL& src, const KURL& dest, int permissions=-1,
331  bool overwrite=false, bool resume=false,
332  bool showProgressInfo = true);
333 
341  TDEIO_EXPORT SimpleJob *file_delete( const KURL& src, bool showProgressInfo = true);
342 
355  TDEIO_EXPORT ListJob *listDir( const KURL& url, bool showProgressInfo = true,
356  bool includeHidden = true );
357 
371  TDEIO_EXPORT ListJob *listRecursive( const KURL& url, bool showProgressInfo = true,
372  bool includeHidden = true );
373 
387  TDEIO_EXPORT CopyJob *copy( const KURL& src, const KURL& dest, bool showProgressInfo = true );
388 
402  TDEIO_EXPORT CopyJob *copyAs( const KURL& src, const KURL& dest, bool showProgressInfo = true );
403 
412  TDEIO_EXPORT CopyJob *copy( const KURL::List& src, const KURL& dest, bool showProgressInfo = true );
413 
424  TDEIO_EXPORT CopyJob *move( const KURL& src, const KURL& dest, bool showProgressInfo = true );
435  TDEIO_EXPORT CopyJob *moveAs( const KURL& src, const KURL& dest, bool showProgressInfo = true );
445  TDEIO_EXPORT CopyJob *move( const KURL::List& src, const KURL& dest, bool showProgressInfo = true );
446 
457  TDEIO_EXPORT CopyJob *link( const KURL& src, const KURL& destDir, bool showProgressInfo = true );
458 
470  TDEIO_EXPORT CopyJob *link( const KURL::List& src, const KURL& destDir, bool showProgressInfo = true );
471 
485  TDEIO_EXPORT CopyJob *linkAs( const KURL& src, const KURL& dest, bool showProgressInfo = true );
486 
497  TDEIO_EXPORT CopyJob *trash( const KURL& src, bool showProgressInfo = true );
498 
508  TDEIO_EXPORT CopyJob *trash( const KURL::List& src, bool showProgressInfo = true );
509 
518  TDEIO_EXPORT DeleteJob *del( const KURL& src, bool shred = false, bool showProgressInfo = true );
519 
528  TDEIO_EXPORT DeleteJob *del( const KURL::List& src, bool shred = false, bool showProgressInfo = true );
529 }
530 
531 #endif
532 

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