diff options
author | Jędrzej Nowacki <jedrzej.nowacki@theqtcompany.com> | 2014-11-14 11:19:10 +0100 |
---|---|---|
committer | Jędrzej Nowacki <jedrzej.nowacki@digia.com> | 2014-11-17 15:01:49 +0100 |
commit | af7176e54da156a2ac3a52157e47d70cea27352c (patch) | |
tree | 0ac5e5f2bd1864ba91c4edc83760aead8ecfe04b /tools | |
parent | 46c51861822c4ee8f0e7d7f5ecc23d1595cf5c1d (diff) | |
download | qtactiveqt-af7176e54da156a2ac3a52157e47d70cea27352c.tar.gz |
Update activeqt to use new QMetaType::registerNormalizedType signature
Change-Id: I492841b4c34396da250254822509e71193645ed7
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/dumpcpp/main.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/tools/dumpcpp/main.cpp b/tools/dumpcpp/main.cpp index 8a55a36..e9161f5 100644 --- a/tools/dumpcpp/main.cpp +++ b/tools/dumpcpp/main.cpp @@ -1437,15 +1437,6 @@ bool generateTypeLibrary(const QByteArray &typeLib, const QByteArray &outname, O declOut << "template<>" << endl; declOut << "struct QMetaTypeFunctionHelper<" << libName << "::" << subType << ", /* Accepted */ true> {" << endl; - declOut << " static void Delete(void *t) { delete static_cast<" << libName << "::" << subType << "*>(t); }" << endl; - - declOut << " static void *Create(const void *t)" << endl; - declOut << " {" << endl; - declOut << " Q_ASSERT(!t);" << endl; - declOut << " Q_UNUSED(t)" << endl; // Silence warnings for release builds - declOut << " return new " << libName << "::" << subType << "();" << endl; - declOut << " }" << endl; - declOut << " static void Destruct(void *t)" << endl; declOut << " {" << endl; declOut << " Q_UNUSED(t)" << endl; // Silence MSVC that warns for POD types. |