job.h Source File (kio Library)

| # kio Library API Documentation
Overview | Class Hierarchy | Classes | Classes (annotated) | Members | Source Files

# job.h

    00001 // -*- c++ -*-
    00002 /* This file is part of the KDE libraries
    00003     Copyright (C) 2000 Stephan Kulow <coolo@kde.org>
    00004                        David Faure <faure@kde.org>
    00005
    00006     This library is free software; you can redistribute it and/or
    00007     modify it under the terms of the GNU Library General Public
    00008     License as published by the Free Software Foundation; either
    00009     version 2 of the License, or (at your option) any later version.
    00010
    00011     This library is distributed in the hope that it will be useful,
    00012     but WITHOUT ANY WARRANTY; without even the implied warranty of
    00013     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    00014     Library General Public License for more details.
    00015
    00016     You should have received a copy of the GNU Library General Public License
    00017     along with this library; see the file COPYING.LIB.  If not, write to
    00018     the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    00019     Boston, MA 02111-1307, USA.
    00020 */
    00021
    00022 #ifndef __kio_job_h__
    00023 #define __kio_job_h__
    00024
    00025 #include <kio/jobclasses.h>
    00026
    00027 namespace KIO {
    00028
    00029
    00040     SimpleJob * mkdir( const KURL& url, int permissions = -1 );
    00041
    00052     SimpleJob * rmdir( const KURL& url );
    00053
    00063     SimpleJob * chmod( const KURL& url, int permissions );
    00064
    00076     SimpleJob * rename( const KURL& src, const KURL & dest, bool overwrite );
    00077
    00088     SimpleJob * symlink( const QString & target, const KURL& dest, bool overwrite, bool showProgressInfo = true );
    00089
    00100     SimpleJob * special( const KURL& url, const QByteArray & data, bool showProgressInfo = true );
    00101
    00112     SimpleJob *mount( bool ro, const char *fstype, const QString& dev, const QString& point, bool showProgressInfo = true );
    00113
    00121     SimpleJob *unmount( const QString & point, bool showProgressInfo = true );
    00122
    00131     SimpleJob *http_update_cache( const KURL& url, bool no_cache, time_t expireDate);
    00132
    00136     StatJob * stat( const KURL& url, bool showProgressInfo = true );
    00151     StatJob * stat( const KURL& url, bool sideIsSource, short int details, bool showProgressInfo = true );
    00152
    00158     TransferJob *get( const KURL& url, bool reload=false, bool showProgressInfo = true );
    00159
    00168     TransferJob *put( const KURL& url, int permissions,
    00169                       bool overwrite, bool resume, bool showProgressInfo = true );
    00170
    00198     TransferJob *http_post( const KURL& url, const QByteArray &postData,
    00199                             bool showProgressInfo = true );
    00200
    00201     MultiGetJob *multi_get( long id, const KURL &url, const MetaData &metaData);
    00202
    00206     MimetypeJob * mimetype( const KURL& url,
    00207                             bool showProgressInfo = true );
    00208
    00220     FileCopyJob *file_copy( const KURL& src, const KURL& dest, int permissions=-1,
    00221                             bool overwrite=false, bool resume=false,
    00222                             bool showProgressInfo = true);
    00223
    00235     FileCopyJob *file_move( const KURL& src, const KURL& dest, int permissions=-1,
    00236                             bool overwrite=false, bool resume=false,
    00237                             bool showProgressInfo = true);
    00238
    00244     SimpleJob *file_delete( const KURL& src, bool showProgressInfo = true);
    00245
    00254     ListJob *listDir( const KURL& url, bool showProgressInfo = true,
    00255                       bool includeHidden = true );
    00256
    00266     ListJob *listRecursive( const KURL& url, bool showProgressInfo = true,
    00267                             bool includeHidden = true );
    00268
    00276     CopyJob *copy( const KURL& src, const KURL& dest, bool showProgressInfo = true );
    00285     CopyJob *copyAs( const KURL& src, const KURL& dest, bool showProgressInfo = true );
    00286
    00290     CopyJob *copy( const KURL::List& src, const KURL& dest, bool showProgressInfo = true );
    00291
    00295     CopyJob *move( const KURL& src, const KURL& dest, bool showProgressInfo = true );
    00299     CopyJob *moveAs( const KURL& src, const KURL& dest, bool showProgressInfo = true );
    00303     CopyJob *move( const KURL::List& src, const KURL& dest, bool showProgressInfo = true );
    00304
    00313     CopyJob *link( const KURL& src, const KURL& destDir, bool showProgressInfo = true );
    00314
    00318     CopyJob *link( const KURL::List& src, const KURL& destDir, bool showProgressInfo = true );
    00319
    00323     CopyJob *linkAs( const KURL& src, const KURL& dest, bool showProgressInfo = true );
    00324
    00332     DeleteJob *del( const KURL& src, bool shred = false, bool showProgressInfo = true );
    00333     DeleteJob *del( const KURL::List& src, bool shred = false, bool showProgressInfo = true );
    00334 }
    00335
    00336 #endif
    00337

This file is part of the documentation for kdelibs Version 3.1.5.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Wed Jan 28 13:13:02 2004 by doxygen 1.3.4 written by Dimitri van Heesch, © 1997-2001