Krita Source Code Documentation
Loading...
Searching...
No Matches
DefaultToolFactory.h
Go to the documentation of this file.
1/* This file is part of the KDE project
2 *
3 * SPDX-FileCopyrightText: 2006-2007 Thomas Zander <zander@kde.org>
4 *
5 * SPDX-License-Identifier: LGPL-2.0-or-later
6 */
7
8#ifndef DEFAULTTOOLFACTORY_H
9#define DEFAULTTOOLFACTORY_H
10
11#include <KoToolFactoryBase.h>
12
15{
16public:
19 DefaultToolFactory(const QString &id);
20 ~DefaultToolFactory() override;
21
24};
25#endif
Factory for the KoInteractionTool.
DefaultToolFactory()
constructor
KoToolBase * createTool(KoCanvasBase *canvas) override
QList< QAction * > createActionsImpl() override
createActionsImpl should be reimplemented if the tool needs any actions. The actions should have a va...
KisCanvas2 * canvas