21#include "configinterface.h"
29class PrivateConfigInterface
32 PrivateConfigInterface() {}
33 ~PrivateConfigInterface() {}
40unsigned int ConfigInterface::globalConfigInterfaceNumber = 0;
42ConfigInterface::ConfigInterface()
44 globalConfigInterfaceNumber++;
45 myConfigInterfaceNumber = globalConfigInterfaceNumber++;
47 d =
new PrivateConfigInterface();
50ConfigInterface::~ConfigInterface()
55unsigned int ConfigInterface::configInterfaceNumber ()
const
57 return myConfigInterfaceNumber;
60void ConfigInterface::setConfigInterfaceDCOPSuffix (
const TQCString &)
70 return dynamic_cast<KTextEditor::ConfigInterface*
>(doc);
78 return dynamic_cast<KTextEditor::ConfigInterface*
>(plugin);
This is an interface for accessing the configuration of the Document and Plugin classes.
The main class representing a text document.
Basic KTextEditor plugin class.
KTextEditor is KDE's standard text editing KPart interface.