Lines Matching defs:sender
45 bool hasPendingEvents(T* sender) const
47 return m_dispatchSoonList.find(sender) != notFound || m_dispatchingList.find(sender) != notFound;
66 template<typename T> void EventSender<T>::dispatchEventSoon(T* sender)
68 m_dispatchSoonList.append(sender);
73 template<typename T> void EventSender<T>::cancelEvent(T* sender)
75 // Remove instances of this sender from both lists.
79 if (m_dispatchSoonList[i] == sender)
84 if (m_dispatchingList[i] == sender)
104 if (T* sender = m_dispatchingList[i]) {
106 sender->dispatchPendingEvent(this);