File indexing completed on 2024-04-28 05:49:02
0001 /* 0002 * SPDX-FileCopyrightText: 2017 Friedrich W. H. Kossebau <kossebau@kde.org> 0003 * 0004 * SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 // KF 0010 #include <KTextEditor/Plugin> 0011 0012 class KTextEditorPreviewPlugin : public KTextEditor::Plugin 0013 { 0014 Q_OBJECT 0015 0016 public: 0017 /** 0018 * Default constructor, with arguments as expected by KPluginFactory 0019 */ 0020 KTextEditorPreviewPlugin(QObject *parent, const QVariantList &args); 0021 0022 ~KTextEditorPreviewPlugin() override; 0023 0024 public: // KTextEditor::Plugin API 0025 QObject *createView(KTextEditor::MainWindow *mainWindow) override; 0026 };