summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-11-03 20:33:31 (GMT)
committerMontel Laurent <montel@kde.org>2016-11-03 20:33:31 (GMT)
commit86fe837ecb2863e7c6120a651be6a07ec4da6ed7 (patch)
tree8f331a818b903f239dc2bf8b2c62392044255924
parent129a159684ac8e062d3d26c27c7aeaaf3e30c956 (diff)
Use 5.8.0 for it
-rw-r--r--webengineviewer/src/webhittestresult.cpp8
-rw-r--r--webengineviewer/src/webhittestresult.h4
2 files changed, 6 insertions, 6 deletions
diff --git a/webengineviewer/src/webhittestresult.cpp b/webengineviewer/src/webhittestresult.cpp
index 1449f65..23b0bce 100644
--- a/webengineviewer/src/webhittestresult.cpp
+++ b/webengineviewer/src/webhittestresult.cpp
@@ -42,7 +42,7 @@ using namespace WebEngineViewer;
class WebEngineViewer::WebHitTestResultPrivate
{
public:
-#if QT_VERSION >= QT_VERSION_CHECK(5, 7, 0)
+#if QT_VERSION >= QT_VERSION_CHECK(5, 8, 0)
WebHitTestResultPrivate(const QWebEngineContextMenuData &data, const QPoint &pos = QPoint(), const QUrl &url = QUrl())
: mIsNull(true),
mIsContentEditable(false),
@@ -67,7 +67,7 @@ public:
init(result.toMap());
}
void init(const QVariantMap &map);
-#if QT_VERSION >= QT_VERSION_CHECK(5, 7, 0)
+#if QT_VERSION >= QT_VERSION_CHECK(5, 8, 0)
void init(const QWebEngineContextMenuData &data);
#endif
@@ -87,7 +87,7 @@ public:
QUrl mPageUrl;
};
-#if QT_VERSION >= QT_VERSION_CHECK(5, 7, 0)
+#if QT_VERSION >= QT_VERSION_CHECK(5, 8, 0)
void WebHitTestResultPrivate::init(const QWebEngineContextMenuData &data)
{
if (data.isValid()) {
@@ -147,7 +147,7 @@ WebHitTestResult::WebHitTestResult(const WebHitTestResult &other)
(*this) = other;
}
-#if QT_VERSION >= QT_VERSION_CHECK(5, 7, 0)
+#if QT_VERSION >= QT_VERSION_CHECK(5, 8, 0)
WebHitTestResult::WebHitTestResult(const QPoint &pos, const QUrl &pageUrl, const QWebEngineContextMenuData &data)
: d(new WebHitTestResultPrivate(data, pos, pageUrl))
{
diff --git a/webengineviewer/src/webhittestresult.h b/webengineviewer/src/webhittestresult.h
index a4d7e78..5751924 100644
--- a/webengineviewer/src/webhittestresult.h
+++ b/webengineviewer/src/webhittestresult.h
@@ -42,7 +42,7 @@
#include <QRect>
#include <QString>
#include <QVariant>
-#if QT_VERSION >= QT_VERSION_CHECK(5, 7, 0)
+#if QT_VERSION >= QT_VERSION_CHECK(5, 8, 0)
#include <QWebEngineContextMenuData>
#endif
@@ -55,7 +55,7 @@ public:
WebHitTestResult();
WebHitTestResult(const QPoint &pos, const QUrl &pageUrl, const QVariant &result);
WebHitTestResult(const WebHitTestResult &other);
-#if QT_VERSION >= QT_VERSION_CHECK(5, 7, 0)
+#if QT_VERSION >= QT_VERSION_CHECK(5, 8, 0)
WebHitTestResult(const QPoint &pos, const QUrl &pageUrl, const QWebEngineContextMenuData &data);
#endif
~WebHitTestResult();