KIO
forwardingslavebase.cpp
Go to the documentation of this file.
An alternative URL (If different from the caption).
Definition: udsentry.h:190
bool kill(KillVerbosity verbosity=Quietly)
virtual void listDir(const KUrl &url)
Lists the contents of url.
Definition: forwardingslavebase.cpp:242
When set, automatically overwrite the destination if it exists already.
Definition: jobclasses.h:67
TransferJob * put(const KUrl &url, int permissions, JobFlags flags=DefaultFlags)
Put (a.k.a.
Definition: job.cpp:1716
void setMetaData(const KIO::MetaData &metaData)
Set meta data to be sent to the slave, replacing existing meta data.
Definition: job.cpp:258
virtual void copy(const KUrl &src, const KUrl &dest, int permissions, JobFlags flags)
Copy src into dest.
Definition: forwardingslavebase.cpp:356
void setUiDelegate(KJobUiDelegate *delegate)
KUrl requestedUrl() const
Return the URL asked to the ioslave Only access it inside prepareUDSEntry()
Definition: forwardingslavebase.cpp:163
Definition: global.h:199
A ListJob is allows you to get the get the content of a directory.
Definition: jobclasses.h:936
void insert(uint field, const QString &value)
insert field with numeric value
Definition: udsentry.cpp:94
MimetypeJob * mimetype(const KUrl &url, JobFlags flags=DefaultFlags)
Find mimetype for one file or directory.
Definition: job.cpp:1872
SimpleJob * mkdir(const KUrl &url, int permissions=-1)
Creates a single directory.
Definition: job.cpp:697
TransferJob * get(const KUrl &url, LoadType reload=NoReload, JobFlags flags=DefaultFlags)
Get (a.k.a.
Definition: job.cpp:1371
const char * name(StandardAction id)
StatJob * stat(const KUrl &url, JobFlags flags=DefaultFlags)
Find all details for one file or directory.
Definition: job.cpp:924
virtual ~ForwardingSlaveBase()
Definition: forwardingslavebase.cpp:82
A KIO job that retrieves information about a file or directory.
Definition: jobclasses.h:440
QString toLocalFile(AdjustPathOption trailing=LeaveTrailingSlash) const
A local file path if the ioslave display files sitting on the local filesystem (but in another hierar...
Definition: udsentry.h:166
static QDebug kDebug(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
ListJob * listDir(const KUrl &url, JobFlags flags=DefaultFlags, bool includeHidden=true)
List the contents of url, which is assumed to be a directory.
Definition: job.cpp:2739
virtual void del(const KUrl &url, bool isfile)
Delete a file or directory.
Definition: forwardingslavebase.cpp:381
virtual void prepareUDSEntry(KIO::UDSEntry &entry, bool listing=false) const
Allow to modify a UDSEntry before it's sent to the ioslave endpoint.
Definition: forwardingslavebase.cpp:105
void addPath(const QString &txt)
FileCopyJob * file_copy(const KUrl &src, const KUrl &dest, int permissions=-1, JobFlags flags=DefaultFlags)
Copy a single file.
Definition: job.cpp:2489
There are two classes that specifies the protocol between application (job) and kioslave.
Definition: slavebase.h:50
SimpleJob * rename(const KUrl &src, const KUrl &dest, JobFlags flags=DefaultFlags)
Rename a file or directory.
Definition: job.cpp:731
QString protocol() const
ForwardingSlaveBase(const QByteArray &protocol, const QByteArray &poolSocket, const QByteArray &appSocket)
Definition: forwardingslavebase.cpp:73
virtual void rename(const KUrl &src, const KUrl &dest, JobFlags flags)
Rename oldname into newname.
Definition: forwardingslavebase.cpp:278
virtual void mkdir(const KUrl &url, int permissions)
Create a directory.
Definition: forwardingslavebase.cpp:260
SimpleJob * symlink(const QString &target, const KUrl &dest, JobFlags flags=DefaultFlags)
Create or move a symlink.
Definition: job.cpp:738
ChmodJob * chmod(const KFileItemList &lstItems, int permissions, int mask, const QString &newOwner, const QString &newGroup, bool recursive, JobFlags flags=DefaultFlags)
Creates a job that changes permissions/ownership on several files or directories, optionally recursiv...
Definition: chmodjob.cpp:268
KUrl processedUrl() const
Return the URL being processed by the ioslave Only access it inside prepareUDSEntry() ...
Definition: forwardingslavebase.cpp:158
SimpleJob * setModificationTime(const KUrl &url, const QDateTime &mtime)
Changes the modification time on a file or directory.
Definition: job.cpp:724
virtual void setModificationTime(const KUrl &url, const QDateTime &mtime)
Sets the modification time for For instance this is what CopyJob uses to set mtime on dirs at the en...
Definition: forwardingslavebase.cpp:338
DeleteJob * del(const KUrl &src, JobFlags flags=DefaultFlags)
Delete a file or directory.
Definition: deletejob.cpp:492
virtual void stat(const KUrl &url)
Finds all details for one file or directory.
Definition: forwardingslavebase.cpp:206
virtual void chmod(const KUrl &url, int permissions)
Change permissions on url The slave emits ERR_DOES_NOT_EXIST or ERR_CANNOT_CHMOD. ...
Definition: forwardingslavebase.cpp:320
QString fileName(const DirectoryOptions &options=IgnoreTrailingSlash) const
virtual void mimetype(const KUrl &url)
Finds mimetype for one file or directory.
Definition: forwardingslavebase.cpp:224
Filename - as displayed in directory listings etc.
Definition: udsentry.h:163
Definition: job.h:29
virtual void put(const KUrl &url, int permissions, JobFlags flags)
put, i.e.
Definition: forwardingslavebase.cpp:186
QString url(AdjustPathOption trailing=LeaveTrailingSlash) const
A mime type; the slave should set it if it's known.
Definition: udsentry.h:192
Definition: global.h:205
The transfer job pumps data into and/or out of a Slave.
Definition: jobclasses.h:555
const KShortcut & end()
QString prettyUrl(AdjustPathOption trailing=LeaveTrailingSlash) const
virtual void symlink(const QString &target, const KUrl &dest, JobFlags flags)
Creates a symbolic link named dest, pointing to target, which may be a relative or an absolute path...
Definition: forwardingslavebase.cpp:301
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:01 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:01 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.