File indexing completed on 2024-04-21 05:26:55

0001 /*
0002  * SPDX-FileCopyrightText: 2019 Mikhail Zolotukhin <zomial@protonmail.com>
0003  *
0004  * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0005  */
0006 
0007 #pragma once
0008 
0009 #include <QProcess>
0010 #include <QString>
0011 
0012 class ThemePreviewer : QObject
0013 {
0014     Q_OBJECT
0015 public:
0016     ThemePreviewer(QObject *parent);
0017 
0018     void showGtk3App(const QString &themeName);
0019 
0020 private:
0021     static const QString gtk3PreviewerExecutablePath;
0022 
0023     QProcess gtk3PreviewerProccess;
0024 };