• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • interfaces
 

interfaces

  • interfaces
  • khexedit
khexedit/clipboardinterface.h
1/***************************************************************************
2 clipboardinterface.h - description
3 -------------------
4 begin : Sat Sep 13 2003
5 copyright : (C) 2003 by Friedrich W. H. Kossebau
6 email : Friedrich.W.H@Kossebau.de
7 ***************************************************************************/
8
9/***************************************************************************
10 * *
11 * This library is free software; you can redistribute it and/or *
12 * modify it under the terms of the GNU Library General Public *
13 * License version 2 as published by the Free Software Foundation. *
14 * *
15 ***************************************************************************/
16
17
18#ifndef CLIPBOARDINTERFACE_H
19#define CLIPBOARDINTERFACE_H
20
21namespace KHE
22{
23
46class ClipboardInterface
47{
48 public: // slots
50 virtual void copy() = 0;
52 virtual void cut() = 0;
57 virtual void paste() = 0;
58
59 public: // signals
66 virtual void copyAvailable( bool Really ) = 0;
67};
68
69
75template<class T>
76ClipboardInterface *clipboardInterface( T *t )
77{
78 if( !t )
79 return 0;
80
81 return ::tqt_cast<KHE::ClipboardInterface*>( t );
82}
83
84}
85
86#endif
KHE::ClipboardInterface
A simple interface for interaction with the clipboard.
Definition: khexedit/clipboardinterface.h:47
KHE::ClipboardInterface::cut
virtual void cut()=0
tries to cut.
KHE::ClipboardInterface::copy
virtual void copy()=0
tries to copy.
KHE::ClipboardInterface::paste
virtual void paste()=0
tries to paste.
KHE::ClipboardInterface::copyAvailable
virtual void copyAvailable(bool Really)=0
signal: tells whether copy is possible or not.
KHE
KHE (short for KHexEdit) is KDE's namespace for all things related to the viewing/editing of bytes.
Definition: byteseditinterface.h:33
KHE::clipboardInterface
ClipboardInterface * clipboardInterface(T *t)
tries to get the clipboard interface of t
Definition: khexedit/clipboardinterface.h:76

interfaces

Skip menu "interfaces"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

interfaces

Skip menu "interfaces"
  • 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 interfaces by doxygen 1.9.4
This website is maintained by Timothy Pearson.