aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/main_window.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2015-11-12 08:35:34 -0800
committerAnders Broman <a.broman58@gmail.com>2015-11-13 09:43:24 +0000
commit661c9771f6ffeeda4b2ba278a9f15d1d14dbe525 (patch)
treef3e22b8769e86885332ccf3ad6d5078f5a2036d7 /ui/qt/main_window.h
parentacbf7d57253f4dc4206e3d67c0c56f6e28da6796 (diff)
Qt: Add go to next + previous packet in conversation.
Add "Go→Next Packet in Conversation" and "Go→Previous Packet in Conversation" menu items. Make sure the shortucts ("Ctrl+." and "Ctrl+,") don't get switched to "Cmd+." and "Cmd+," on OS X. "Cmd+," is already taken by the preferences dialog. Change-Id: Iab9c7f60fdcf55f12c055b4d0948019bf667ebc9 Reviewed-on: https://code.wireshark.org/review/11771 Reviewed-by: Gerald Combs <gerald@wireshark.org> Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui/qt/main_window.h')
-rw-r--r--ui/qt/main_window.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/qt/main_window.h b/ui/qt/main_window.h
index 9c0a161247..d463edcf9d 100644
--- a/ui/qt/main_window.h
+++ b/ui/qt/main_window.h
@@ -203,6 +203,7 @@ private:
void addMenuActions(QList<QAction *> &actions, int menu_group);
void removeMenuActions(QList<QAction *> &actions, int menu_group);
+ void goToConversationFrame(bool go_next);
signals:
void setCaptureFile(capture_file *cf);
@@ -415,6 +416,8 @@ private slots:
void on_actionGoGoToPacket_triggered();
void on_actionGoGoToLinkedPacket_triggered();
+ void on_actionGoNextConversationPacket_triggered();
+ void on_actionGoPreviousConversationPacket_triggered();
void on_actionGoAutoScroll_toggled(bool checked);
void resetPreviousFocus();