KHexEdit
#include <clipboardinterface.h>
Public Member Functions | |
virtual | ~ClipboardInterface () |
virtual void | copy ()=0 |
virtual void | copyAvailable (bool Really)=0 |
virtual void | cut ()=0 |
virtual void | paste ()=0 |
Detailed Description
A simple interface for interaction with the clipboard.
This interface enables the interaction with the clipboard. It relies on the possibilities of signal/slot so a class B that implements this interface should be derived from QObject. When connecting to a signal or a slot the class B has to be used, not the interface.
Example:
Definition at line 47 of file clipboardinterface.h.
Constructor & Destructor Documentation
|
inlinevirtual |
Definition at line 50 of file clipboardinterface.h.
Member Function Documentation
|
pure virtual |
tries to copy.
If there is nothing to copy this call is a noop.
|
pure virtual |
signal: tells whether copy is possible or not.
Remember to use the created object, not the interface for connecting Use BytesEditInterface::isReadOnly() to find out if you can also cut As this function symbol serves as a signal, this is a noop. Don't use it for anything else.
|
pure virtual |
tries to cut.
If there is nothing to cut this call is a noop.
|
pure virtual |
tries to paste.
If there is nothing to paste or paste is not possible this call is a noop. Use BytesEditInterface::isReadOnly() to find out if you can paste at all.
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:27:06 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.