summaryrefslogtreecommitdiff
path: root/ui/qt/conversation_dialog.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@zing.org>2014-12-21 13:23:02 -0800
committerGerald Combs <gerald@wireshark.org>2014-12-22 18:12:31 +0000
commit5cdad9fe423662e2aea3d63540cd19b7e518b7c3 (patch)
tree16deed9efb4df400a81b564ec1aa5d9f5b1c9c61 /ui/qt/conversation_dialog.h
parent30c3d394adbf8deff83854f01dc1082db9cac598 (diff)
downloadwireshark-5cdad9fe423662e2aea3d63540cd19b7e518b7c3.tar.gz
Qt: Add methods to CaptureFile and WiresharkApplication.
Add isValid, fileTitle, and retapPackets methods to CaptureFile. Add application name and title separator convenience methods to WiresharkApplication. Convert traffic tables, conversations, and endpoints to use CaptureFile directly and to let the user know when the capture file is closed. Set the file dialog titles while we're here. Change-Id: I990392786d3833e1e0b3638aa2d34a5ada39fa13 Reviewed-on: https://code.wireshark.org/review/5957 Petri-Dish: Gerald Combs <gerald@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/qt/conversation_dialog.h')
-rw-r--r--ui/qt/conversation_dialog.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/qt/conversation_dialog.h b/ui/qt/conversation_dialog.h
index 7f62c08127..64e46424cc 100644
--- a/ui/qt/conversation_dialog.h
+++ b/ui/qt/conversation_dialog.h
@@ -56,11 +56,11 @@ public:
* @param cli_proto_id If valid, add this protocol and bring it to the front.
* @param filter Display filter to apply.
*/
- explicit ConversationDialog(QWidget *parent = 0, capture_file *cf = NULL, int cli_proto_id = -1, const char *filter = NULL);
+ explicit ConversationDialog(QWidget *parent, CaptureFile &cf, int cli_proto_id = -1, const char *filter = NULL);
~ConversationDialog();
public slots:
- void setCaptureFile(capture_file *cf);
+ void captureFileClosing();
signals:
void filterAction(QString& filter, FilterAction::Action action, FilterAction::ActionType type);