00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef __tdeio_paste_h__
00020 #define __tdeio_paste_h__
00021
00022 #include <tqstring.h>
00023 #include <tqmemarray.h>
00024 #include <kurl.h>
00025 class TQWidget;
00026 class TQMimeSource;
00027
00028
00029
00030 namespace TDEIO {
00031 class Job;
00032 class CopyJob;
00033
00045 TDEIO_EXPORT Job *pasteClipboard( const KURL& destURL, bool move = false );
00046
00057 TDEIO_EXPORT void pasteData( const KURL& destURL, const TQByteArray& data );
00058
00069 TDEIO_EXPORT CopyJob *pasteDataAsync( const KURL& destURL, const TQByteArray& data );
00070
00082 TDEIO_EXPORT CopyJob *pasteDataAsync( const KURL& destURL, const TQByteArray& data, const TQString& dialogText );
00083
00084
00103 TDEIO_EXPORT CopyJob* pasteMimeSource( TQMimeSource* data, const KURL& destURL,
00104 const TQString& dialogText, TQWidget* widget,
00105 bool clipboard = false );
00106
00112 TDEIO_EXPORT_DEPRECATED bool isClipboardEmpty();
00113
00122 TDEIO_EXPORT TQString pasteActionText();
00123 }
00124
00125 #endif