File indexing completed on 2024-04-21 03:51:10

0001 /*
0002     SPDX-FileCopyrightText: 2008 Frederik Gladhorn <frederik.gladhorn@kdemail.net>
0003     SPDX-License-Identifier: GPL-2.0-or-later
0004 */
0005 
0006 #ifndef EXPORTDIALOG_H
0007 #define EXPORTDIALOG_H
0008 
0009 #include "ui_exportdialog.h"
0010 
0011 #include <QDialog>
0012 
0013 class ParleyDocument;
0014 class QUrl;
0015 
0016 class ExportDialog : public QDialog
0017 {
0018     Q_OBJECT
0019 public:
0020     explicit ExportDialog(ParleyDocument *doc, QWidget *parent = nullptr);
0021 
0022 private Q_SLOTS:
0023     void accept() override;
0024 
0025 private:
0026     QUrl getFileName(const QString &filter);
0027 
0028     Ui::ExportOptions *ui{nullptr};
0029     ParleyDocument *m_doc{nullptr};
0030 };
0031 
0032 #endif