1 #include "clipboardinterface.h"
2 #include "clipboarddcopinterface.h"
10 class PrivateClipboardInterface
13 PrivateClipboardInterface()
17 ~PrivateClipboardInterface(){}
24 unsigned int ClipboardInterface::globalClipboardInterfaceNumber = 0;
26 ClipboardInterface::ClipboardInterface()
28 d =
new PrivateClipboardInterface();
29 globalClipboardInterfaceNumber++;
30 myClipboardInterfaceNumber = globalClipboardInterfaceNumber++;
31 TQString
name =
"ClipboardInterface#" + TQString::number(myClipboardInterfaceNumber);
34 ClipboardInterface::~ClipboardInterface()
40 unsigned int ClipboardInterface::clipboardInterfaceNumber ()
const
42 return myClipboardInterfaceNumber;
45 void ClipboardInterface::setClipboardInterfaceDCOPSuffix (
const TQCString &suffix)
47 d->interface->setObjId (
"ClipboardInterface#"+suffix);
This is the main interface to the ClipboardInterface of KTextEdit.
This is an interface for accessing the clipboard through the View class.
The View class represents a single view of a Document .
KTextEditor is KDE's standard text editing KPart interface.
TQString name(StdAccel id)