1 | /* |
2 | This file is part of the KDE libraries |
3 | SPDX-FileCopyrightText: 2005 David Faure <faure@kde.org> |
4 | |
5 | SPDX-License-Identifier: LGPL-2.0-only |
6 | */ |
7 | |
8 | #ifndef PASTEDIALOG_H |
9 | #define PASTEDIALOG_H |
10 | |
11 | #include <QDialog> |
12 | |
13 | class QComboBox; |
14 | class QLineEdit; |
15 | class QLabel; |
16 | |
17 | namespace KIO |
18 | { |
19 | /** |
20 | * @internal |
21 | * Internal class used by paste.h. DO NOT USE. |
22 | */ |
23 | class PasteDialog : public QDialog |
24 | { |
25 | Q_OBJECT |
26 | public: |
27 | PasteDialog(const QString &title, const QString &label, const QString &value, const QStringList &items, QWidget *parent); |
28 | |
29 | QString lineEditText() const; |
30 | int comboItem() const; |
31 | |
32 | private: |
33 | QLabel *m_label; |
34 | QLineEdit *m_lineEdit; |
35 | QComboBox *m_comboBox; |
36 | }; |
37 | |
38 | } // namespace |
39 | |
40 | #endif /* PASTEDIALOG_H */ |
41 | |