1 /* 2 SPDX-FileCopyrightText: 2020-2021 Laurent Montel <montel@kde.org> 3 4 SPDX-License-Identifier: LGPL-2.0-or-later 5 */ 6 7 #pragma once 8 9 #include "libruqolawidgets_private_export.h" 10 #include <QDialog> 11 class ShowVideoWidget; 12 class LIBRUQOLAWIDGETS_TESTS_EXPORT ShowVideoDialog : public QDialog 13 { 14 Q_OBJECT 15 public: 16 explicit ShowVideoDialog(QWidget *parent = nullptr); 17 ~ShowVideoDialog() override; 18 void setVideoUrl(const QUrl &videoPath); 19 20 private: 21 void readConfig(); 22 void writeConfig(); 23 ShowVideoWidget *const mShowVideoWidget; 24 }; 25 26