diff options
Diffstat (limited to 'qt-ui/usermanual.h')
-rw-r--r-- | qt-ui/usermanual.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/qt-ui/usermanual.h b/qt-ui/usermanual.h index 7cd10c185..c36226027 100644 --- a/qt-ui/usermanual.h +++ b/qt-ui/usermanual.h @@ -21,20 +21,19 @@ private: Ui::SearchBar ui; }; -class UserManual : public QWebView { +class UserManual : public QWidget { Q_OBJECT public: explicit UserManual(QWidget *parent = 0); - ~UserManual(); private slots: void searchTextChanged(const QString& s); void searchNext(); void searchPrev(); - void linkClickedSlot(QUrl url); - + void linkClickedSlot(const QUrl& url); private: + QWebView *userManual; SearchBar *searchBar; QString mLastText; void search(QString, QWebPage::FindFlags); |