• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kio

KIO::ChmodJob

KIO::ChmodJob Class Reference

This job changes permissions on a list of files or directories, optionally in a recursive manner. More...

#include <chmodjob.h>

Inheritance diagram for KIO::ChmodJob:

Inheritance graph
[legend]

List of all members.


Public Member Functions

 ChmodJob (const KFileItemList &lstItems, int permissions, int mask, int newOwner, int newGroup, bool recursive, bool showProgressInfo)

Protected Slots

void processList ()
void slotEntries (KIO::Job *, const KIO::UDSEntryList &)
virtual void slotResult (KIO::Job *job)

Protected Member Functions

void chmodNextFile ()
virtual void virtual_hook (int id, void *data)

Detailed Description

This job changes permissions on a list of files or directories, optionally in a recursive manner.

See also:
KIO::chmod()

Definition at line 38 of file chmodjob.h.


Constructor & Destructor Documentation

ChmodJob::ChmodJob ( const KFileItemList &  lstItems,
int  permissions,
int  mask,
int  newOwner,
int  newGroup,
bool  recursive,
bool  showProgressInfo 
)

Create new ChmodJobs using the KIO::chmod() function.

Definition at line 43 of file chmodjob.cpp.


Member Function Documentation

void ChmodJob::chmodNextFile (  )  [protected]

Definition at line 160 of file chmodjob.cpp.

void ChmodJob::processList (  )  [protected, slot]

Definition at line 54 of file chmodjob.cpp.

void ChmodJob::slotEntries ( KIO::Job *  ,
const KIO::UDSEntryList &  list 
) [protected, slot]

Definition at line 96 of file chmodjob.cpp.

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

Reimplemented from KIO::Job.

Definition at line 200 of file chmodjob.cpp.

void ChmodJob::virtual_hook ( int  id,
void *  data 
) [protected, virtual]

Reimplemented from KIO::Job.

Definition at line 255 of file chmodjob.cpp.


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

kio

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

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal