summaryrefslogtreecommitdiffstats
path: root/generator/headergenerator.cpp
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-12-03 16:55:09 -0200
committerHugo Parente Lima <hugo.pl@gmail.com>2010-12-03 17:44:25 -0200
commit53a4a73c516bbeec546cb20234dad6bd9912fdaa (patch)
treef0f297492dc8b1b7e9b7f71154935fc7bf1e8bfe /generator/headergenerator.cpp
parent07f1fe9dc97e05247043b3e579d94d323a2a48dc (diff)
downloadshiboken-53a4a73c516bbeec546cb20234dad6bd9912fdaa.tar.gz
shiboken-53a4a73c516bbeec546cb20234dad6bd9912fdaa.tar.xz
shiboken-53a4a73c516bbeec546cb20234dad6bd9912fdaa.zip
Write a simpler code to deal with dynamic QMetaObjects.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
Diffstat (limited to 'generator/headergenerator.cpp')
-rw-r--r--generator/headergenerator.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/generator/headergenerator.cpp b/generator/headergenerator.cpp
index 76206d32..7a49a8c4 100644
--- a/generator/headergenerator.cpp
+++ b/generator/headergenerator.cpp
@@ -123,8 +123,6 @@ void HeaderGenerator::generateClass(QTextStream& s, const AbstractMetaClass* met
if (usePySideExtensions() && metaClass->isQObject()) {
s << "public:\n";
s << INDENT << "virtual int qt_metacall(QMetaObject::Call call, int id, void** args);\n";
- s << "private:\n";
- s << INDENT << "mutable PySide::DynamicQMetaObject* m_metaObject;\n";
}
#ifdef AVOID_PROTECTED_HACK