summaryrefslogtreecommitdiffstats
path: root/generator/headergenerator.cpp
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-11-19 18:01:23 -0200
committerHugo Parente Lima <hugo.pl@gmail.com>2010-11-23 13:37:10 -0200
commit04dea49498d185e4be30987e0790c8b45aaef18b (patch)
treedfb58c8271996082e41ff4ab3752757bea168c45 /generator/headergenerator.cpp
parentea46607ca87ce2233529c8177ab51424337613d2 (diff)
downloadshiboken-04dea49498d185e4be30987e0790c8b45aaef18b.tar.gz
shiboken-04dea49498d185e4be30987e0790c8b45aaef18b.tar.xz
shiboken-04dea49498d185e4be30987e0790c8b45aaef18b.zip
Namespace Shiboken::Wrapper renamed to Shiboken::Object.
Diffstat (limited to 'generator/headergenerator.cpp')
-rw-r--r--generator/headergenerator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/generator/headergenerator.cpp b/generator/headergenerator.cpp
index 3f14712b..4775331c 100644
--- a/generator/headergenerator.cpp
+++ b/generator/headergenerator.cpp
@@ -434,7 +434,7 @@ void HeaderGenerator::finishGeneration()
s << INDENT << metaClass->qualifiedCppName() << "* value = const_cast<" << metaClass->qualifiedCppName() << "* >(cppobj);" << endl;
s << INDENT << "if (!isExactType)" << endl;
s << INDENT << INDENT << "typeName = typeid(*value).name();" << endl;
- s << INDENT << "PyObject* pyObj = Shiboken::Wrapper::newObject(reinterpret_cast<SbkObjectType*>(SbkType< ::" << metaClass->qualifiedCppName() << " >()),"
+ s << INDENT << "PyObject* pyObj = Shiboken::Object::newObject(reinterpret_cast<SbkObjectType*>(SbkType< ::" << metaClass->qualifiedCppName() << " >()),"
<< "value, hasOwnership, isExactType, typeName);" << endl;
s << INDENT << "PySide::Signal::updateSourceObject(pyObj);" << endl;
s << INDENT << "return pyObj;" << endl;