From kde-devel Thu Oct 28 09:50:09 2004 From: David Faure Date: Thu, 28 Oct 2004 09:50:09 +0000 To: kde-devel Subject: Re: QtDesigner and KACtionSelector issue Message-Id: <200410281150.10983.faure () kde ! org> X-MARC-Message: https://marc.info/?l=kde-devel&m=109895693328710 On Thursday 28 October 2004 11:13, Lumir Vanek wrote: > Hi, > > I have user widget designed using Qt Designer with *KActionSelector* class. > This works OK. But when I try add slots for signals: > > void KActionSelector::added (QListBoxItem *item) > void KActionSelector::removed (QListBoxItem *item) > > code generated by UIC fails to compile, because forward declaration > > class QListBoxItem; > > is not added to .h file. It's in kactionselector.h, at least in CVS HEAD. Isn't it included from the generated .h file? If not, I don't see a solution, other than you adding a forwarding decl. in the .ui.. -- David Faure, faure@kde.org, sponsored by Trolltech to work on KDE, Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org). >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<