KIO
clipboardupdater.cpp
Go to the documentation of this file.
const QMimeData * mimeData(Mode mode) const
void populateMimeData(QMimeData *mimeData, const KUrl::MetaDataMap &metaData=MetaDataMap(), MimeDataFlags flags=DefaultMimeDataFlags) const
Type type()
Updates the clipboard when it is affected by KIO operations.
Definition: clipboardupdater_p.h:49
int indexOf(const T &value, int from) const
static void overwriteUrlsInClipboard(KJob *job)
Definition: clipboardupdater.cpp:37
void addPath(const QString &txt)
void append(const T &value)
QClipboard * clipboard()
static KUrl::List fromMimeData(const QMimeData *mimeData, KUrl::MetaDataMap *metaData=0)
bool isEmpty() const
int removeAll(const T &value)
void setMimeData(QMimeData *src, Mode mode)
static void removeUrlsFromClipboard(KJob *job)
Definition: clipboardupdater.cpp:101
static ClipboardUpdater * create(Job *job, Mode mode)
Returns an instance of clipboard updater if QApplication::type() does not return a tty...
Definition: clipboardupdater.cpp:162
static void update(const KUrl &srcUrl, const KUrl &destUrl)
Convenience function that allows renaming of a single url in the clipboard.
Definition: clipboardupdater.cpp:171
bool hasUrls() const
QString fileName(const DirectoryOptions &options=IgnoreTrailingSlash) const
static void updateUrlsInClipboard(KJob *job)
Definition: clipboardupdater.cpp:63
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
CopyJob is used to move, copy or symlink files and directories.
Definition: copyjob.h:65
void replace(int i, const T &value)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:52 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:52 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.