21 #ifndef __kio_chmodjob_h__
22 #define __kio_chmodjob_h__
27 #include <kio/global.h>
29 #include <kfileitem.h>
45 ChmodJob(
const KFileItemList & lstItems,
int permissions,
int mask,
46 int newOwner,
int newGroup,
47 bool recursive,
bool showProgressInfo );
54 virtual void slotResult(
KIO::Job *job );
55 void slotEntries(
KIO::Job * ,
const KIO::UDSEntryList & );
64 enum { STATE_LISTING, STATE_CHMODING } state;
70 KFileItemList m_lstItems;
71 TQValueList<ChmodInfo> m_infos;
73 virtual void virtual_hook(
int id,
void* data );
75 class ChmodJobPrivate* d;
103 KIO_EXPORT
ChmodJob *
chmod(
const KFileItemList& lstItems,
int permissions,
int mask,
104 TQString newOwner, TQString newGroup,
105 bool recursive,
bool showProgressInfo =
true );
This job changes permissions on a list of files or directories, optionally in a recursive manner.
The base class for all jobs.
A namespace for KIO globals.
KIO_EXPORT ChmodJob * chmod(const KFileItemList &lstItems, int permissions, int mask, TQString newOwner, TQString newGroup, bool recursive, bool showProgressInfo=true)
Creates a job that changes permissions/ownership on several files or directories, optionally recursiv...