We have a nice Dynamic MetaObject! Yay!

Python signals and slots are like C++ signals and slots to Qt :-)
This commit is contained in:
Hugo Lima 2009-12-16 21:10:15 -02:00
commit 9e1a1ec8a7
9 changed files with 275 additions and 32 deletions

View file

@ -40,7 +40,7 @@
using namespace PySide;
ProxySlot::ProxySlot(QObject* signalSource) : m_signalSource(signalSource)
ProxySlot::ProxySlot(const QObject* signalSource) : m_metaObject(signalSource), m_signalSource(signalSource)
{
m_nextSlotIndex = m_signalSource->metaObject()->methodCount()-1;
}