Logo Search packages:      
Sourcecode: kchmviewer version File versions  Download package

QString CHMFile::encodeInternalWithCurrentCodec ( const QString &  str  )  const [inline, private]

Encode the string from internal files with the currently selected text codec, if possible. Or return as-is, if not.

Definition at line 296 of file xchmfile.h.

Referenced by GetFileContentAsString().

      {
            return (m_textCodecForSpecialFiles ? m_textCodecForSpecialFiles->toUnicode (str) : str);
      }


Generated by  Doxygen 1.6.0   Back to index