33 #include "resourcelocal.h"
34 #include "resourcelocalconfig.h"
37 class LocalNotesFactory
38 : public KRES::PluginFactoryBase
41 KRES::Resource *resource( const TDEConfig *config )
43 return new ResourceLocal( config );
46 KRES::ConfigWidget *configWidget( TQWidget *parent )
48 return new ResourceLocalConfig(parent);
54 void *init_knotes_local()
56 return new LocalNotesFactory();
59 KRES::ConfigWidget *config_widget( TQWidget* parent )
61 return new ResourceLocalConfig( parent, "Configure Local Resource" );
64 KRES::Resource *resource( const TDEConfig* config )
66 return new ResourceLocal( config );
|