21 #include "documentinfo.h"
22 #include "documentdcopinfo.h"
27 class PrivateDocumentInfoInterface
30 PrivateDocumentInfoInterface() {
interface = 0;}
31 ~PrivateDocumentInfoInterface() {}
39 unsigned int DocumentInfoInterface::globalDocumentInfoInterfaceNumber = 0;
41 DocumentInfoInterface::DocumentInfoInterface()
43 globalDocumentInfoInterfaceNumber++;
44 myDocumentInfoInterfaceNumber = globalDocumentInfoInterfaceNumber++;
46 d =
new PrivateDocumentInfoInterface();
47 TQString
name =
"DocumentInterface#" + TQString::number(myDocumentInfoInterfaceNumber);
51 DocumentInfoInterface::~DocumentInfoInterface()
57 unsigned int DocumentInfoInterface::documentInfoInterfaceNumber ()
const
59 return myDocumentInfoInterfaceNumber;
62 void DocumentInfoInterface::setDocumentInfoInterfaceDCOPSuffix (
const TQCString &suffix)
64 d->interface->setObjId (
"DocumentInfoInterface#"+suffix);
This is the main interface to the DocumentInfoInterface of KTextEdit.
KTextEditor is KDE's standard text editing KPart interface.
TQString name(StdAccel id)