[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Global KLocale class
From: Hans Petter Bieker <bieker () stud ! ntnu ! no>
Date: 2001-11-18 13:08:12
[Download RAW message or body]
On Sun, 18 Nov 2001, Viktor Rosenfeld wrote:
> is there a a global KLocale class for me to use in my application? I
> need to translate a couple of dates and weekdays into the current
> locale, but creating a local KLocale objects seems like waste, I wonder
> thy KLocale has no static member functions to do various stuff.
Because KGlobal::locale() gives you a pointer to the instance you should
use.
> I know that KLocale returns its stuff according to the catalogue given
> with the constructor, but shouldn't the catalogue be set with
> KControlCenter and shouldn't KDE applications just use this catalogue?
??? No. Eh?
Norwegian University of Science and Technology, Engineering Cybernetics
bieker@stud.ntnu.no / bieker@kde.org / +47 97651633
Dagaliveien 25 A | Elgesetergate 23 B
N-0776 Oslo | N-7030 Trondheim
Siste nytt fra industrien finner du p=E5: WWW.Industri-Informasjon.NO
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic