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

kio/kio

  • KIO
  • DeleteJob
Signals | Public Member Functions | Protected Slots | Protected Member Functions
KIO::DeleteJob Class Reference

#include <jobclasses.h>

Inheritance diagram for KIO::DeleteJob:
KIO::Job

List of all members.

Signals

void totalFiles (KIO::Job *job, unsigned long files)
void totalDirs (KIO::Job *job, unsigned long dirs)
void processedFiles (KIO::Job *job, unsigned long files)
void processedDirs (KIO::Job *job, unsigned long dirs)
void deleting (KIO::Job *job, const KURL &file)

Public Member Functions

 DeleteJob (const KURL::List &src, bool shred, bool showProgressInfo)
KURL::List urls () const

Protected Slots

void slotStart ()
void slotEntries (KIO::Job *, const KIO::UDSEntryList &list)
virtual void slotResult (KIO::Job *job)
void slotProcessedSize (KIO::Job *, KIO::filesize_t data_size)
void slotReport ()

Protected Member Functions

virtual void virtual_hook (int id, void *data)

Detailed Description

A more complex Job to delete files and directories.

Don't create the job directly, but use KIO::del() instead.

See also:
KIO::del()

Definition at line 1763 of file jobclasses.h.


Constructor & Destructor Documentation

DeleteJob::DeleteJob ( const KURL::List &  src,
bool  shred,
bool  showProgressInfo 
)

Do not create a DeleteJob directly.

Use KIO::del() instead.

Parameters:
srcthe list of URLs to delete
shredtrue to shred (make sure that data is not recoverable)a
showProgressInfotrue to show progress information to the user
See also:
KIO::del()

Definition at line 3963 of file job.cpp.


Member Function Documentation

void KIO::DeleteJob::deleting ( KIO::Job *  job,
const KURL &  file 
) [signal]

Sends the URL of the file that is currently being deleted.

Parameters:
jobthe job that emitted this signal
filethe URL of the file or directory that is being deleted
void KIO::DeleteJob::processedDirs ( KIO::Job *  job,
unsigned long  dirs 
) [signal]

Sends the number of processed directories.

Parameters:
jobthe job that emitted this signal
dirsthe number of processed dirs
void KIO::DeleteJob::processedFiles ( KIO::Job *  job,
unsigned long  files 
) [signal]

Sends the number of processed files.

Parameters:
jobthe job that emitted this signal
filesthe number of processed files
void DeleteJob::slotProcessedSize ( KIO::Job *  ,
KIO::filesize_t  data_size 
) [protected, slot]

Forward signal from subjob.

Definition at line 4229 of file job.cpp.

void DeleteJob::slotResult ( KIO::Job *  job) [protected, virtual, slot]

Called whenever a subjob finishes.

Default implementation checks for errors and propagates to parent job, then calls removeSubjob. Override if you don't want subjobs errors to be propagated.

Parameters:
jobthe subjob
See also:
result()

Reimplemented from KIO::Job.

Definition at line 4258 of file job.cpp.

void KIO::DeleteJob::totalDirs ( KIO::Job *  job,
unsigned long  dirs 
) [signal]

Emitted when the toal number of direcotries is known.

Parameters:
jobthe job that emitted this signal
dirsthe total number of directories
void KIO::DeleteJob::totalFiles ( KIO::Job *  job,
unsigned long  files 
) [signal]

Emitted when the total number of files is known.

Parameters:
jobthe job that emitted this signal
filesthe total number of files
KURL::List KIO::DeleteJob::urls ( ) const [inline]

Returns the list of URLs.

Returns:
the list of URLs.

Definition at line 1782 of file jobclasses.h.


The documentation for this class was generated from the following files:
  • jobclasses.h
  • job.cpp

kio/kio

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

kio/kio

Skip menu "kio/kio"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kio/kio by doxygen 1.7.6.1
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |