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

tdeio/tdeio

  • TDEIO
  • TDEIO::DeleteJob
Signals | Public Member Functions | Protected Slots | Protected Member Functions

TDEIO::DeleteJob Class Reference

A more complex Job to delete files and directories. More...

#include <jobclasses.h>

Inheritance diagram for TDEIO::DeleteJob:
TDEIO::Job TQObject

List of all members.

Signals

void totalFiles (TDEIO::Job *job, unsigned long files)
void totalDirs (TDEIO::Job *job, unsigned long dirs)
void processedFiles (TDEIO::Job *job, unsigned long files)
void processedDirs (TDEIO::Job *job, unsigned long dirs)
void deleting (TDEIO::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 (TDEIO::Job *, const TDEIO::UDSEntryList &list)
virtual void slotResult (TDEIO::Job *job)
void slotProcessedSize (TDEIO::Job *, TDEIO::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 TDEIO::del() instead.

See also:
TDEIO::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 TDEIO::del() instead.

Parameters:
src the list of URLs to delete
shred true to shred (make sure that data is not recoverable)a
showProgressInfo true to show progress information to the user
See also:
TDEIO::del()

Definition at line 3998 of file job.cpp.


Member Function Documentation

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

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

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

Sends the number of processed directories.

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

Sends the number of processed files.

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

Forward signal from subjob.

Definition at line 4264 of file job.cpp.

void DeleteJob::slotResult ( TDEIO::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:
job the subjob
See also:
result()

Reimplemented from TDEIO::Job.

Definition at line 4293 of file job.cpp.

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

Emitted when the toal number of direcotries is known.

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

Emitted when the total number of files is known.

Parameters:
job the job that emitted this signal
files the total number of files
KURL::List TDEIO::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

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