Kerberos: add kerberos_inject_longterm_key() helper function
[wireshark-sm.git] / ui / qt / multicast_statistics_dialog.h
blob88217b50e0f9f6399e461c908ac5e5d8ff160789
1 /** @file
3 * Wireshark - Network traffic analyzer
4 * By Gerald Combs <gerald@wireshark.org>
5 * Copyright 1998 Gerald Combs
7 * SPDX-License-Identifier: GPL-2.0-or-later
8 */
10 #ifndef MULTICASTSTATISTICSDIALOG_H
11 #define MULTICASTSTATISTICSDIALOG_H
13 #include "tap_parameter_dialog.h"
14 #include "ui/mcast_stream.h"
16 class SyntaxLineEdit;
18 class MulticastStatisticsDialog : public TapParameterDialog
20 Q_OBJECT
22 public:
23 MulticastStatisticsDialog(QWidget &parent, CaptureFile &cf, const char *filter = NULL);
24 ~MulticastStatisticsDialog();
26 protected:
27 void captureFileClosing();
29 private:
30 struct _mcaststream_tapinfo *tapinfo_;
31 SyntaxLineEdit *burst_measurement_interval_le_;
32 SyntaxLineEdit *burst_alarm_threshold_le_;
33 SyntaxLineEdit *buffer_alarm_threshold_le_;
34 SyntaxLineEdit *stream_empty_speed_le_;
35 SyntaxLineEdit *total_empty_speed_le_;
36 QList<QWidget *> line_edits_;
38 // Callbacks for register_tap_listener
39 static void tapReset(mcaststream_tapinfo_t *tapinfo);
40 static void tapDraw(mcaststream_tapinfo_t *tapinfo);
42 void rescan();
44 virtual QList<QVariant> treeItemData(QTreeWidgetItem *ti) const;
45 virtual const QString filterExpression();
47 private slots:
48 void updateWidgets();
49 void updateMulticastParameters();
50 virtual void fillTree();
53 #endif // MULTICASTSTATISTICSDIALOG_H