diff options
author | Gerald Combs <gerald@wireshark.org> | 2015-07-08 16:48:58 -0700 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2016-11-10 13:25:20 +0000 |
commit | 414c13245831085b7362d0573b317597fb76ac76 (patch) | |
tree | 9bbf32a290805504c691ebc7ddc16c8887cd17ba /ui/qt/wireshark_application.h | |
parent | d1a2c4c312f8f0e3e8d6800a51c2d59a4a7a03d4 (diff) | |
download | wireshark-414c13245831085b7362d0573b317597fb76ac76.tar.gz |
Qt: Handle retranslation events in the main window.
Update most (but not all) of the main status bar text when the user
changes the language setting.
Try to distinguish between recent preferences and recent captures more
clearly.
Change-Id: I5278a503178fe3620a25b185742688f957dc30f4
Ping-Bug: 11307
Reviewed-on: https://code.wireshark.org/review/9575
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: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'ui/qt/wireshark_application.h')
-rw-r--r-- | ui/qt/wireshark_application.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/ui/qt/wireshark_application.h b/ui/qt/wireshark_application.h index 9a54a37480..58b489badf 100644 --- a/ui/qt/wireshark_application.h +++ b/ui/qt/wireshark_application.h @@ -62,16 +62,17 @@ public: explicit WiresharkApplication(int &argc, char **argv); enum AppSignal { - ColumnsChanged, CaptureFilterListChanged, + ColumnsChanged, DisplayFilterListChanged, + FieldsChanged, FilterExpressionsChanged, LocalInterfacesChanged, NameResolutionChanged, PacketDissectionChanged, PreferencesChanged, - RecentFilesRead, - FieldsChanged + RecentCapturesChanged, + RecentPreferencesRead }; enum MainMenuItem { @@ -154,8 +155,8 @@ signals: void localInterfaceListChanged(); void openCaptureFile(QString cf_path, QString display_filter, unsigned int type); void openCaptureOptions(); - void recentFilesRead(); - void updateRecentItemStatus(const QString &filename, qint64 size, bool accessible); + void recentPreferencesRead(); + void updateRecentCaptureStatus(const QString &filename, qint64 size, bool accessible); void splashUpdate(register_action_e action, const char *message); void profileChanging(); void profileNameChanged(const gchar *profile_name); @@ -175,7 +176,7 @@ signals: void openTapParameterDialog(const QString cfg_str, const QString arg, void *userdata); public slots: - void clearRecentItems(); + void clearRecentCaptures(); void captureFileReadStarted(); void captureStarted() { active_captures_++; } void captureFinished() { active_captures_--; } @@ -185,7 +186,7 @@ private slots: void cleanup(); void ifChangeEventsAvailable(); void itemStatusFinished(const QString filename = "", qint64 size = 0, bool accessible = false); - void refreshRecentFiles(void); + void refreshRecentCaptures(void); void refreshAddressResolution(void); }; |