diff options
Diffstat (limited to 'src/script/api/qscriptprogram.h')
-rw-r--r-- | src/script/api/qscriptprogram.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script/api/qscriptprogram.h b/src/script/api/qscriptprogram.h index 6ab56dc..de891cd 100644 --- a/src/script/api/qscriptprogram.h +++ b/src/script/api/qscriptprogram.h @@ -59,7 +59,7 @@ public: QScriptProgram(); QScriptProgram(const QString &sourceCode, const QString fileName = QString(), - int lineNumber = 1); + int firstLineNumber = 1); QScriptProgram(const QScriptProgram &other); ~QScriptProgram(); @@ -69,7 +69,7 @@ public: QString sourceCode() const; QString fileName() const; - int lineNumber() const; + int firstLineNumber() const; bool operator==(const QScriptProgram &other) const; bool operator!=(const QScriptProgram &other) const; |