10 #ifndef VOIP_CALLS_DIALOG_H
11 #define VOIP_CALLS_DIALOG_H
29 #include <QAbstractButton>
30 #include <QPushButton>
31 #include <QToolButton>
58 void updateFilter(QString filter,
bool force =
false);
60 void goToPacket(
int packet_num);
61 void rtpPlayerDialogReplaceRtpStreams(QVector<rtpstream_id_t *> stream_ids);
62 void rtpPlayerDialogAddRtpStreams(QVector<rtpstream_id_t *> stream_ids);
63 void rtpPlayerDialogRemoveRtpStreams(QVector<rtpstream_id_t *> stream_ids);
64 void rtpStreamsDialogSelectRtpStreams(QVector<rtpstream_id_t *> stream_ids);
65 void rtpStreamsDialogDeselectRtpStreams(QVector<rtpstream_id_t *> stream_ids);
68 void displayFilterSuccess(
bool success);
69 void rtpPlayerReplace();
71 void rtpPlayerRemove();
77 void contextMenuEvent(QContextMenuEvent *event);
81 bool eventFilter(QObject *obj, QEvent *event);
84 void changeEvent(QEvent* event);
91 static std::mutex init_mutex_;
93 Ui::VoipCallsDialog *ui;
96 QSortFilterProxyModel *sorted_model_;
101 QPushButton *prepare_button_;
102 QPushButton *sequence_button_;
103 QToolButton *player_button_;
104 QPushButton *copy_button_;
105 bool voip_calls_tap_listeners_removed_;
106 GQueue* shown_callsinfos_;
109 static void tapReset(
void *tapinfo_ptr);
111 static void tapDraw(
void *tapinfo_ptr);
112 static int compareCallNums(gconstpointer a, gconstpointer b);
115 void prepareFilter();
118 void removeAllCalls();
119 void invertSelection();
121 QList<QVariant> streamRowData(
int row)
const;
122 QVector<rtpstream_id_t *>getSelectedRtpIds();
129 void switchTimeOfDay();
130 void on_callTreeView_activated(
const QModelIndex &index);
131 void on_buttonBox_clicked(QAbstractButton *button);
132 void on_buttonBox_helpRequested();
133 void updateWidgets();
135 void displayFilterCheckBoxToggled(
bool checked);
136 void on_actionSelectAll_triggered();
137 void on_actionSelectInvert_triggered();
138 void on_actionSelectNone_triggered();
139 void on_actionSelectRtpStreams_triggered();
140 void on_actionDeselectRtpStreams_triggered();
Definition: cache_proxy_model.h:26
Definition: capture_event.h:21
Definition: capture_file.h:21
Definition: sequence_dialog.h:33
Definition: voip_calls_dialog.h:41
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:22
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