File indexing completed on 2024-05-12 16:06:44
0001 /* 0002 SPDX-FileCopyrightText: 2017 Julian Wolff <wolff@julianwolff.de> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #ifndef _OKULAR_GENERATOR_MD_H_ 0008 #define _OKULAR_GENERATOR_MD_H_ 0009 0010 #include <core/textdocumentgenerator.h> 0011 0012 class MarkdownGenerator : public Okular::TextDocumentGenerator 0013 { 0014 Q_OBJECT 0015 Q_INTERFACES(Okular::Generator) 0016 0017 public: 0018 MarkdownGenerator(QObject *parent, const QVariantList &args); 0019 0020 // [INHERITED] reparse configuration 0021 bool reparseConfig() override; 0022 void addPages(KConfigDialog *dlg) override; 0023 0024 private: 0025 bool m_isFancyPantsConfigEnabled = true; 0026 bool m_wasFancyPantsConfigEnabled = true; 0027 }; 0028 0029 #endif