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

List:       kde-i18n-doc
Subject:    Re: i18n wishlist
From:       Hans Petter Bieker <bieker () stud ! ntnu ! no>
Date:       2001-01-31 11:11:46
[Download RAW message or body]

On Sun, 28 Jan 2001, Federico Cozzi wrote:

> Does i18n support in KDE2 already support country-specific papersize
> configuration? And unit of measurement (e.g. cm, inches...)?

I would be happy to implement that, but then we should really discuss
which methods we want before we do that. What do we need? Something like
the below?

class KLocale
{
[..]
  enum PaperSize = { A4, Letter /* more */};
  PaperSize KLocale::paperSize() const;

  QString formatLength(double length, int digits) const;
  QString formatSquare(double area, int digits) const;
[..]
};

Norwegian University of Science and Technology, Engineering Cybernetics
          bieker@stud.ntnu.no / bieker@kde.org / +47 97651633
                Dagaliveien 25 A  |  Sundlandskrenten 20
                N-0776 Oslo       |  N-7032 Trondheim
  Siste nytt fra industrien finner du på: WWW.Industri-Informasjon.NO

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

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