On 5 February 2012 12:38, Rahul Sharma <[email protected]> wrote: > Hi, > I was going through the source code of Kmplot . And at a place I got stuck > with it when i found that in a class inherited from KDialog, a function > setButtons( Close ) was used. > I understand that it creates a close button in the window but I was willing > to know that when the button is clicked, does it call close() slot (as > normally we would do when we create a close pushbutton we connect the > clicked() signal to the close() slot) or it just simply emits close event > signal. And one more query, what is the name of the button, simpy close or > something else ( as in QPushButton* closeButton, I can say that I created a > PushButton named closeButton ). > > Thanks. > > - Rahul Sharma > > >>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe >>> << >
http://api.kde.org/4.7-api/kdelibs-apidocs/kdeui/html/classKDialog.html#a82008db3f84ca00576229ddfc88d52b3 -- Yogesh M http://sparklemedia.sourceforge.net/ >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
