Kerberos: add kerberos_inject_longterm_key() helper function
[wireshark-sm.git] / ui / qt / capture_file_properties_dialog.h
blob27b8d86f3c7f4638e2688d11527a6f135b724c1b
1 /** @file
3 * GSoC 2013 - QtShark
5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <gerald@wireshark.org>
7 * Copyright 1998 Gerald Combs
9 * SPDX-License-Identifier: GPL-2.0-or-later
12 #ifndef CAPTURE_FILE_PROPERTIES_DIALOG_H
13 #define CAPTURE_FILE_PROPERTIES_DIALOG_H
15 #include <config.h>
17 #include <string.h>
18 #include <time.h>
20 #include <epan/strutil.h>
21 #include <wiretap/wtap.h>
23 #include "file.h"
25 #ifdef HAVE_LIBPCAP
26 #include "ui/capture.h"
27 #include "ui/capture_globals.h"
28 #endif
30 #include "wireshark_dialog.h"
32 #include <QClipboard>
34 namespace Ui {
35 class CaptureFilePropertiesDialog;
38 class QAbstractButton;
40 class CaptureFilePropertiesDialog : public WiresharkDialog
42 Q_OBJECT
44 public:
45 explicit CaptureFilePropertiesDialog(QWidget &parent, CaptureFile& capture_file);
46 ~CaptureFilePropertiesDialog();
48 signals:
49 void captureCommentChanged();
51 protected slots:
52 void changeEvent(QEvent* event);
55 private:
56 Ui::CaptureFilePropertiesDialog *ui;
58 QString summaryToHtml();
59 void fillDetails();
61 private slots:
62 void updateWidgets();
63 void addCaptureComment();
64 void on_buttonBox_helpRequested();
65 void on_buttonBox_clicked(QAbstractButton *button);
66 void on_buttonBox_rejected();
69 #endif