File indexing completed on 2024-12-22 05:00:57

0001 /*
0002   This file is part of KTnef.
0003 
0004   SPDX-FileCopyrightText: 2003 Michael Goffioul <kdeprint@swing.be>
0005   SPDX-FileCopyrightText: 2012 Allen Winter <winter@kde.org>
0006 
0007   SPDX-License-Identifier: GPL-2.0-or-later
0008 
0009   You should have received a copy of the GNU General Public License
0010   along with this program; if not, write to the Free Software Foundation,
0011   Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
0012 */
0013 
0014 #pragma once
0015 
0016 #include <QDialog>
0017 
0018 namespace KTnef
0019 {
0020 class KTNEFMessage;
0021 }
0022 using namespace KTnef;
0023 
0024 class QTreeWidget;
0025 
0026 class MessagePropertyDialog : public QDialog
0027 {
0028     Q_OBJECT
0029 public:
0030     explicit MessagePropertyDialog(QWidget *parent, KTNEFMessage *msg);
0031     ~MessagePropertyDialog() override;
0032 
0033 private:
0034     void slotSaveProperty();
0035     void readConfig();
0036     void writeConfig();
0037     KTNEFMessage *const mMessage;
0038     QTreeWidget *const mListView;
0039 };