KIO
paste.h
Go to the documentation of this file.
77 KIO_EXPORT CopyJob *pasteDataAsync( const KUrl& destURL, const QByteArray& data, QWidget *widget, const QString& dialogText = QString() );
bool canPasteMimeSource(const QMimeData *data)
Returns true if pasteMimeSource finds any interesting format in data.
Definition: paste.cpp:273
Job * pasteClipboard(const KUrl &destURL, QWidget *widget, bool move=false)
Pastes the content of the clipboard to the given destination URL.
Definition: paste.cpp:315
Job * pasteMimeData(const QMimeData *data, const KUrl &destUrl, const QString &dialogText, QWidget *widget)
Save the given mime data to the given destination URL after offering the user to choose a data format...
Definition: paste.cpp:383
void pasteData(const KUrl &destURL, const QByteArray &data, QWidget *widget)
Pastes the given data to the given destination URL.
Definition: paste.cpp:341
QString pasteActionText()
Returns the text to use for the Paste action, when the application supports pasting files...
Definition: paste.cpp:366
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:2184
CopyJob * pasteMimeSource(const QMimeData *data, const KUrl &destURL, const QString &dialogText, QWidget *widget, bool clipboard=false)
Definition: paste.cpp:230
CopyJob * pasteDataAsync(const KUrl &destURL, const QByteArray &data, QWidget *widget, const QString &dialogText=QString())
Pastes the given data to the given destination URL.
Definition: paste.cpp:352
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:03 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:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.