Jump to content

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

From KDE TechBase
Centerlink (talk | contribs)
Created page with "Milloin tahansa liukukytkimen arvo muuttuu, se lähettää uuden arvon [http://doc.qt.nokia.com/latest/qabstractslider.html#valueChanged QAbstractSlider::valueChanged()] -signaal..."
 
(No difference)

Latest revision as of 09:43, 28 August 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 05)
Whenever the slider's value changes it broadcasts the new value by emitting the [http://doc.qt.nokia.com/latest/qabstractslider.html#valueChanged QAbstractSlider::valueChanged()] signal. Because that signal is connected to the LCD number's [http://doc.qt.nokia.com/latest/qlcdnumber.html#intValue-prop QLCDNumber::display()] slot, the slot is called when the signal is broadcast. Neither of the objects knows about the other. This is essential in component programming.

Milloin tahansa liukukytkimen arvo muuttuu, se lähettää uuden arvon QAbstractSlider::valueChanged() -signaalilla. Koska tuo signaali on yhdistetty nestekidenäytön numeroiden QLCDNumber::display() -aikaväliin, aikaväliä kutsutaan, kun signaalia lähetetään. Kumpikaan komponenteista ei tiedä toisesta. Tämä on olennaista komponenttiohjelmoinnissa.