File indexing completed on 2024-05-12 16:23:45
0001 // SPDX-FileCopyrightText: 2022 Alexey Andreyev <aa13q@ya.ru> 0002 // 0003 // SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL 0004 0005 #pragma once 0006 0007 #include <QObject> 0008 #include <QString> 0009 0010 class DomDistiller : public QObject 0011 { 0012 Q_OBJECT 0013 0014 Q_PROPERTY(QString script READ script) 0015 Q_PROPERTY(QString applyScript READ applyScript) 0016 0017 public: 0018 explicit DomDistiller(QObject *parent = nullptr); 0019 const QString &script() const; 0020 const QString &applyScript() const; 0021 0022 private: 0023 QString m_script; 0024 QString m_applyScript; 0025 };