Increased global receiver maximun slots support.
Fixes bug #312. Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
This commit is contained in:
parent
149646c766
commit
42f9176669
2 changed files with 41 additions and 9 deletions
|
|
@ -32,6 +32,7 @@
|
|||
#include "signalmanager.h"
|
||||
|
||||
#define RECEIVER_DESTROYED_SLOT_NAME "__receiverDestroyed__(QObject*)"
|
||||
#define GLOBAL_RECEIVER_CLASS_NAME "__GlobalReceiver__"
|
||||
|
||||
namespace PySide
|
||||
{
|
||||
|
|
@ -108,7 +109,7 @@ DynamicSlotData::~DynamicSlotData()
|
|||
|
||||
|
||||
GlobalReceiver::GlobalReceiver()
|
||||
: m_metaObject("GlobalReceiver", &QObject::staticMetaObject)
|
||||
: m_metaObject(GLOBAL_RECEIVER_CLASS_NAME, &QObject::staticMetaObject)
|
||||
{
|
||||
//slot used to be notifyed of object destrouction
|
||||
m_metaObject.addSlot(RECEIVER_DESTROYED_SLOT_NAME);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue