10#ifndef VOIP_CALLS_DIALOG_H
11#define VOIP_CALLS_DIALOG_H
29#include <QAbstractButton>
205 static std::mutex init_mutex_;
208 Ui::VoipCallsDialog *ui;
217 QSortFilterProxyModel *sorted_model_;
229 QPushButton *prepare_button_;
232 QPushButton *sequence_button_;
235 QToolButton *player_button_;
238 QPushButton *copy_button_;
241 bool voip_calls_tap_listeners_removed_;
244 GQueue* shown_callsinfos_;
251 static void tapReset(
void *tapinfo_ptr);
263 static void tapDraw(
void *tapinfo_ptr);
271 static int compareCallNums(
const void *a,
const void *b);
281 void prepareFilter();
296 void removeAllCalls();
301 void invertSelection();
308 QList<QVariant> streamRowData(
int row)
const;
314 QVector<rtpstream_id_t *>getSelectedRtpIds();
340 void switchTimeOfDay();
346 void on_callTreeView_activated(
const QModelIndex &index);
352 void on_buttonBox_clicked(QAbstractButton *button);
357 void on_buttonBox_helpRequested();
362 void updateWidgets();
374 void displayFilterCheckBoxToggled(
bool checked);
379 void on_actionSelectAll_triggered();
384 void on_actionSelectInvert_triggered();
389 void on_actionSelectNone_triggered();
394 void on_actionSelectRtpStreams_triggered();
399 void on_actionDeselectRtpStreams_triggered();
Caches any data read access to the source model, returning an older copy if the source model is inval...
Definition cache_proxy_model.h:26
Represents an event occurring during a capture or file operation.
Definition capture_event.h:24
Manages a capture file and its associated state and operations.
Definition capture_file.h:27
Reference-counted wrapper for sequence analysis information.
Definition sequence_dialog.h:36
Dialog for displaying and managing VoIP and SIP calls.
Definition voip_calls_dialog.h:45
void rtpPlayerDialogAddRtpStreams(QVector< rtpstream_id_t * > stream_ids)
Signal emitted to request adding RTP streams to the player dialog.
void rtpPlayerDialogReplaceRtpStreams(QVector< rtpstream_id_t * > stream_ids)
Signal emitted to request replacing RTP streams in the player dialog.
void rtpPlayerReplace()
Slot to trigger replacing streams in the RTP player.
Definition voip_calls_dialog.cpp:645
void rtpStreamsDialogDeselectRtpStreams(QVector< rtpstream_id_t * > stream_ids)
Signal emitted to request deselecting specific RTP streams in the streams dialog.
void updateFilter(QString filter, bool force=false)
Signal emitted to update the display filter.
void rtpStreamsDialogSelectRtpStreams(QVector< rtpstream_id_t * > stream_ids)
Signal emitted to request selecting specific RTP streams in the streams dialog.
static VoipCallsDialog * openVoipCallsDialogVoip(QWidget &parent, CaptureFile &cf, QObject *packet_list)
Returns singleton instance for VoIP calls.
Definition voip_calls_dialog.cpp:50
void captureFileClosing()
Handles operations required just before the capture file closes.
Definition voip_calls_dialog.cpp:235
void operator=(const VoipCallsDialog &)=delete
Should not be assignable.
VoipCallsDialog(VoipCallsDialog &other)=delete
Should not be cloneable.
void rtpPlayerDialogRemoveRtpStreams(QVector< rtpstream_id_t * > stream_ids)
Signal emitted to request removing RTP streams from the player dialog.
void contextMenuEvent(QContextMenuEvent *event)
Handles context menu events.
Definition voip_calls_dialog.cpp:259
void rtpPlayerRemove()
Slot to trigger removing streams from the RTP player.
Definition voip_calls_dialog.cpp:659
void goToPacket(int packet_num)
Signal emitted to navigate to a specific packet.
~VoipCallsDialog()
Destroys the VoipCallsDialog object.
Definition voip_calls_dialog.cpp:199
void captureFileClosed()
Handles cleanup after the capture file is fully closed.
Definition voip_calls_dialog.cpp:249
virtual void removeTapListeners()
Safely removes all tap listeners used by the dialog.
Definition voip_calls_dialog.cpp:226
bool eventFilter(QObject *obj, QEvent *event)
Event filter for capturing specific events.
Definition voip_calls_dialog.cpp:163
void rtpPlayerAdd()
Slot to trigger adding streams to the RTP player.
Definition voip_calls_dialog.cpp:652
void changeEvent(QEvent *event)
Handles generic state change events.
Definition voip_calls_dialog.cpp:287
static VoipCallsDialog * openVoipCallsDialogSip(QWidget &parent, CaptureFile &cf, QObject *packet_list)
Returns singleton instance for SIP calls.
Definition voip_calls_dialog.cpp:62
void captureFileChanged(capture_file *cf)
Signal emitted when the capture file changes.
Table model that exposes a list of VoIP call records for display in the VoIP Calls dialog,...
Definition voip_calls_info_model.h:27
Base class for Wireshark specific dialogs that require interaction with a CaptureFile.
Definition wireshark_dialog.h:38
Represents a capture file and its associated metadata.
Definition cfile.h:84
Represents the metadata and indexing information for a single captured frame.
Definition packet_info.h:43
Aggregated tap state for the VoIP calls analysis, covering all detected calls and streams.
Definition voip_calls.h:218
Holds all state for the dissection of a single byte array, including session, buffer,...
Definition epan_dissect.h:28
tap_packet_status
Definition tap.h:22