• 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
A namespace for TDEIO globals.
Definition: authinfo.h:29
TDEIO::move
TDEIO_EXPORT CopyJob * move(const KURL &src, const KURL &dest, bool showProgressInfo=true)
Moves a file or directory src to the given destination dest.
Definition: job.cpp:3972
TDEIO::pasteActionText
TDEIO_EXPORT TQString pasteActionText()
Returns the text to use for the Paste action, when the application supports pasting files,...
Definition: paste.cpp:291
TDEIO::pasteMimeSource
TDEIO_EXPORT CopyJob * pasteMimeSource(TQMimeSource *data, const KURL &destURL, const TQString &dialogText, TQWidget *widget, bool clipboard=false)
Save the given mimesource data to the given destination URL after offering the user to choose a data ...
Definition: paste.cpp:164
TDEIO::isClipboardEmpty
TDEIO_EXPORT_DEPRECATED bool isClipboardEmpty()
Checks whether the clipboard contains any URLs.
Definition: paste.cpp:146
TDEIO::pasteDataAsync
TDEIO_EXPORT CopyJob * pasteDataAsync(const KURL &destURL, const TQByteArray &data)
Pastes the given data to the given destination URL.
Definition: paste.cpp:276
TDEIO::pasteData
TDEIO_EXPORT void pasteData(const KURL &destURL, const TQByteArray &data)
Pastes the given data to the given destination URL.
Definition: paste.cpp:259
TDEIO::pasteClipboard
TDEIO_EXPORT Job * pasteClipboard(const KURL &destURL, bool move=false)
Pastes the content of the clipboard to the given destination URL.
Definition: paste.cpp:210

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
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeio/tdeio by doxygen 1.9.1
This website is maintained by Timothy Pearson.