You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
655 B
29 lines
655 B
/* |
|
SPDX-FileCopyrightText: 2017 Julian Wolff <wolff@julianwolff.de> |
|
|
|
SPDX-License-Identifier: GPL-2.0-or-later |
|
*/ |
|
|
|
#ifndef _OKULAR_GENERATOR_MD_H_ |
|
#define _OKULAR_GENERATOR_MD_H_ |
|
|
|
#include <core/textdocumentgenerator.h> |
|
|
|
class MarkdownGenerator : public Okular::TextDocumentGenerator |
|
{ |
|
Q_OBJECT |
|
Q_INTERFACES(Okular::Generator) |
|
|
|
public: |
|
MarkdownGenerator(QObject *parent, const QVariantList &args); |
|
|
|
// [INHERITED] reparse configuration |
|
bool reparseConfig() override; |
|
void addPages(KConfigDialog *dlg) override; |
|
|
|
private: |
|
bool m_isFancyPantsConfigEnabled = true; |
|
bool m_wasFancyPantsConfigEnabled = true; |
|
}; |
|
|
|
#endif
|
|
|