forked from qt-creator/qt-creator
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:
@@ -40,10 +40,10 @@ public:
|
||||
void requestStarted(QWebEngineUrlRequestJob *job) override;
|
||||
};
|
||||
|
||||
class HelpPage : public QWebEnginePage
|
||||
class WebEngineHelpPage : public QWebEnginePage
|
||||
{
|
||||
public:
|
||||
explicit HelpPage(QObject *parent = 0);
|
||||
explicit WebEngineHelpPage(QObject *parent = 0);
|
||||
QWebEnginePage *createWindow(QWebEnginePage::WebWindowType) override;
|
||||
};
|
||||
|
||||
@@ -83,7 +83,7 @@ public:
|
||||
void setOpenInNewPageActionVisible(bool visible) override;
|
||||
bool findText(const QString &text, Core::FindFlags flags, bool incremental, bool fromSearch, bool *wrapped) override;
|
||||
|
||||
HelpPage *page() const;
|
||||
WebEngineHelpPage *page() const;
|
||||
|
||||
public slots:
|
||||
void scaleUp() override;
|
||||
|
||||
Reference in New Issue
Block a user