void MurmurIce::idToTextureSlot(QByteArray &qba, int id) { ::Server *server = qobject_cast< ::Server *> (sender()); ServerAuthenticatorPrx prx = mi->qmServerAuthenticator.value(server->iServerNum); try { const ::Murmur::Texture &tex = prx->idToTexture(id); qba.resize(static_cast<int>(tex.size())); char *ptr = qba.data(); for (unsigned int i=0;i<tex.size();++i) ptr[i] = tex[i]; } catch (...) { badAuthenticator(server); } }