diff options
author | Hugo Lima <hugo.lima@openbossa.org> | 2009-12-02 14:52:32 -0200 |
---|---|---|
committer | Hugo Lima <hugo.lima@openbossa.org> | 2009-12-02 17:42:40 -0200 |
commit | 943a413287b522475532583147a78c6517613006 (patch) | |
tree | b3db64d3bed9963d66ccf511648f5e363669df55 /headergenerator.cpp | |
parent | 2348f619a3a75036527bc311c57987dc4eb9c345 (diff) |
Remove Qt specific and useless code from header generator.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'headergenerator.cpp')
-rw-r--r-- | headergenerator.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/headergenerator.cpp b/headergenerator.cpp index 9992fa111..f0ef4ddfb 100644 --- a/headergenerator.cpp +++ b/headergenerator.cpp @@ -88,9 +88,6 @@ void HeaderGenerator::generateClass(QTextStream& s, const AbstractMetaClass* met writeCodeSnips(s, metaClass->typeEntry()->codeSnips(), CodeSnip::Declaration, TypeSystem::NativeCode); - if (metaClass->isQObject() && (metaClass->name() != "QObject")) - s << INDENT << "using QObject::parent;" << endl; - s << "};" << endl << endl; } |