summaryrefslogtreecommitdiffstats
path: root/src/script/api/qscriptengine.cpp
diff options
context:
space:
mode:
authorGeir Vattekar <geir.vattekar@nokia.com>2010-06-15 12:02:32 (GMT)
committerGeir Vattekar <geir.vattekar@nokia.com>2010-06-15 12:02:32 (GMT)
commitac3c3b3a19207328ffbcbdada10ef61291caba15 (patch)
treea33f216d62aa506448f7fb6cbdf7640f5f223fe0 /src/script/api/qscriptengine.cpp
parentc5b06919a8fb5d20aae41f0edf9e2ffa99eb1a8a (diff)
parenta041e4eca3467c1baa6245b6fb47def127f30f41 (diff)
downloadQt-ac3c3b3a19207328ffbcbdada10ef61291caba15.zip
Qt-ac3c3b3a19207328ffbcbdada10ef61291caba15.tar.gz
Qt-ac3c3b3a19207328ffbcbdada10ef61291caba15.tar.bz2
Merge branch '4.7' of git@scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.7
Diffstat (limited to 'src/script/api/qscriptengine.cpp')
-rw-r--r--src/script/api/qscriptengine.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/script/api/qscriptengine.cpp b/src/script/api/qscriptengine.cpp
index 86915bb..f02ea52 100644
--- a/src/script/api/qscriptengine.cpp
+++ b/src/script/api/qscriptengine.cpp
@@ -1525,7 +1525,7 @@ void QScriptEnginePrivate::detachAllRegisteredScriptStrings()
#ifndef QT_NO_REGEXP
-Q_DECL_IMPORT extern QString qt_regexp_toCanonical(const QString &, QRegExp::PatternSyntax);
+Q_CORE_EXPORT QString qt_regexp_toCanonical(const QString &, QRegExp::PatternSyntax);
JSC::JSValue QScriptEnginePrivate::newRegExp(JSC::ExecState *exec, const QRegExp &regexp)
{
@@ -2020,8 +2020,6 @@ QScriptValue QScriptEngine::newFunction(QScriptEngine::FunctionSignature fun,
#ifndef QT_NO_REGEXP
-Q_DECL_IMPORT extern QString qt_regexp_toCanonical(const QString &, QRegExp::PatternSyntax);
-
/*!
Creates a QtScript object of class RegExp with the given
\a regexp.