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
13class QComboBox;
14class QLineEdit;
15class QLabel;
16
17namespace KIO
18{
19/**
20 * @internal
21 * Internal class used by paste.h. DO NOT USE.
22 */
23class PasteDialog : public QDialog
24{
25 Q_OBJECT
26public:
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
32private:
33 QLabel *m_label;
34 QLineEdit *m_lineEdit;
35 QComboBox *m_comboBox;
36};
37
38} // namespace
39
40#endif /* PASTEDIALOG_H */
41

source code of kio/src/widgets/pastedialog_p.h