Changeset View
Changeset View
Standalone View
Standalone View
krita/plugins/tools/selectiontools/selection_tools.cc
Show All 30 Lines | |||||
31 | 31 | | |||
32 | #include "kis_tool_select_outline.h" | 32 | #include "kis_tool_select_outline.h" | ||
33 | #include "kis_tool_select_polygonal.h" | 33 | #include "kis_tool_select_polygonal.h" | ||
34 | #include "kis_tool_select_rectangular.h" | 34 | #include "kis_tool_select_rectangular.h" | ||
35 | #include "kis_tool_select_contiguous.h" | 35 | #include "kis_tool_select_contiguous.h" | ||
36 | #include "kis_tool_select_elliptical.h" | 36 | #include "kis_tool_select_elliptical.h" | ||
37 | #include "kis_tool_select_path.h" | 37 | #include "kis_tool_select_path.h" | ||
38 | #include "kis_tool_select_similar.h" | 38 | #include "kis_tool_select_similar.h" | ||
39 | #include "kis_tool_select_magnetic.h" | ||||
39 | 40 | | |||
40 | K_PLUGIN_FACTORY(SelectionToolsFactory, registerPlugin<SelectionTools>();) | 41 | K_PLUGIN_FACTORY(SelectionToolsFactory, registerPlugin<SelectionTools>();) | ||
41 | K_EXPORT_PLUGIN(SelectionToolsFactory("krita")) | 42 | K_EXPORT_PLUGIN(SelectionToolsFactory("krita")) | ||
42 | 43 | | |||
43 | 44 | | |||
44 | SelectionTools::SelectionTools(QObject *parent, const QVariantList &) | 45 | SelectionTools::SelectionTools(QObject *parent, const QVariantList &) | ||
45 | : QObject(parent) | 46 | : QObject(parent) | ||
46 | { | 47 | { | ||
47 | KoToolRegistry * r = KoToolRegistry::instance(); | 48 | KoToolRegistry * r = KoToolRegistry::instance(); | ||
48 | 49 | | |||
49 | r->add(new KisToolSelectOutlineFactory(QStringList())); | 50 | r->add(new KisToolSelectOutlineFactory(QStringList())); | ||
50 | r->add(new KisToolSelectPolygonalFactory(QStringList())); | 51 | r->add(new KisToolSelectPolygonalFactory(QStringList())); | ||
51 | r->add(new KisToolSelectRectangularFactory(QStringList())); | 52 | r->add(new KisToolSelectRectangularFactory(QStringList())); | ||
52 | r->add(new KisToolSelectEllipticalFactory(QStringList())); | 53 | r->add(new KisToolSelectEllipticalFactory(QStringList())); | ||
53 | r->add(new KisToolSelectContiguousFactory(QStringList())); | 54 | r->add(new KisToolSelectContiguousFactory(QStringList())); | ||
54 | r->add(new KisToolSelectPathFactory(QStringList())); | 55 | r->add(new KisToolSelectPathFactory(QStringList())); | ||
55 | r->add(new KisToolSelectSimilarFactory(QStringList())); | 56 | r->add(new KisToolSelectSimilarFactory(QStringList())); | ||
57 | r->add(new KisToolSelectMagneticFactory(QStringList())); | ||||
56 | } | 58 | } | ||
57 | 59 | | |||
58 | SelectionTools::~SelectionTools() | 60 | SelectionTools::~SelectionTools() | ||
59 | { | 61 | { | ||
60 | } | 62 | } | ||
61 | 63 | | |||
62 | #include "selection_tools.moc" | 64 | #include "selection_tools.moc" |