kis_tool_registry.cpp
51 KParts::ComponentFactory::createInstanceFromService<KParts::Plugin> ( service, this, 0, TQStringList(), &errCode);
55 kdDebug(41006) << "found plugin " << service->property("Name").toString() << ", " << errCode << "\n";
58 kdWarning(41006) << " Error loading plugin was : ErrNoLibrary " << KLibLoader::self()->lastErrorMessage() << endl;
103KisTool * KisToolRegistry::createTool(TDEActionCollection * ac, KisCanvasSubject * subject, KisID & id) const
virtual void attach(KisCanvasObserver *observer)=0
From now on, the observer will be notified of changes in brush, foreground color, background color,...
virtual void notifyObservers()=0
Calling this method will notify all observers.
KisIDList listKeys() const
This function return a list of all the keys.
Definition kis_generic_registry.h:147
KisToolFactorySP get(const KisID &name) const
This function allow to get an object from its KisID.
Definition kis_generic_registry.h:92
A registry, similar to the tool and colormodel registry where new tool plugins can register themselve...
Definition kis_tool_registry.h:38
