Dne st 30. kv=ECten 2001 09:54 Stephan Kulow napsal(a): > Hi! > [snip] > locale_encoder using that function > 2. set LANG _before_ QApplication() is called, but the only code that r= uns > in typical KDE applications before the KApp constructor is KCmdlineopti= ons > and using that sounds wrong. You can also performs some code in KApplication constructor before the=20 QApplication constructor gets called. Virtual base class is out of questi= on=20 because of BC, but e.g. instead of just passing 'argc' to QApplication yo= u=20 can use 'my_argc_hack( argc )', and in this 'int& my_argc_hack( int& )' d= o=20 whatever you want and return the passed argument. Did I already say it's = an=20 ugly hack :) ? > > Any other options? The way it's now makes local8Bit useless and as this= KDE > in russian useless unless you set LANG to the value used in kcontrol be= fore > you start KDE. > > Greetings, Stephan Lubos Lunak -- l.lunak@email.cz ; l.lunak@kde.org http://dforce.sh.cvut.cz/~seli