forwardingslavebase.cpp
TDEIO_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...
Definition: chmodjob.cpp:230
A local file path if the ioslave display files sitting on the local filesystem (but in another hierar...
Definition: global.h:338
TQValueList< UDSAtom > UDSEntry
An entry is the list of atoms containing all the information for a file or URL.
Definition: global.h:507
virtual void stat(const KURL &url)
Finds all details for one file or directory.
Definition: forwardingslavebase.cpp:147
virtual void del(const KURL &url, bool isfile)
Delete a file or directory.
Definition: forwardingslavebase.cpp:263
void redirection(TDEIO::Job *job, const KURL &url)
Signals a redirection.
TDEIO_EXPORT FileCopyJob * file_copy(const KURL &src, const KURL &dest, int permissions=-1, bool overwrite=false, bool resume=false, bool showProgressInfo=true)
Copy a single file.
Definition: job.cpp:1998
void totalSize(TDEIO::Job *job, TDEIO::filesize_t size)
Emitted when we know the size of this job (data size for transfers, number of entries for listings)...
void warning(TDEIO::Job *job, const TQString &msg)
Emitted to display a warning about this job, as sent by the slave.
TDEIO_EXPORT DeleteJob * del(const KURL &src, bool shred=false, bool showProgressInfo=true)
Delete a file or directory.
Definition: job.cpp:4421
void mimetype(TDEIO::Job *job, const TQString &type)
Mimetype determined.
virtual void listDir(const KURL &url)
Lists the contents of url.
Definition: forwardingslavebase.cpp:175
A TDEIO job that retrieves information about a file or directory.
Definition: jobclasses.h:688
void setInteractive(bool enable)
Enable or disable the message display from the job.
Definition: job.cpp:342
void processedSize(TDEIO::Job *job, TDEIO::filesize_t size)
Regularly emitted to show the progress of this job (current data size for transfers, entries listed).
void slotTotalSize(TDEIO::filesize_t data_size)
Forward signal from the slave Can also be called by the parent job, when it knows the size...
Definition: job.cpp:651
virtual void localURL(const KURL &remoteURL)
For use with for ForwardingSlaveBase Returns the local URL of the given remote URL if possible...
Definition: slavebase.cpp:816
void speed(TDEIO::Job *job, unsigned long speed)
Emitted to display information about the speed of this job.
void data(TDEIO::Job *job, const TQByteArray &data)
Data from the slave has arrived.
void setMetaData(const TDEIO::MetaData &metaData)
Set meta data to be sent to the slave, replacing existing meta data.
Definition: job.cpp:400
virtual void chmod(const KURL &url, int permissions)
Change permissions on path The slave emits ERR_DOES_NOT_EXIST or ERR_CANNOT_CHMOD.
Definition: forwardingslavebase.cpp:233
TDEIO_EXPORT LocalURLJob * localURL(const KURL &remoteUrl)
Retrieve local URL if available.
Definition: job.cpp:841
virtual void symlink(const TQString &target, const KURL &dest, bool overwrite)
Creates a symbolic link named dest, pointing to target, which may be a relative or an absolute path...
Definition: forwardingslavebase.cpp:218
TDEIO_EXPORT StatJob * stat(const KURL &url, bool showProgressInfo=true)
Find all details for one file or directory.
Definition: job.cpp:921
virtual void rename(const KURL &src, const KURL &dest, bool overwrite)
Rename oldname into newname.
Definition: forwardingslavebase.cpp:203
virtual void prepareUDSEntry(TDEIO::UDSEntry &entry, bool listing=false) const
Allow to modify a UDSEntry before it's sent to the ioslave enpoint.
Definition: forwardingslavebase.cpp:66
virtual void copy(const KURL &src, const KURL &dest, int permissions, bool overwrite)
Copy src into dest.
Definition: forwardingslavebase.cpp:247
TDEIO_EXPORT MimetypeJob * mimetype(const KURL &url, bool showProgressInfo=true)
Find mimetype for one file or directory.
Definition: job.cpp:1544
TDEIO_EXPORT TransferJob * get(const KURL &url, bool reload=false, bool showProgressInfo=true)
Get (a.k.a.
Definition: job.cpp:1255
virtual void mimetype(const KURL &url)
Finds mimetype for one file or directory.
Definition: forwardingslavebase.cpp:161
virtual void mkdir(const KURL &url, int permissions)
Create a directory.
Definition: forwardingslavebase.cpp:189
const UDSEntry & statResult() const
Call this in the slot connected to result, and only after making sure no error happened.
Definition: jobclasses.h:727
TDEIO_EXPORT SimpleJob * symlink(const TQString &target, const KURL &dest, bool overwrite, bool showProgressInfo=true)
Create or move a symlink.
Definition: job.cpp:779
const TQString & errorText() const
Returns the error text if there has been an error.
Definition: jobclasses.h:111
void slotProcessedSize(TDEIO::filesize_t data_size)
Forward signal from the slave.
Definition: job.cpp:660
A ListJob is allows you to get the get the content of a directory.
Definition: jobclasses.h:1392
virtual void put(const KURL &url, int permissions, bool overwrite, bool resume)
put, i.e.
Definition: forwardingslavebase.cpp:131
void result(TDEIO::Job *job)
Emitted when the job is finished, in any case (completed, canceled, failed...).
void slotInfoMessage(const TQString &s)
Called on a slave's info message.
Definition: job.cpp:634
TDEIO_EXPORT TransferJob * put(const KURL &url, int permissions, bool overwrite, bool resume, bool showProgressInfo=true)
Put (a.k.a.
Definition: job.cpp:1415
TDEIO_EXPORT SimpleJob * rename(const KURL &src, const KURL &dest, bool overwrite)
Rename a file or directory.
Definition: job.cpp:772
TDEIO_EXPORT SimpleJob * mkdir(const KURL &url, int permissions=-1)
Creates a single directory.
Definition: job.cpp:751
TDEIO_EXPORT ListJob * listDir(const KURL &url, bool showProgressInfo=true, bool includeHidden=true)
List the contents of url, which is assumed to be a directory.
Definition: job.cpp:2187
The transfer job pumps data into and/or out of a Slave.
Definition: jobclasses.h:875
virtual void localURL(const KURL &remoteURL)
For use with for ForwardingSlaveBase Returns the local URL of the given remote URL if possible...
Definition: forwardingslavebase.cpp:285
void infoMessage(TDEIO::Job *job, const TQString &msg)
Emitted to display information about this job, as sent by the slave.