Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
copy_from_profile_button.h
Go to the documentation of this file.
1
10#ifndef COPY_FROM_PROFILE_BUTTON_H
11#define COPY_FROM_PROFILE_BUTTON_H
12
13#include <config.h>
14
15#include <QMenu>
16#include <QPushButton>
17#include <QDialogButtonBox>
18#include <QMetaObject>
19
20class CopyFromProfileButton : public QPushButton
21{
22 Q_OBJECT
23
24public:
25 CopyFromProfileButton(QWidget * parent = Q_NULLPTR, QString profileFile = QString(), QString toolTip = QString());
26
27 void setFilename(QString filename);
28
29signals:
30 void copyProfile(QString filename);
31
32private:
33 QString filename_;
34 QMenu * buttonMenu_;
35
36 QAction * systemDefault(QString filename);
37
38private slots:
39 void menuActionTriggered(QAction *);
40};
41
42#endif // COPY_FROM_PROFILE_BUTTON_H
Definition copy_from_profile_button.h:21