diff options
-rw-r--r-- | cppgenerator.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/cppgenerator.cpp b/cppgenerator.cpp index f06ecb12c..16f43ba25 100644 --- a/cppgenerator.cpp +++ b/cppgenerator.cpp @@ -150,11 +150,6 @@ void CppGenerator::generateClass(QTextStream &s, const AbstractMetaClass *metaCl s << "#include \"" << getModuleHeaderFileName() << '"' << endl << endl; - QString converterImpl; - QTextStream convImpl(&converterImpl); - QString copyCppObjectImpl; - QTextStream copyImpl(©CppObjectImpl); - QString headerfile = fileNameForClass(metaClass); headerfile.replace("cpp", "h"); s << "#include \"" << headerfile << '"' << endl; @@ -355,13 +350,6 @@ void CppGenerator::generateClass(QTextStream &s, const AbstractMetaClass *metaCl s << endl << "} // extern \"C\"" << endl << endl; - s << "namespace Shiboken" << endl << '{' << endl; - s << "// Copy C++ object implementation" << endl; - s << copyCppObjectImpl; - s << "// Converter implementations" << endl; - s << converterImpl; - s << "} // namespace Shiboken" << endl << endl; - // class inject-code native/end if (!metaClass->typeEntry()->codeSnips().isEmpty()) { writeCodeSnips(s, metaClass->typeEntry()->codeSnips(), CodeSnip::End, TypeSystem::NativeCode, 0, 0, metaClass); |