19 #ifndef __kate_pluginconfiginterfaceextension_h__
20 #define __kate_pluginconfiginterfaceextension_h__
24 #include <kicontheme.h>
29 class TDE_EXPORT PluginConfigPage :
public TQWidget
34 PluginConfigPage ( TQWidget *parent=0,
const char *name=0 );
35 virtual ~PluginConfigPage ();
44 virtual void apply () = 0;
49 virtual void reset () = 0;
54 virtual void defaults () = 0;
63 class TDE_EXPORT PluginConfigInterfaceExtension
65 friend class PrivatePluginConfigInterfaceExtension;
68 PluginConfigInterfaceExtension();
69 virtual ~PluginConfigInterfaceExtension();
71 unsigned int pluginConfigInterfaceExtensionNumber ()
const;
80 virtual uint configPages ()
const = 0;
87 virtual PluginConfigPage *configPage (uint number = 0, TQWidget *parent = 0,
const char *name=0 ) = 0;
89 virtual TQString configPageName (uint number = 0)
const = 0;
90 virtual TQString configPageFullName (uint number = 0)
const = 0;
91 virtual TQPixmap configPagePixmap (uint number = 0,
int size = TDEIcon::SizeSmall)
const = 0;
94 class PrivatePluginConfigInterfaceExtension *d;
95 static unsigned int globalPluginConfigInterfaceExtensionNumber;
96 unsigned int myPluginConfigInterfaceExtensionNumber;
100 TDE_EXPORT PluginConfigInterfaceExtension *pluginConfigInterfaceExtension (Plugin *plugin);
Namespace collecting as much of the internal Kate classes as we can manage.