KIO
chmodjob.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef KIO_CHMODJOB_H
00022 #define KIO_CHMODJOB_H
00023
00024 #include <kurl.h>
00025 #include "global.h"
00026 #include "job.h"
00027 #include <kfileitem.h>
00028
00029 #include <QtCore/QLinkedList>
00030
00031 namespace KIO {
00032
00033 class ChmodJobPrivate;
00039 class KIO_EXPORT ChmodJob : public KIO::Job
00040 {
00041 Q_OBJECT
00042 public:
00043 virtual ~ChmodJob();
00044
00045 protected Q_SLOTS:
00046 virtual void slotResult( KJob *job );
00047
00048 protected:
00049 ChmodJob(ChmodJobPrivate &dd);
00050
00051 private:
00052 Q_PRIVATE_SLOT(d_func(), void _k_slotEntries( KIO::Job * , const KIO::UDSEntryList & ))
00053 Q_PRIVATE_SLOT(d_func(), void _k_processList())
00054 Q_DECLARE_PRIVATE(ChmodJob)
00055 };
00056
00057
00082 KIO_EXPORT ChmodJob * chmod( const KFileItemList& lstItems, int permissions, int mask,
00083 const QString& newOwner, const QString& newGroup,
00084 bool recursive, JobFlags flags = DefaultFlags );
00085
00086 }
00087
00088 #endif