bool MessageReceiverTask::take( Transfer* transfer ) { if ( !forMe( transfer ) ) return false; YMSGTransfer *t = 0L; t = dynamic_cast<YMSGTransfer*>(transfer); if (!t) return false; if( t->service() == Yahoo::ServiceNotify ) parseNotify( t ); else parseMessage( t ); return true; }
void XtrazRequestPrivate::parse(const QString &query, const QString ¬ify) { parseQuery(query); if (!pluginId.isEmpty()) parseNotify(notify); }