From koffice-devel Mon Nov 05 08:05:22 2001 From: Hans Petter Bieker Date: Mon, 05 Nov 2001 08:05:22 +0000 To: koffice-devel Subject: Re: KDoubleNumInput changes X-MARC-Message: https://marc.info/?l=koffice-devel&m=100497146600420 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