diff options
Diffstat (limited to 'src/webview.h')
-rw-r--r-- | src/webview.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/webview.h b/src/webview.h index b896ad6..70b5a6e 100644 --- a/src/webview.h +++ b/src/webview.h @@ -1,22 +1,21 @@ #ifndef WEBVIEW_H #define WEBVIEW_H -#include <QWebEngineView> #include <QSettings> +#include <QWebEngineView> -class WebView: public QWebEngineView -{ - Q_OBJECT +class WebView : public QWebEngineView { + Q_OBJECT public: - WebView(QWidget *parent = nullptr, QStringList dictionaries = {}); + WebView(QWidget *parent = nullptr, QStringList dictionaries = {}); protected: - void contextMenuEvent(QContextMenuEvent *event) override; + void contextMenuEvent(QContextMenuEvent *event) override; private: - QStringList m_dictionaries; - QSettings settings; + QStringList m_dictionaries; + QSettings settings; }; #endif // WEBVIEW_H |