summaryrefslogtreecommitdiff
path: root/src/core/api/qwebenginescript.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/api/qwebenginescript.h')
-rw-r--r--src/core/api/qwebenginescript.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/api/qwebenginescript.h b/src/core/api/qwebenginescript.h
index 42a98e3e2..0c1849dac 100644
--- a/src/core/api/qwebenginescript.h
+++ b/src/core/api/qwebenginescript.h
@@ -85,8 +85,6 @@ public:
QWebEngineScript &operator=(const QWebEngineScript &other);
- bool isNull() const;
-
QString name() const;
void setName(const QString &);
@@ -119,7 +117,7 @@ private:
QSharedDataPointer<QtWebEngineCore::UserScript> d;
};
-Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QWebEngineScript)
+Q_DECLARE_TYPEINFO(QWebEngineScript, Q_MOVABLE_TYPE);
#ifndef QT_NO_DEBUG_STREAM
Q_WEBENGINECORE_EXPORT QDebug operator<<(QDebug, const QWebEngineScript &);