21 #ifndef __tdeio_chmodjob_h__
22 #define __tdeio_chmodjob_h__
27 #include <tdeio/global.h>
28 #include <tdeio/job.h>
29 #include <tdefileitem.h>
45 ChmodJob(
const KFileItemList & lstItems,
int permissions,
int mask,
46 int newOwner,
int newGroup,
47 bool recursive,
bool showProgressInfo );
55 void slotEntries(
TDEIO::Job * ,
const TDEIO::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 TDEIO_EXPORT
ChmodJob *
chmod(
const KFileItemList& lstItems,
int permissions,
int mask,
104 TQString newOwner, TQString newGroup,
105 bool recursive,
bool showProgressInfo =
true );