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

List:       kde-devel
Subject:    Re: No KListView Slot
From:       Ravi <ravi () kde ! org>
Date:       2003-12-28 17:58:17
[Download RAW message or body]

Hi,

> hi ... i have an object which inerhits from KListView
> everything works fine, but connecting the slot brings up the following
> message at runtime: 
> 
> No such slot KListView::loadSettings()

Well, there is no slot named loadSettings() in KListView. Is it defined in an 
inherited class? If so, you must have forgotten the Q_OBJECT macro and the 
inclusion of the generated moc file in the inherited class because the 
connect() function sees as object of KListView class rather than your 
inherited class.

Regards,
Ravi

 
>> 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