diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2009-08-12 20:10:57 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-08-12 20:32:24 (GMT) |
commit | 88c6dc6ec7f73de279703b30874b30511901854b (patch) | |
tree | 15d1b87a2f10bbaf9d8e08a8bee75de9ed71afe6 /src/script/api/qscriptengine.cpp | |
parent | 18e548c3f705fa6b4ebfac80fe79fe49dac54a0a (diff) | |
download | Qt-88c6dc6ec7f73de279703b30874b30511901854b.zip Qt-88c6dc6ec7f73de279703b30874b30511901854b.tar.gz Qt-88c6dc6ec7f73de279703b30874b30511901854b.tar.bz2 |
Make simple function getters inline
Diffstat (limited to 'src/script/api/qscriptengine.cpp')
-rw-r--r-- | src/script/api/qscriptengine.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/script/api/qscriptengine.cpp b/src/script/api/qscriptengine.cpp index 9f9242c..e8ea222 100644 --- a/src/script/api/qscriptengine.cpp +++ b/src/script/api/qscriptengine.cpp @@ -1363,20 +1363,6 @@ void QScriptEnginePrivate::detachAllRegisteredScriptValues() } } -QScriptEnginePrivate *QScriptEnginePrivate::get(QScriptEngine *q) -{ - if (!q) - return 0; - return q->d_func(); -} - -QScriptEngine *QScriptEnginePrivate::get(QScriptEnginePrivate *d) -{ - if (!d) - return 0; - return d->q_func(); -} - #ifdef QT_NO_QOBJECT QScriptEngine::QScriptEngine() |