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

List:       koffice-devel
Subject:    Re: KDoubleNumInput changes
From:       Hans Petter Bieker <bieker () stud ! ntnu ! no>
Date:       2001-11-05 8:05:22
[Download RAW message or body]

On Sat, 3 Nov 2001, Thomas Zander wrote:

> it appears some changes have been made in the api of KDoubleNumInput;
> I am wondering how to get the same functionality in the new api of the fo=
rmerly
> valid call:
>     valueBox->setFormat("%3.2f");
>
> Since koffice/kontour/UnitBox.cc stopped compiling, and I don't know how =
this
> used to work so its a bit hard for me to figure out how to do this now..

Try valueBox->setPrecition(2)

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

_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/koffice-devel

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

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