void EntryBase::HandleAttentionMessage (const QXmppMessage& msg) { QString jid; QString resource; ClientConnection::Split (msg.from (), &jid, &resource); emit attentionDrawn (msg.body (), resource); }
void MetaEntry::handleRealAttentionDrawn (const QString& text, const QString& var) { ICLEntry *entry = qobject_cast<ICLEntry*> (sender ()); emit attentionDrawn (text, entry->GetEntryName () + '/' + var); }