1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
/* This file is part of the KDE project
* SPDX-FileCopyrightText: 2007 Thomas Zander <zander@kde.org>
*
* SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef INSERTNAMEDVARIABLEACTION_H
#define INSERTNAMEDVARIABLEACTION_H
#include "InsertInlineObjectActionBase_p.h"
class KoInlineTextObjectManager;
/**
* helper class
*/
class InsertNamedVariableAction : public InsertInlineObjectActionBase
{
Q_OBJECT
public:
InsertNamedVariableAction(KoCanvasBase *canvas, const KoInlineTextObjectManager *manager, const QString &name);
private:
KoInlineObject *createInlineObject() override;
const KoInlineTextObjectManager *m_manager;
QString m_name;
};
#endif
|