19 #ifndef __tdetexteditor_plugin_h__
20 #define __tdetexteditor_plugin_h__
24 #include <tdelibs_export.h>
36 class KTEXTEDITOR_EXPORT
Plugin :
public TQObject
38 friend class PrivatePlugin;
46 unsigned int pluginNumber ()
const;
51 class PrivatePlugin *d;
52 static unsigned int globalPluginNumber;
53 unsigned int myPluginNumber;
56 KTEXTEDITOR_EXPORT
Plugin *createPlugin (
const char* libname,
Document *document = 0,
const char *name = 0 );
64 friend class PrivatePluginViewInterface;
70 unsigned int pluginViewInterfaceNumber ()
const;
75 virtual void addView (
View *) = 0;
76 virtual void removeView (
View *) = 0;
79 class PrivatePluginViewInterface *d;
80 static unsigned int globalPluginViewInterfaceNumber;
81 unsigned int myPluginViewInterfaceNumber;
The View class represents a single view of a Document .
KTextEditor is KDE's standard text editing KPart interface.
Basic KTextEditor plugin class.
The main class representing a text document.