diff options
author | renatofilho <renato.filho@openbossa.org> | 2010-09-14 13:03:39 -0300 |
---|---|---|
committer | renatofilho <renato.filho@openbossa.org> | 2010-09-14 18:31:02 -0300 |
commit | 42f917666904f4eb93002eae2de70d1f225f438f (patch) | |
tree | 533fd8c378cea9331c6e0d41bdcbe88245746ca6 /libpyside/globalreceiver.cpp | |
parent | 149646c766fd46f7f59922436c0323fd6a2d78a4 (diff) |
Increased global receiver maximun slots support.
Fixes bug #312.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'libpyside/globalreceiver.cpp')
-rw-r--r-- | libpyside/globalreceiver.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libpyside/globalreceiver.cpp b/libpyside/globalreceiver.cpp index 1b658e230..2dd82aab4 100644 --- a/libpyside/globalreceiver.cpp +++ b/libpyside/globalreceiver.cpp @@ -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); |