[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Multiple signals from buttons to one slot
From: Rolf Magnus <ramagnus () kde ! org>
Date: 2002-04-28 22:49:15
[Download RAW message or body]
On Sunday 28 April 2002 10:58, David Faure wrote:
> On Sunday 28 April 2002 09:45, Jerome Kunegis wrote:
> > Hello,
> >
> > All clicked() signals from buttons of a KButtonBar are connected
> > to one slot. How can the slot function know from which button the
> > signal came?
>
> Using sender()
I'd rather say use a QButtonGroup and try to avoid hacking around with=20
sender() if possible.
>> 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