[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Qt signal parameters & subclassing
From: "Adriaan de Groot" <adridg () sci ! kun ! nl>
Date: 2001-08-01 20:17:52
[Download RAW message or body]
I'm getting
QObject::connect: Incompatible sender/receiver arguments
AddressWidget::showComponent(PilotComponent*) -->
QWidgetStack::raiseWidget(QWidget*)
when running KPilot; the warning is correct since I call
connect(p,SIGNAL(showComponent(PilotComponent *)),
fManagingWidget,SLOT(raiseWidget(QWidget *)));
*however*, PilotComponent is subclassed from QWidget, and as far as I can
tell this works fine. I'm worried whether this will break in future Qt
versions, and/or if there's a way to switch the warning off for this one case
(I could, of course, add a slot that takes a PilotComponent *, and it'll be
safe for sure, but that's more code for kde-devel to review :| )
--
[ade] at home, probably hacking at KPilot
>> Visit http://master.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