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

From KDE TechBase
(Created page with "Tämä '''<tt>connect()</tt>'''-kutsu perustaa yksisuuntaisen yhteyden kahden Qt-objektin välillä (objektit, jotka periytyvät komponentista [http://doc.qt.nokia.com/latest/qob...")
 
(No difference)

Latest revision as of 14:55, 25 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 2)
This '''<tt>connect()</tt>''' call establishes a one-way connection between two Qt objects (objects that inherit [http://doc.qt.nokia.com/latest/qobject.html Qt::Object], directly or indirectly). Every Qt object can have both '''<tt>signals</tt>''' (to send messages) and '''<tt>slots</tt>''' (to receive messages). All widgets are Qt objects, since they inherit [http://doc.qt.nokia.com/latest/qwidget.html Qt::Widget], which in turn inherits [http://doc.qt.nokia.com/latest/qobject.html Qt::Object].

Tämä connect()-kutsu perustaa yksisuuntaisen yhteyden kahden Qt-objektin välillä (objektit, jotka periytyvät komponentista Qt::Object suoraan tai epäsuorasti). Jokaisella Qt-objektilla voi olal sekä signaaleja (viestien lähettämiseen) että välejä (viestien vastaanottamiseen). Kaikki käyttöliittymäkomponentit ovat Qt-objekteja, koska ne periytyvät komponentista Qt::Widget, joka vuorostaan periytyy komponentista Qt::Object.