File indexing completed on 2024-11-03 12:40:02

0001 /*
0002     This file is part of the KDE libraries
0003     SPDX-FileCopyrightText: 2005 David Faure <faure@kde.org>
0004 
0005     SPDX-License-Identifier: LGPL-2.0-only
0006 */
0007 
0008 #ifndef PASTEDIALOG_H
0009 #define PASTEDIALOG_H
0010 
0011 #include <QDialog>
0012 
0013 class QComboBox;
0014 class QLineEdit;
0015 class QLabel;
0016 
0017 namespace KIO
0018 {
0019 /**
0020  * @internal
0021  * Internal class used by paste.h. DO NOT USE.
0022  */
0023 class PasteDialog : public QDialog
0024 {
0025     Q_OBJECT
0026 public:
0027     PasteDialog(const QString &title, const QString &label, const QString &value, const QStringList &items, QWidget *parent);
0028 
0029     QString lineEditText() const;
0030     int comboItem() const;
0031 
0032 private:
0033     QLabel *m_label;
0034     QLineEdit *m_lineEdit;
0035     QComboBox *m_comboBox;
0036 };
0037 
0038 } // namespace
0039 
0040 #endif /* PASTEDIALOG_H */