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

QString KalleryFunctions::convertEncodingName ( const QString &  encoding  )  [private]

Convert the encoding names from KDE format to HTML format.

encoding the KDE format
the format accepted in HTML files

Definition at line 1238 of file kalleryfunctions.cpp.

Referenced by createHtmlForImage(), and createHtmls().

  QString str = encoding;
  str.replace("iso ", "iso-"); //it's said that "iso-8859-x" is the valid format
  str.replace("utf", "utf-"); //it's said that "utf-x" is the valid format
  str.replace("cp ", "windows-");
  return str;

Generated by  Doxygen 1.6.0   Back to index