[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: local8Bit
From:       Lubos Lunak <l.lunak () sh ! cvut ! cz>
Date:       2001-05-30 9:42:45
[Download RAW message or body]

Dne st 30. květen 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 runs
> in typical KDE applications before the KApp constructor is KCmdlineoptions
> and using that sounds wrong.

 You can also performs some code in KApplication constructor before the 
QApplication constructor gets called. Virtual base class is out of question 
because of BC, but e.g. instead of just passing 'argc' to QApplication you 
can use 'my_argc_hack( argc )', and in this 'int& my_argc_hack( int& )' do 
whatever you want and return the passed argument. Did I already say it's an 
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 before
> you start KDE.
>
> Greetings, Stephan

 Lubos Lunak
--
 l.lunak@email.cz ; l.lunak@kde.org
 http://dforce.sh.cvut.cz/~seli

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic