On lundi 9 janvier 2017 23:54:26 CET D. Michael McIntyre wrote: > There must be some way to > get control of all that context nonsense without having to > QCoreApplication::translate() everywhere, but maybe there isn't.
Note that you can use Q_DECLARE_TR_FUNCTIONS in classes that don't derive from QObject, so you almost never need to spell out the full QCoreApplication::translate() ... except in main() itself. But yeah that's not "get control" as in "choosing something different from the class name", in the case of QObjects. The only way to get rid of classnames is to switch to gettext ;-) -- David Faure, [email protected], http://www.davidfaure.fr Working on KDE Frameworks 5 ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi _______________________________________________ Rosegarden-devel mailing list [email protected] - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-devel
