summaryrefslogtreecommitdiffstats
path: root/generator/headergenerator.cpp
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-11-19 16:56:22 -0200
committerHugo Parente Lima <hugo.pl@gmail.com>2010-11-19 16:56:22 -0200
commit36b1807b8c5fe75faf87a593ac0e1d7e9ac8b887 (patch)
tree7abdab9e114a8837f01d093634063848ef6975a1 /generator/headergenerator.cpp
parentb2096155a231797afd397acc8908acb691f3c732 (diff)
downloadshiboken-36b1807b8c5fe75faf87a593ac0e1d7e9ac8b887.tar.gz
shiboken-36b1807b8c5fe75faf87a593ac0e1d7e9ac8b887.tar.xz
shiboken-36b1807b8c5fe75faf87a593ac0e1d7e9ac8b887.zip
Rename SbkBaseType back to SbkObjectType.
Diffstat (limited to 'generator/headergenerator.cpp')
-rw-r--r--generator/headergenerator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/generator/headergenerator.cpp b/generator/headergenerator.cpp
index 590aea38..f1b8086d 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<SbkBaseType*>(SbkType<" << metaClass->qualifiedCppName() << " >()),"
+ s << INDENT << "PyObject* pyObj = Shiboken::Wrapper::newObject(reinterpret_cast<SbkObjectType*>(SbkType<" << metaClass->qualifiedCppName() << " >()),"
<< "value, hasOwnership, isExactType, typeName);" << endl;
s << INDENT << "PySide::Signal::updateSourceObject(pyObj);" << endl;
s << INDENT << "return pyObj;" << endl;
@@ -531,7 +531,7 @@ void HeaderGenerator::writeTypeConverterImpl(QTextStream& s, const TypeEntry* ty
}
- s << INDENT << "SbkBaseType* shiboType = reinterpret_cast<SbkBaseType*>(SbkType<";
+ s << INDENT << "SbkObjectType* shiboType = reinterpret_cast<SbkObjectType*>(SbkType<";
s << type->name() << " >());" << endl;
s << INDENT << "return ";
bool isFirst = true;