aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/uat_frame.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/qt/uat_frame.h')
-rw-r--r--ui/qt/uat_frame.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ui/qt/uat_frame.h b/ui/qt/uat_frame.h
index 81ae15d53c..02475ca10a 100644
--- a/ui/qt/uat_frame.h
+++ b/ui/qt/uat_frame.h
@@ -16,6 +16,8 @@
#include <ui/qt/models/uat_model.h>
#include <ui/qt/models/uat_delegate.h>
+class CopyFromProfileMenu;
+
namespace Ui {
class UatFrame;
}
@@ -33,11 +35,15 @@ public:
void acceptChanges();
void rejectChanges();
+protected:
+ void showEvent(QShowEvent *);
+
private:
Ui::UatFrame *ui;
UatModel *uat_model_;
UatDelegate *uat_delegate_;
+ CopyFromProfileMenu *copy_from_menu_;
struct epan_uat *uat_;
void checkForErrorHint(const QModelIndex &current, const QModelIndex &previous);
@@ -46,6 +52,7 @@ private:
void applyChanges();
private slots:
+ void copyFromProfile(QAction *action);
void modelDataChanged(const QModelIndex &topLeft);
void modelRowsRemoved();
void modelRowsReset();