Merge remote-tracking branch 'origin/Applications/16.08'
[kdepim.git] / ktnef / src / messagepropertydialog.h
blobd03003f21ffb6b78495176a2f2047ba29853b47f
1 /*
2 This file is part of KTnef.
4 Copyright (C) 2003 Michael Goffioul <kdeprint@swing.be>
5 Copyright (c) 2012 Allen Winter <winter@kde.org>
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2 of the License, or
10 (at your option) any later version.
12 You should have received a copy of the GNU General Public License
13 along with this program; if not, write to the Free Software Foundation,
14 Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
17 #ifndef MESSAGEPROPERTYDIALOG_H
18 #define MESSAGEPROPERTYDIALOG_H
20 #include <QDialog>
22 namespace KTnef
24 class KTNEFMessage;
26 using namespace KTnef;
28 class QTreeWidget;
30 class MessagePropertyDialog : public QDialog
32 Q_OBJECT
33 public:
34 explicit MessagePropertyDialog(QWidget *parent, KTNEFMessage *msg);
35 ~MessagePropertyDialog();
36 private Q_SLOTS:
37 void slotSaveProperty();
39 private:
40 void readConfig();
41 void writeConfig();
42 KTNEFMessage *mMessage;
43 QTreeWidget *mListView;
46 #endif