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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user