KIO
paste.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef KIO_PASTE_H
00020 #define KIO_PASTE_H
00021
00022 #include <kio/kio_export.h>
00023 #include <QtCore/QString>
00024 #include <kurl.h>
00025 class QWidget;
00026 class QMimeSource;
00027
00028 namespace KIO {
00029 class Job;
00030 class CopyJob;
00031
00044 KIO_EXPORT Job *pasteClipboard( const KUrl& destURL, QWidget* widget, bool move = false );
00045
00057 KIO_EXPORT void pasteData( const KUrl& destURL, const QByteArray& data, QWidget* widget );
00058
00059
00071 KIO_EXPORT CopyJob *pasteDataAsync( const KUrl& destURL, const QByteArray& data, QWidget *widget, const QString& dialogText = QString() );
00072
00073
00090 KIO_EXPORT CopyJob* pasteMimeSource( const QMimeData* data, const KUrl& destURL,
00091 const QString& dialogText, QWidget* widget,
00092 bool clipboard = false );
00093
00094
00101 KIO_EXPORT QString pasteActionText();
00102 }
00103
00104 #endif