Lines Matching refs:message
69 * Used in message reader to detect the end of message block */
198 const QMMessage &message = m_messageArray[iter->offset];
199 if ((!pszContext || !*pszContext || message.strContext == pszContext) &&
200 message.strSource == pszSource &&
201 ((pszDisamb && !*pszDisamb) || message.strComment == pszDisamb))
286 QMMessage message;
289 parseMessageRecord(stream, &message);
290 if (!message.hash)
291 message.hash = calculateHash(message.strSource.c_str(), message.strComment.c_str());
293 hashOffs.hash = message.hash;
297 messageArray->push_back(message);
302 /* Parse one message from the stream */
303 static void parseMessageRecord(QMBytesStream &stream, QMMessage * const message)
320 message->strTranslation.swap(str);
324 message->hash = stream.read32();
330 message->strSource.swap(str);
337 message->strContext.swap(str);
344 message->strComment.swap(str);
350 LogRel(("QMTranslator::parseMessageRecord(): Unkown message block %x\n", type));