summaryrefslogtreecommitdiffstats
path: root/ui/qt/preferences_dialog.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:14:26 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:14:26 +0000
commitc4e8a3222648fcf22ca207f1815ebbf7cd144eeb (patch)
tree93d5c6aa93d9987680dd1adad5685e2ad698f223 /ui/qt/preferences_dialog.h
parentAdding upstream version 4.2.6. (diff)
downloadwireshark-c4e8a3222648fcf22ca207f1815ebbf7cd144eeb.tar.xz
wireshark-c4e8a3222648fcf22ca207f1815ebbf7cd144eeb.zip
Adding upstream version 4.4.0.upstream/4.4.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'ui/qt/preferences_dialog.h')
-rw-r--r--ui/qt/preferences_dialog.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/ui/qt/preferences_dialog.h b/ui/qt/preferences_dialog.h
index 51760699..b295aeaa 100644
--- a/ui/qt/preferences_dialog.h
+++ b/ui/qt/preferences_dialog.h
@@ -20,6 +20,7 @@
#include "geometry_state_dialog.h"
class QComboBox;
+class QAbstractButton;
namespace Ui {
class PreferencesDialog;
@@ -44,6 +45,8 @@ protected:
void showEvent(QShowEvent *evt);
private:
+ void apply();
+
Ui::PreferencesDialog *pd_ui_;
QHash<QString, QWidget*> prefs_pane_to_item_;
@@ -52,7 +55,7 @@ private:
AdvancedPrefsModel advancedPrefsModel_;
AdvancedPrefDelegate advancedPrefsDelegate_;
ModulePrefsModel modulePrefsModel_;
- gboolean saved_capture_no_extcap_;
+ bool saved_capture_no_extcap_;
QTimer *searchLineEditTimer;
QString searchLineEditText;
@@ -65,6 +68,7 @@ private slots:
void on_buttonBox_accepted();
void on_buttonBox_rejected();
void on_buttonBox_helpRequested();
+ void on_buttonBox_clicked(QAbstractButton *button);
/**
* Update search results from the advancedSearchLineEdit field