forwardingslavebase.cpp
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
void finished()
Call to signal successful completion of any command (besides openConnection and closeConnection) ...
Definition: slavebase.cpp:449
A local file path if the ioslave display files sitting on the local filesystem (but in another hierar...
Definition: global.h:337
KIO_EXPORT TransferJob * put(const KURL &url, int permissions, bool overwrite, bool resume, bool showProgressInfo=true)
Put (a.k.a.
Definition: job.cpp:1380
void setMetaData(const KIO::MetaData &metaData)
Set meta data to be sent to the slave, replacing existing meta data.
Definition: job.cpp:400
virtual void del(const KURL &url, bool isfile)
Delete a file or directory.
Definition: forwardingslavebase.cpp:263
virtual void listDir(const KURL &url)
Lists the contents of url.
Definition: forwardingslavebase.cpp:175
A ListJob is allows you to get the get the content of a directory.
Definition: jobclasses.h:1392
virtual void rename(const KURL &src, const KURL &dest, bool overwrite)
Rename oldname into newname.
Definition: forwardingslavebase.cpp:203
virtual void copy(const KURL &src, const KURL &dest, int permissions, bool overwrite)
Copy src into dest.
Definition: forwardingslavebase.cpp:247
A KIO job that retrieves information about a file or directory.
Definition: jobclasses.h:688
KIO_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:1963
void warning(const TQString &msg)
Call to signal a warning, to be displayed in a dialog box.
Definition: slavebase.cpp:614
void totalSize(KIO::filesize_t _bytes)
Call this in get and copy, to give the total size of the file Call in listDir too, when you know the total number of items.
Definition: slavebase.cpp:482
virtual void mimetype(const KURL &url)
Finds mimetype for one file or directory.
Definition: forwardingslavebase.cpp:161
KIO_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:2152
KIO_EXPORT MimetypeJob * mimetype(const KURL &url, bool showProgressInfo=true)
Find mimetype for one file or directory.
Definition: job.cpp:1509
virtual void prepareUDSEntry(KIO::UDSEntry &entry, bool listing=false) const
Allow to modify a UDSEntry before it's sent to the ioslave enpoint.
Definition: forwardingslavebase.cpp:66
void processedSize(KIO::filesize_t _bytes)
Call this during get and copy, once in a while, to give some info about the current state...
Definition: slavebase.cpp:498
void setInteractive(bool enable)
Enable or disable the message display from the job.
Definition: job.cpp:342
TQValueList< UDSAtom > UDSEntry
An entry is the list of atoms containing all the information for a file or URL.
Definition: global.h:506
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...
Definition: chmodjob.cpp:230
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
void statEntry(const UDSEntry &_entry)
Call this from stat() to express details about an object, the UDSEntry customarily contains the atoms...
Definition: slavebase.cpp:647
KIO_EXPORT SimpleJob * rename(const KURL &src, const KURL &dest, bool overwrite)
Rename a file or directory.
Definition: job.cpp:772
void mimeType(const TQString &_type)
Call this in mimetype() and in get(), when you know the mimetype.
Definition: slavebase.cpp:571
virtual void put(const KURL &url, int permissions, bool overwrite, bool resume)
put, i.e.
Definition: forwardingslavebase.cpp:131
virtual void mkdir(const KURL &url, int permissions)
Create a directory.
Definition: forwardingslavebase.cpp:189
KIO_EXPORT StatJob * stat(const KURL &url, bool showProgressInfo=true)
Find all details for one file or directory.
Definition: job.cpp:886
void infoMessage(const TQString &msg)
Call to signal a message, to be displayed if the application wants to, for instance in a status bar...
Definition: slavebase.cpp:620
KIO_EXPORT DeleteJob * del(const KURL &src, bool shred=false, bool showProgressInfo=true)
Delete a file or directory.
Definition: job.cpp:4386
const UDSEntry & statResult() const
Call this in the slot connected to result, and only after making sure no error happened.
Definition: jobclasses.h:727
int readData(TQByteArray &buffer)
Read data send by the job, after a dataReq.
Definition: slavebase.cpp:970
virtual bool rewriteURL(const KURL &url, KURL &newURL)=0
Rewrite an url to it's forwarded counterpart.
void speed(unsigned long _bytes_per_second)
Call this in get and copy, to give the current transfer speed, but only if it can't be calculated out...
Definition: slavebase.cpp:540
const TQString & errorText() const
Returns the error text if there has been an error.
Definition: jobclasses.h:111
KIO_EXPORT SimpleJob * symlink(const TQString &target, const KURL &dest, bool overwrite, bool showProgressInfo=true)
Create or move a symlink.
Definition: job.cpp:779
virtual void stat(const KURL &url)
Finds all details for one file or directory.
Definition: forwardingslavebase.cpp:147
void data(const TQByteArray &data)
Sends data in the slave to the job (i.e.
Definition: slavebase.cpp:409
void redirection(const KURL &_url)
Call this to signal a redirection The job will take care of going to that url.
Definition: slavebase.cpp:548
The transfer job pumps data into and/or out of a Slave.
Definition: jobclasses.h:875
KIO_EXPORT SimpleJob * mkdir(const KURL &url, int permissions=-1)
Creates a single directory.
Definition: job.cpp:751
void listEntries(const UDSEntryList &_entry)
Call this in listDir, each time you have a bunch of entries to report.
Definition: slavebase.cpp:697
KIO_EXPORT TransferJob * get(const KURL &url, bool reload=false, bool showProgressInfo=true)
Get (a.k.a.
Definition: job.cpp:1220
bool canResume(KIO::filesize_t offset)
Call this at the beginning of put(), to give the size of the existing partial file, if there is one.
Definition: slavebase.cpp:920