File indexing completed on 2024-04-28 04:37:24

0001 /*
0002     SPDX-FileCopyrightText: 2002 Harald Fernengel <harry@kdevelop.org>
0003     SPDX-FileCopyrightText: 2008 Hamish Rodda <rodda@kde.org>
0004 
0005     SPDX-License-Identifier: LGPL-2.0-or-later
0006 */
0007 
0008 #ifndef KDEVPLATFORM_SAVEDIALOG_H
0009 #define KDEVPLATFORM_SAVEDIALOG_H
0010 
0011 #include <QDialog>
0012 
0013 class QListWidget;
0014 
0015 namespace KDevelop {
0016 
0017 class IDocument;
0018 
0019 class KSaveSelectDialog : public QDialog
0020 {
0021     Q_OBJECT
0022 
0023 public:
0024     KSaveSelectDialog( const QList<IDocument*>& files, QWidget * parent );
0025     ~KSaveSelectDialog() override;
0026 
0027 private Q_SLOTS:
0028     void save();
0029 
0030 private:
0031     QListWidget* m_listWidget;
0032 };
0033 
0034 }
0035 
0036 #endif