PDA

View Full Version : Very simple questuion about tr



blackliteon
14th June 2006, 08:33
Hi all!
Just too many times was with PHP. :)
So, i have a TabWidget, and wish to set one sheet name:

...insertTab(tr("name")...)

but tr function return id, not char*..
:o

Thanx....

wysota
14th June 2006, 08:59
I don't know... Mine returns QString and so does Trolltech's: QObject::tr.

gfunk
14th June 2006, 19:40
What's the exact type name of the id your compiler thinks it is? Or is it an int?