Jump to content

Translations:Development/Tutorials/Qt4 Ruby Tutorial/Chapter 08/29/fi: Difference between revisions

From KDE TechBase
Centerlink (talk | contribs)
Created page with "Huomaa kuinka on tärkeää lähettää '''<tt>angleChanged()</tt>'''-signaali vain silloin kun kulma todella muuttuu. Jos sekä '''<tt>LCDRange</tt>''' että '''<tt>CannonField<..."
 
(No difference)

Latest revision as of 16:32, 5 October 2011

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Development/Tutorials/Qt4 Ruby Tutorial/Chapter 08)
Notice how important it is to emit the '''<tt>angleChanged()</tt>''' signal only when the angle actually changes. If both the '''<tt>LCDRange</tt>''' and the '''<tt>CannonField</tt>''' had omitted this check, the program would have entered an infinite loop upon the first change of one of the values.

Huomaa kuinka on tärkeää lähettää angleChanged()-signaali vain silloin kun kulma todella muuttuu. Jos sekä LCDRange että CannonField ohittivat tämän tarkistuksen, ohjelma siirtyisi päättymättömään silmukkaan toisen arvon ensimmäisellä muutoksella.