21#include "wordwrapinterface.h"
28class PrivateWordWrapInterface
31 PrivateWordWrapInterface() {}
32 ~PrivateWordWrapInterface() {}
39unsigned int WordWrapInterface::globalWordWrapInterfaceNumber = 0;
41WordWrapInterface::WordWrapInterface()
43 globalWordWrapInterfaceNumber++;
44 myWordWrapInterfaceNumber = globalWordWrapInterfaceNumber++;
46 d =
new PrivateWordWrapInterface();
49WordWrapInterface::~WordWrapInterface()
54unsigned int WordWrapInterface::wordWrapInterfaceNumber ()
const
56 return myWordWrapInterfaceNumber;
59void WordWrapInterface::setWordWrapInterfaceDCOPSuffix (
const TQCString &)
69 return dynamic_cast<KTextEditor::WordWrapInterface*
>(doc);
The main class representing a text document.
This is an interface to control fixed-column word-wrapping of a Document.
KTextEditor is KDE's standard text editing KPart interface.