[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: How to know which button has been pressed?
From: Thiago Macieira <thiago.macieira () kdemail ! net>
Date: 2004-06-09 23:54:51
Message-ID: 200406092054.51584.thiago.macieira () kdemail ! net
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
Martin Bammer wrote:
>Hi,
>
>I have a dialog with dynamically created pushbuttons. All of these
> buttons call the same function (slot) on the clicked signal. How can
> I obtain the information which button has been pressed?
QObject::sender()
--
Thiago Macieira - Registered Linux user #65028
thiago (AT) macieira (DOT) info
ICQ UIN: 1967141 PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
[Attachment #5 (application/pgp-signature)]
>> 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