Help: Disambiguate the HelpPage classes from QtWebKit and WebEngine

This way the help viewers can coexist and the building against a
version of Qt that has both webkit and webengine available doesn't
fail anymore.

Change-Id: I2de00b03fc7b127899cbf90b91fc2cfb090a47a5
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
This commit is contained in:
Ulf Hermann
2016-03-31 11:49:00 +02:00
parent 4707fc4945
commit 2ce3bf8ed4
4 changed files with 24 additions and 24 deletions

View File

@@ -36,7 +36,7 @@
namespace Help {
namespace Internal {
class HelpPage;
class QtWebKitHelpPage;
class QtWebKitHelpWidget;
class QtWebKitHelpViewer : public HelpViewer
@@ -70,7 +70,7 @@ public:
bool findText(const QString &text, Core::FindFlags flags,
bool incremental, bool fromSearch, bool *wrapped = 0);
HelpPage *page() const;
QtWebKitHelpPage *page() const;
public slots:
void scaleUp();
@@ -128,11 +128,11 @@ private:
QtWebKitHelpViewer *m_parent;
};
class HelpPage : public QWebPage
class QtWebKitHelpPage : public QWebPage
{
Q_OBJECT
public:
HelpPage(QObject *parent);
QtWebKitHelpPage(QObject *parent);
protected:
virtual QWebPage *createWindow(QWebPage::WebWindowType);