# QT autoconnect

**URL:** <https://www.ruby-forum.com/t/qt-autoconnect/180648>\
**Category:** Ruby\
**Created:** [December 25, 2009, 3:16pm UTC](https://www.ruby-forum.com/t/qt-autoconnect/180648 "2009-12-25T15:16:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kasper\_Johansen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/bc79bd/32.png) [@Kasper\_Johansen](https://www.ruby-forum.com/u/Kasper_Johansen)\
**Post date:** [December 25, 2009, 3:16pm UTC](https://www.ruby-forum.com/t/qt-autoconnect/180648/1 "2009-12-25T15:16:50Z")

</div>

Hi group.

Can anyone tell me, if there is a way to get the clicked signal  
autoconnect to a function named “on\_pushButton\_clicked”, without  
defining it in the code?

So far I have had no luck what so ever with connectSlotsByName()…
