[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: function of setButtons( Close ) of class KDialog
From:       Yogesh Marwaha <yogeshm.007 () gmail ! com>
Date:       2012-02-05 9:59:35
Message-ID: CA+r9wRF0OeZxS3MBW_qrc2ejKqEm+PA7W2rP2VrPErhyaVyS1g () mail ! gmail ! com
[Download RAW message or body]

On 5 February 2012 12:38, Rahul Sharma <rahulveera2009@gmail.com> 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 <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic