.TH "KHE::ClipboardInterface" kde3 "11 Jun 2005" "Version Version 3.4.1" "interfaces Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KHE::ClipboardInterface \- A simple interface for interaction with the clipboard.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <clipboardinterface.h>\fP
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "virtual void \fBcopy\fP ()=0"
.br
.ti -1c
.RI "virtual void \fBcut\fP ()=0"
.br
.ti -1c
.RI "virtual void \fBpaste\fP ()=0"
.br
.ti -1c
.RI "virtual void \fBcopyAvailable\fP (bool Really)=0"
.br
.in -1c
.SH "Detailed Description"
.PP 
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 \fBQObject\fP. When connecting to a signal or a slot the class B has to be used, not the interface. 
.PP
Example: 
.PP
.nf
 KHE::ClipboardInterface *Clipboard = KHE::clipboardInterface( BytesEditWidget );
 if( Clipboard )
 {
   // Yes, use BytesEditWidget, not Clipboard, because that's the QObject, indeed hacky...
   connect( BytesEditWidget, SIGNAL(copyAvailable(bool)), this, SLOT(offerCopy(bool)) );
 }

.fi
.PP
.PP
\fBAuthor:\fP
.RS 4
Friedrich W. H. Kossebau <Friedrich.W.H@Kossebau.de> 
.RE
.PP
\fBSee also:\fP
.RS 4
\fBcreateBytesEditWidget()\fP, \fBclipboardInterface()\fP 
.RE
.PP
\fBSince:\fP
.RS 4
3.2 
.RE
.PP

.PP
Definition at line 46 of file khexedit/clipboardinterface.h.
.SH "Member Function Documentation"
.PP 
.SS "virtual void KHE::ClipboardInterface::copy ()\fC [pure virtual]\fP"
.PP
tries to copy. 
.PP
If there is nothing to copy this call is a noop. 
.SS "virtual void KHE::ClipboardInterface::cut ()\fC [pure virtual]\fP"
.PP
tries to cut. 
.PP
If there is nothing to cut this call is a noop. 
.SS "virtual void KHE::ClipboardInterface::paste ()\fC [pure virtual]\fP"
.PP
tries to paste. 
.PP
If there is nothing to paste or paste is not possible this call is a noop. Use \fBBytesEditInterface::isReadOnly()\fP to find out if you can paste at all. 
.SS "virtual void KHE::ClipboardInterface::copyAvailable (bool Really)\fC [pure virtual]\fP"
.PP
signal: tells whether copy is possible or not. 
.PP
Remember to use the created object, not the interface for connecting Use \fBBytesEditInterface::isReadOnly()\fP 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. 

.SH "Author"
.PP 
Generated automatically by Doxygen for interfaces Library from the source code.
