Quote Originally Posted by drkbkr View Post
The one I'd really like to get to work is the "No" string where the QString and tr call are in the strings class.
Would such class (or namespace) be acceptable to you?
Qt Code:
  1. class strings
  2. {
  3. public:
  4. enum StringConstant
  5. {
  6. Yes = 0,
  7. No = 1,
  8. AndSoOn = 2
  9. };
  10.  
  11. static QString get( StringConstant str );
  12. ...
  13. };
  14. ...
  15. label->setText( strings::get( strings::No ) );
To copy to clipboard, switch view to plain text mode