diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2017-01-12 13:52:45 +0100 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2017-01-12 13:52:45 +0100 |
commit | f9ed795730acbc3155990e8d99e24447f808fc7f (patch) | |
tree | a2ddea654465485dc56747e3d092ca06f671b1a9 /src/forms/profiledialog.h | |
parent | New Window action now works (diff) | |
download | smolbote-f9ed795730acbc3155990e8d99e24447f808fc7f.tar.xz |
Viewing and editing user agent of default profile
Diffstat (limited to 'src/forms/profiledialog.h')
-rw-r--r-- | src/forms/profiledialog.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/forms/profiledialog.h b/src/forms/profiledialog.h new file mode 100644 index 0000000..98426d0 --- /dev/null +++ b/src/forms/profiledialog.h @@ -0,0 +1,27 @@ +#ifndef PROFILEDIALOG_H +#define PROFILEDIALOG_H + +#include <QDialog> +#include <QWebEngineProfile> + +namespace Ui { +class ProfileDialog; +} + +class ProfileDialog : public QDialog +{ + Q_OBJECT + +public: + explicit ProfileDialog(QWebEngineProfile *profile, QWidget *parent = 0); + ~ProfileDialog(); + +private slots: + void saveProfile(); + +private: + QWebEngineProfile *_profile; + Ui::ProfileDialog *ui; +}; + +#endif // PROFILEDIALOG_H |