Commit a03c4dbc authored by Thomas Zander's avatar Thomas Zander

Add api dox; I was wondering why I could not find the class in the

online docs ;)  Too many classes undocumented that this one got lost...

svn path=/trunk/koffice/; revision=565481
parent ac9b0638
......@@ -60,4 +60,4 @@ private:
static KoShapeRegistry *m_singleton;
};
#endif // FLAKESHAPES_H
#endif
......@@ -26,12 +26,21 @@
#include <KoToolFactory.h>
#include <koffice_export.h>
/**
* This singleton class keeps a register of all available flake tools,
* or rather, of the factories that the KoToolBox (and KoToolManager) will use
* to create flake tools.
*/
class KOFFICEUI_EXPORT KoToolRegistry : public QObject, public KoGenericRegistry<KoToolFactory*> {
Q_OBJECT
public:
virtual ~KoToolRegistry();
/**
* Return an instance of the KoToolRegistry
* Create a new instance on first call and return the singleton.
*/
static KoToolRegistry* instance();
private:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment