30 return method.parameterTypes ().value (0) ==
"LC::IHookProxy_ptr";
35 const auto objMo =
obj->metaObject ();
38 for (
int i = 0, size =
objMo->methodCount ();
i < size; ++
i)
61 const auto rcvMo =
rcv->metaObject ();
63 for (
int i = 0, size =
rcvMo->methodCount ();
i < size; ++
i)
73 <<
"no method matching method"
77 <<
") in sender object"
86 return QMetaObject::checkConnectArgs (sndMethod, rcvMethod);
89 <<
"incompatible signatures for hook"
98#define LC_N(a) (QMetaObject::normalizedSignature(a))
99#define LC_TOSLOT(a) ('1' + QByteArray(a))
100#define LC_TOSIGNAL(a) ('2' + QByteArray(a))
107 for (
int i = 0, size =
mo->methodCount ();
i < size; ++
i)
110 if (
method.methodType () != QMetaMethod::Signal)
122 <<
"not found meta method for"
124 <<
"in receiver object"
130 if (!QObject::connect (
sender,
134 Qt::UniqueConnection))
virtual ~BaseHookInterconnector()
Virtual destructor.
virtual void AddPlugin(QObject *plugin)
Adds a subplugin to this interconnector.
QList< QObject * > Plugins_
void RegisterHookable(QObject *hookable)
Adds a hookable object from the root plugin.
BaseHookInterconnector(QObject *parent=0)
Creates the interconnector with the given parent.
Container< T > Filter(const Container< T > &c, F f)