KIO
copyjob.h
Go to the documentation of this file.
320 KIO_EXPORT CopyJob *copy( const KUrl::List& src, const KUrl& dest, JobFlags flags = DefaultFlags );
362 KIO_EXPORT CopyJob *move( const KUrl::List& src, const KUrl& dest, JobFlags flags = DefaultFlags );
374 KIO_EXPORT CopyJob *link( const KUrl& src, const KUrl& destDir, JobFlags flags = DefaultFlags );
387 KIO_EXPORT CopyJob *link( const KUrl::List& src, const KUrl& destDir, JobFlags flags = DefaultFlags );
void linking(KIO::Job *job, const QString &target, const KUrl &to)
void copying(KIO::Job *job, const KUrl &src, const KUrl &dest)
void totalDirs(KJob *job, unsigned long dirs)
Emitted when the toal number of direcotries is known.
void copyingDone(KIO::Job *job, const KUrl &from, const KUrl &to, time_t mtime, bool directory, bool renamed)
void aboutToCreate(KIO::Job *job, const QList< KIO::CopyInfo > &files)
Emitted when it is known which files / directories are going to be created.
void copyingLinkDone(KIO::Job *job, const KUrl &from, const QString &target, const KUrl &to)
void renamed(KIO::Job *job, const KUrl &from, const KUrl &to)
void totalFiles(KJob *job, unsigned long files)
Emitted when the total number of files is known.
void moving(KIO::Job *job, const KUrl &from, const KUrl &to)
void processedDirs(KIO::Job *job, unsigned long dirs)
Sends the number of processed directories.
void creatingDir(KIO::Job *job, const KUrl &dir)
void processedFiles(KIO::Job *job, unsigned long files)
Sends the number of processed files.
A ListJob is allows you to get the get the content of a directory.
Definition jobclasses.h:936
KJob(QObject *parent=0)
CopyJob * move(const KUrl &src, const KUrl &dest, JobFlags flags=DefaultFlags)
Moves a file or directory src to the given destination dest.
Definition copyjob.cpp:2186
CopyJob * trash(const KUrl &src, JobFlags flags=DefaultFlags)
Trash a file or directory.
Definition copyjob.cpp:2233
CopyJob * link(const KUrl &src, const KUrl &destDir, JobFlags flags=DefaultFlags)
Create a link.
Definition copyjob.cpp:2214
CopyJob * moveAs(const KUrl &src, const KUrl &dest, JobFlags flags=DefaultFlags)
Moves a file or directory src to the given destination dest.
Definition copyjob.cpp:2196
CopyJob * linkAs(const KUrl &src, const KUrl &dest, JobFlags flags=DefaultFlags)
Create a link.
Definition copyjob.cpp:2226
CopyJob * copy(const KUrl &src, const KUrl &dest, JobFlags flags=DefaultFlags)
Copy a file or directory src into the destination dest, which can be a file (including the final file...
Definition copyjob.cpp:2164
QList< UDSEntry > UDSEntryList
A directory listing is a list of UDSEntry instances.
Definition udsentry.h:294
CopyJob * copyAs(const KUrl &src, const KUrl &dest, JobFlags flags=DefaultFlags)
Copy a file or directory src into the destination dest, which is the destination name in any case,...
Definition copyjob.cpp:2172
Definition copyjob.h:42
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.