Skip to content
Skip to link menu
Trinity API Reference
Trinity API Reference
tdeio/tdeio
tdeio/tdeio
tdeio
tdeio
paste.h
1
/* This file is part of the KDE libraries
2
Copyright (C) 2000-2005 David Faure <faure@kde.org>
3
4
This library is free software; you can redistribute it and/or
5
modify it under the terms of the GNU Library General Public
6
License version 2 as published by the Free Software Foundation.
7
8
This library is distributed in the hope that it will be useful,
9
but WITHOUT ANY WARRANTY; without even the implied warranty of
10
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
Library General Public License for more details.
12
13
You should have received a copy of the GNU Library General Public License
14
along with this library; see the file COPYING.LIB. If not, write to
15
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
16
Boston, MA 02110-1301, USA.
17
*/
18
19
#ifndef __tdeio_paste_h__
20
#define __tdeio_paste_h__
21
22
#include <tqstring.h>
23
#include <tqmemarray.h>
24
#include <kurl.h>
25
class
TQWidget;
26
class
TQMimeSource;
27
28
// KDE4 TODO pass a parent widget to all methods that will display a message box
29
30
namespace
TDEIO {
31
class
Job;
32
class
CopyJob;
33
45
TDEIO_EXPORT Job *
pasteClipboard
(
const
KURL& destURL,
bool
move
=
false
);
46
57
TDEIO_EXPORT
void
pasteData
(
const
KURL& destURL,
const
TQByteArray& data );
58
69
TDEIO_EXPORT CopyJob *
pasteDataAsync
(
const
KURL& destURL,
const
TQByteArray& data );
70
82
TDEIO_EXPORT CopyJob *
pasteDataAsync
(
const
KURL& destURL,
const
TQByteArray& data,
const
TQString& dialogText );
// KDE4: merge with above
83
84
103
TDEIO_EXPORT CopyJob*
pasteMimeSource
( TQMimeSource* data,
const
KURL& destURL,
104
const
TQString& dialogText, TQWidget* widget,
105
bool
clipboard =
false
);
106
112
TDEIO_EXPORT_DEPRECATED
bool
isClipboardEmpty
();
113
122
TDEIO_EXPORT TQString
pasteActionText
();
123
}
124
125
#endif
tdeio/tdeio
Skip menu "tdeio/tdeio"
Main Page
Modules
Namespace List
Class Hierarchy
Alphabetical List
Class List
File List
Namespace Members
Class Members
Related Pages
tdeio/tdeio
Skip menu "tdeio/tdeio"
arts
dcop
dnssd
interfaces
kspeech
interface
library
tdetexteditor
kate
kded
kdoctools
kimgio
kjs
libtdemid
libtdescreensaver
tdecore
tdeabc
tdecmshell
tdecore
tdefx
tdehtml
tdeinit
tdeio
bookmarks
httpfilter
kpasswdserver
kssl
tdeioslave
http
tdefile
tdeio
tdeioexec
tdemdi
tdemdi
tdenewstuff
tdeparts
tdeprint
tderandr
tderesources
tdespell2
tdesu
tdeui
tdeunittest
tdeutils
tdewallet