blob: b5b312ac2b6053f96aee5760a36f25ee9f1729f8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#ifndef ADDRESSBAR_H
#define ADDRESSBAR_H
#include <QWidget>
#include "urllineedit.h"
#include <webengine/webview.h>
class AddressBar : public QWidget
{
Q_OBJECT
public:
explicit AddressBar(QWidget *parent = nullptr);
signals:
void addressEntered(const QUrl &url);
void searchTermEntered(const QString &term);
public slots:
void setWebView(const WebView *view);
private:
UrlLineEdit *m_urlLineEdit;
};
#endif // ADDRESSBAR_H
|