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

List:       kde-devel
Subject:    Re: QtDesigner and KACtionSelector issue
From:       David Faure <faure () kde ! org>
Date:       2004-10-28 9:50:09
Message-ID: 200410281150.10983.faure () kde ! org
[Download RAW message or body]

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 <<
[prev in list] [next in list] [prev in thread] [next in thread] 

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