uic
Interface TranslationInterface

All Known Implementing Classes:
Translate

public interface TranslationInterface

Since:
1.1

Method Summary
 String getButtonText(String in)
          In Qt the '&' in front of a character represents a mnemonic; but should not be visible on buttons; this method returns the string sans the '&'.
 char getMnemonic(String in)
          In Qt the '&' in front of a character represents a mnemonic; but should not be visible on buttons; this method returns the first character that follows the '& char.
 String i18n(String in)
          To to internationalisation of a string, you call this method.
 

Method Detail

i18n

public String i18n(String in)
To to internationalisation of a string, you call this method. Note that internationalisation is too long and all the industry has now conformed to the i18n naming (where i18n is a count of characters).

Parameters:
in - the input string you want translated
Returns:
the translated string, or the input when no translation is available.

getButtonText

public String getButtonText(String in)
In Qt the '&' in front of a character represents a mnemonic; but should not be visible on buttons; this method returns the string sans the '&'.


getMnemonic

public char getMnemonic(String in)
In Qt the '&' in front of a character represents a mnemonic; but should not be visible on buttons; this method returns the first character that follows the '& char.



Copyright © 2002,2003 Thomas Zander