KTextEditor

exporter.h
1/*
2 SPDX-FileCopyrightText: 2009 Milian Wolff <mail@milianw.de>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#ifndef EXPORTERPLUGINVIEW_H
8#define EXPORTERPLUGINVIEW_H
9
10#include <KTextEditor/View>
11
12#include <QTextStream>
13
14class KateExporter
15{
16public:
17 explicit KateExporter(KTextEditor::View *view)
18 : m_view(view)
19 {
20 }
21
22 void exportToClipboard();
23 void exportToFile(const QString &file);
24
25private:
26 /// TODO: maybe make this scriptable for additional exporters?
27 void exportData(const bool useSelction, QTextStream &output);
28
29private:
30 KTextEditor::View *m_view;
31};
32
33#endif
A text widget with KXMLGUIClient that represents a Document.
Definition view.h:244
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jun 14 2024 11:57:25 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.