[QtEI] Translation suggestion

arne anka openmoko at ginguppin.de
Thu Apr 30 15:29:57 CEST 2009


> Another consideration is that tr() is only available in classes derived  
> from
> QObject - but since normally the strings you want to translate are  
> generated
> in Gui-classes this is normally the case.

iirc tr is a static method of QObject, ie QObject::tr() should be possible  
regardless of inheritance.




More information about the community mailing list