aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/profile_dialog.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2012-12-30 19:33:05 +0000
committerGerald Combs <gerald@wireshark.org>2012-12-30 19:33:05 +0000
commit4ca47864db302c67baaccc6de20c974753ec60e5 (patch)
tree2c709c645c5d5f13cab446e4337a35df004122a8 /ui/qt/profile_dialog.h
parentaf2b925604c272b2e348e8a1db60d0550961176b (diff)
Move profile deletion code from profile_dlg.c to profile.c. Add left
mouse and context (right mouse) signals to label stacks and use them to pop up profile menus in the status bar. Add profile actions (manage, new, edit, delete) to the profile dialog. svn path=/trunk/; revision=46863
Diffstat (limited to 'ui/qt/profile_dialog.h')
-rw-r--r--ui/qt/profile_dialog.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/ui/qt/profile_dialog.h b/ui/qt/profile_dialog.h
index 72fac2106e..5325df303c 100644
--- a/ui/qt/profile_dialog.h
+++ b/ui/qt/profile_dialog.h
@@ -37,9 +37,13 @@ class ProfileDialog : public QDialog
Q_OBJECT
public:
+ enum ProfileAction { ShowProfiles, NewProfile, EditCurrentProfile, DeleteCurrentProfile };
+
explicit ProfileDialog(QWidget *parent = 0);
~ProfileDialog();
-
+ int execAction(ProfileAction profile_action);
+
+
private:
void updateWidgets();
Ui::ProfileDialog *pd_ui_;