10 #ifndef VOIP_CALLS_DIALOG_H
11 #define VOIP_CALLS_DIALOG_H
30 #include <QAbstractButton>
31 #include <QPushButton>
32 #include <QToolButton>
59 void updateFilter(QString filter,
bool force =
false);
61 void goToPacket(
int packet_num);
62 void rtpPlayerDialogReplaceRtpStreams(QVector<rtpstream_id_t *> stream_ids);
63 void rtpPlayerDialogAddRtpStreams(QVector<rtpstream_id_t *> stream_ids);
64 void rtpPlayerDialogRemoveRtpStreams(QVector<rtpstream_id_t *> stream_ids);
65 void rtpStreamsDialogSelectRtpStreams(QVector<rtpstream_id_t *> stream_ids);
66 void rtpStreamsDialogDeselectRtpStreams(QVector<rtpstream_id_t *> stream_ids);
69 void displayFilterSuccess(
bool success);
70 void rtpPlayerReplace();
72 void rtpPlayerRemove();
78 void contextMenuEvent(QContextMenuEvent *event);
82 bool eventFilter(QObject *obj, QEvent *event);
85 void changeEvent(QEvent* event);
92 static std::mutex init_mutex_;
94 Ui::VoipCallsDialog *ui;
97 QSortFilterProxyModel *sorted_model_;
102 QPushButton *prepare_button_;
103 QPushButton *sequence_button_;
104 QToolButton *player_button_;
105 QPushButton *copy_button_;
106 bool voip_calls_tap_listeners_removed_;
107 GQueue* shown_callsinfos_;
110 static void tapReset(
void *tapinfo_ptr);
112 static void tapDraw(
void *tapinfo_ptr);
113 static gint compareCallNums(gconstpointer a, gconstpointer b);
116 void prepareFilter();
119 void removeAllCalls();
120 void invertSelection();
122 QList<QVariant> streamRowData(
int row)
const;
123 QVector<rtpstream_id_t *>getSelectedRtpIds();
130 void switchTimeOfDay();
131 void on_callTreeView_activated(
const QModelIndex &index);
132 void on_buttonBox_clicked(QAbstractButton *button);
133 void on_buttonBox_helpRequested();
134 void updateWidgets();
136 void displayFilterCheckBoxToggled(
bool checked);
137 void on_actionSelectAll_triggered();
138 void on_actionSelectInvert_triggered();
139 void on_actionSelectNone_triggered();
140 void on_actionSelectRtpStreams_triggered();
141 void on_actionDeselectRtpStreams_triggered();
Definition: cache_proxy_model.h:26
Definition: capture_event.h:20
Definition: capture_file.h:23
Definition: sequence_dialog.h:35
Definition: voip_calls_dialog.h:42
static VoipCallsDialog * openVoipCallsDialogVoip(QWidget &parent, CaptureFile &cf, QObject *packet_list)
Definition: voip_calls_dialog.cpp:50
void captureFileClosing()
Called when the capture file is about to close. This can be used to disconnect taps and similar actio...
Definition: voip_calls_dialog.cpp:237
VoipCallsDialog(VoipCallsDialog &other)=delete
void captureFileClosed()
Called when the capture file was closed. This can be used to enable or disable widgets according to t...
Definition: voip_calls_dialog.cpp:251
virtual void removeTapListeners()
Remove all tap listeners registered via registerTapListener.
Definition: voip_calls_dialog.cpp:228
Definition: voip_calls_info_model.h:23
Definition: wireshark_dialog.h:35
Definition: packet_info.h:44
Definition: voip_calls.h:173
Definition: epan_dissect.h:28
tap_packet_status
Definition: tap.h:25