Translations:Development/Tutorials/Qt4 Ruby Tutorial/Chapter 2/24/ru: Difference between revisions

From KDE TechBase
(Created page with "Здесь сигнал '''<tt>clicked()</tt>''' объекта '''<tt>quit</tt>''' подключается к слоту '''<tt>quit()</tt>''' объекта '''<tt>app</tt>'''...")
 
(No difference)

Latest revision as of 17:01, 2 July 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)
Here, the '''<tt>clicked()</tt>''' signal of '''<tt>quit</tt>''' is connected to the '''<tt>quit()</tt>''' slot of '''<tt>app</tt>''', so that when the button is clicked, the application quits.

Здесь сигнал clicked() объекта quit подключается к слоту quit() объекта app. Это приводит к тому, что при нажатии кнопки приложение закрывается.