aboutsummaryrefslogtreecommitdiff
path: root/src/forms/profiledialog.h
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2017-04-01 13:19:55 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2017-04-01 13:19:55 +0200
commit67d1767533a8bfa87cc0744db469b890177307b7 (patch)
treeac02a535ff794f8141e4691cddc227c3a2757dd7 /src/forms/profiledialog.h
parentAdded cookie widget (diff)
downloadsmolbote-67d1767533a8bfa87cc0744db469b890177307b7.tar.xz
Moved CookiesForm into the ProfileDialog
Diffstat (limited to 'src/forms/profiledialog.h')
-rw-r--r--src/forms/profiledialog.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/forms/profiledialog.h b/src/forms/profiledialog.h
index ab367d8..79f85b1 100644
--- a/src/forms/profiledialog.h
+++ b/src/forms/profiledialog.h
@@ -22,26 +22,32 @@
#define PROFILEDIALOG_H
#include <QDialog>
-#include <QWebEngineProfile>
namespace Ui {
class ProfileDialog;
}
+class WebEngineProfile;
+class CookiesForm;
class ProfileDialog : public QDialog
{
Q_OBJECT
public:
- explicit ProfileDialog(QWebEngineProfile *profile, QWidget *parent = 0);
+ explicit ProfileDialog(WebEngineProfile *profile, QWidget *parent = 0);
~ProfileDialog();
+public slots:
+ void showProfile();
+ void showCookies();
+
private slots:
void updateProfile();
private:
- QWebEngineProfile *_profile;
+ WebEngineProfile *_profile;
Ui::ProfileDialog *ui;
+ CookiesForm *m_cookiesForm;
};
#endif // PROFILEDIALOG_H