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

List:       kde-devel
Subject:    Re: Q_OBJECT problem
From:       Dirk Mueller <mueller () kde ! org>
Date:       2000-06-03 12:23:32
[Download RAW message or body]

On Sam, 03 Jun 2000, Robert Schwebel wrote:

> I have tried deriving from QListViewItem and QObject both, but obviously
> this was not correct:

well, you forgot to link the moc file. 


In general: don't make the *item classes inherit QObject, because _if_ it
would make send then Troll tech _would_ have done that already. 

QObject has FAR too much overhead to be used for such a class. 

use virtual functions or make your QListView inherited classes emit the
signals. 


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