Can't you do something like:// after the call i want to get the list of QObjects who has set the eventFilters
// on objA, somthing like QList<QObject*> list = objA->getEventFilters();
// Now list.at(0) will contain objB pointer.
Qt Code:
{ objB->setEventFilter(objA); g_filterList.push_back(objB); }To copy to clipboard, switch view to plain text mode





Reply With Quote

Bookmarks