File indexing completed on 2024-05-19 05:51:02
0001 /* Atelier KDE Printer Host for 3D Printing 0002 Copyright (C) <2017> 0003 Author: Lays Rodrigues - lays.rodrigues@kde.org 0004 Chris Rizzitello - rizzitello@kde.org 0005 0006 This program is free software: you can redistribute it and/or modify 0007 it under the terms of the GNU General Public License as published by 0008 the Free Software Foundation, either version 3 of the License, or 0009 (at your option) any later version. 0010 0011 This program is distributed in the hope that it will be useful, 0012 but WITHOUT ANY WARRANTY; without even the implied warranty of 0013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 0014 GNU General Public License for more details. 0015 0016 You should have received a copy of the GNU General Public License 0017 along with this program. If not, see <http://www.gnu.org/licenses/>. 0018 */ 0019 #pragma once 0020 0021 #include <QDialog> 0022 #include <QList> 0023 #include <QUrl> 0024 0025 class ChooseFileDialog : public QDialog 0026 { 0027 Q_OBJECT 0028 0029 public: 0030 ChooseFileDialog(QWidget *parent = nullptr, QList<QUrl> files = QList<QUrl>()); 0031 ~ChooseFileDialog() = default; 0032 const QUrl choosenFile(); 0033 0034 private: 0035 QUrl m_choosen_file; 0036 };