File indexing completed on 2024-06-23 04:28:10

0001 /* This file is part of the KDE project
0002  *
0003  * SPDX-FileCopyrightText: 2006-2007 Thomas Zander <zander@kde.org>
0004  *
0005  * SPDX-License-Identifier: LGPL-2.0-or-later
0006  */
0007 
0008 #ifndef DEFAULTTOOLFACTORY_H
0009 #define DEFAULTTOOLFACTORY_H
0010 
0011 #include <KoToolFactoryBase.h>
0012 
0013 /// Factory for the KoInteractionTool
0014 class DefaultToolFactory : public KoToolFactoryBase
0015 {
0016 public:
0017     /// constructor
0018     DefaultToolFactory();
0019     DefaultToolFactory(const QString &id);
0020     ~DefaultToolFactory() override;
0021 
0022     KoToolBase *createTool(KoCanvasBase *canvas) override;
0023     QList<QAction *> createActionsImpl() override;
0024 };
0025 #endif