TDEIO::ChmodJob Class Reference
#include <chmodjob.h>
Inheritance diagram for TDEIO::ChmodJob:

Public Member Functions | |
ChmodJob (const KFileItemList &lstItems, int permissions, int mask, int newOwner, int newGroup, bool recursive, bool showProgressInfo) | |
Protected Slots | |
virtual void | slotResult (TDEIO::Job *job) |
void | slotEntries (TDEIO::Job *, const TDEIO::UDSEntryList &) |
void | processList () |
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:
- TDEIO::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 TDEIO::chmod() function.
Definition at line 43 of file chmodjob.cpp.
Member Function Documentation
void ChmodJob::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 200 of file chmodjob.cpp.
The documentation for this class was generated from the following files: