Jump to content

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

From KDE TechBase
Centerlink (talk | contribs)
Created page with "Ensimmäinen [http://doc.qt.nokia.com/latest/qobject.html#connect QObject::connect()]-kutsu on sama kuin minkä näit edellisessä kappaleessa. Toinen on uusi; se yhdistää liuk..."
 
(No difference)

Latest revision as of 12:11, 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)
The first [http://doc.qt.nokia.com/latest/qobject.html#connect QObject::connect()] call is the same that you have seen in the previous chapter. The second is new; it connects slider's [http://doc.qt.nokia.com/latest/qabstractslider.html#valueChanged QAbstractSlider::valueChanged()] signal to this object's '''<tt>valueChanged()</tt>''' signal. Yes, that's right. Signals can be connected to other signals. When the first is emitted, the second signal is also emitted.

Ensimmäinen QObject::connect()-kutsu on sama kuin minkä näit edellisessä kappaleessa. Toinen on uusi; se yhdistää liukukytkimen QAbstractSlider::valueChanged()-signaalin tämän objektin valueChanged()-signaaliin. Kyllä, se on oikein. Signaalit voidaan yhdistää muihin signaaleihin. Kun ensimmäinen signaali lähetetänä, myös toinen signaali lähetetään.