Translations:Development/Tutorials/Qt4 Ruby Tutorial/Chapter 07/23/fi: Difference between revisions

From KDE TechBase
(Created page with "Kun luomme yhdeksän '''<tt>LCDRange</tt>'''-objektia, yhdistämme ne käyttäen [http://doc.qt.nokia.com/latest/signalsandslots.html signaalit ja välit]-mekanismia. Jokaisella ...")
 
(No difference)

Latest revision as of 12:20, 26 September 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 07)
When we create the nine '''<tt>LCDRange</tt>''' objects, we connect them using the [http://doc.qt.nokia.com/latest/signalsandslots.html signals and slots] mechanism. Each has its '''<tt>valueChanged()</tt>''' signal connected to the previous one's '''<tt>setValue()</tt>''' slot. Because '''<tt>LCDRange</tt>''' emits the '''<tt>valueChanged()</tt>''' signal when its value changes, we are here creating a chain of signals and slots.

Kun luomme yhdeksän LCDRange-objektia, yhdistämme ne käyttäen signaalit ja välit-mekanismia. Jokaisella on valueChanged()-signaali, joka on yhdistetty edellisen setValue()-väliin. Koska LCDRange lähettää valueChanged()-signaalin, kun sen arvo muutuu, luomme tässä signaalien ja välien ketjun.