aboutsummaryrefslogtreecommitdiff
path: root/src/lib/navigation/urllineedit.h
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2017-12-20 14:57:07 +0100
committerAqua-sama <aqua@iserlohn-fortress.net>2017-12-20 14:57:07 +0100
commitf66090da906348aea769173c2d2333015a898c84 (patch)
tree9a22d7ea632f4b16b604aed4565dbeb28bc4727e /src/lib/navigation/urllineedit.h
parentCan now open links in new tab (diff)
downloadsmolbote-f66090da906348aea769173c2d2333015a898c84.tar.xz
Added SSL cert warnings
Diffstat (limited to 'src/lib/navigation/urllineedit.h')
-rw-r--r--src/lib/navigation/urllineedit.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/navigation/urllineedit.h b/src/lib/navigation/urllineedit.h
index 19be2d2..cef0830 100644
--- a/src/lib/navigation/urllineedit.h
+++ b/src/lib/navigation/urllineedit.h
@@ -15,6 +15,7 @@
#include <QAction>
class QMenu;
+class QLabel;
class UrlLineEdit : public QLineEdit
{
Q_OBJECT
@@ -30,6 +31,7 @@ signals:
public slots:
void setUrl(const QUrl &url);
+ void showSslError(const QString &message);
protected:
void focusInEvent(QFocusEvent *event);
@@ -48,6 +50,10 @@ private:
QAction *m_sslAction = nullptr;
QAction *m_pageAction = nullptr;
+ // ssl menu
+ QMenu *m_sslMenu;
+ QLabel *m_sslLabel;
+
QMenu *m_menu;
QListWidget *listWidget;
};