|
|
@ -323,10 +323,10 @@ one TQt class.</P
|
|
|
|
In a normal TQt installation, every descendant of TQObject inherits two methods
|
|
|
|
In a normal TQt installation, every descendant of TQObject inherits two methods
|
|
|
|
(tr (const char *) and tr (const char *, const char *) from TQObject explicitly
|
|
|
|
(tr (const char *) and tr (const char *, const char *) from TQObject explicitly
|
|
|
|
and also overloads these methods via the moc mechanism (by defining Q_OBJECT
|
|
|
|
and also overloads these methods via the moc mechanism (by defining Q_OBJECT
|
|
|
|
in the class declaration). KDE however is compiled with -DQT_NO_TRANSLATION,
|
|
|
|
in the class declaration). KDE however is compiled with -DTQT_NO_TRANSLATION,
|
|
|
|
which prevents moc from creating the overloading tr() methods, and also produces
|
|
|
|
which prevents moc from creating the overloading tr() methods, and also produces
|
|
|
|
side-effects with a normal TQt installation which was compiled without the
|
|
|
|
side-effects with a normal TQt installation which was compiled without the
|
|
|
|
-DQT_NO_TRANSLATION switch.
|
|
|
|
-DTQT_NO_TRANSLATION switch.
|
|
|
|
</P>
|
|
|
|
</P>
|
|
|
|
<P>
|
|
|
|
<P>
|
|
|
|
PyKDE handles this situation by NOT providing tr() methods (either the inherited
|
|
|
|
PyKDE handles this situation by NOT providing tr() methods (either the inherited
|
|
|
|