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

List:       kde-pim
Subject:    Re: [Kde-pim] Segfault calling EntityTree::headerData()
From:       Tobias Koenig <tokoe () kde ! org>
Date:       2009-07-27 8:06:57
Message-ID: 20090727080657.GA4147 () ghostdog ! localnet
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Sun, Jul 26, 2009 at 08:14:24PM +0200, Eduardo Robles Elvira wrote:
> Hello PIM people and specially Stephen Kelly :P
Hej Eduardo,

> I've created my own model which inherits EntityTreeModel. In my code,
> I do something like this:
> 
> 
> QVariant KonqBookmarkModel::headerData( int section, Qt::Orientation
> orientation, int role ) const
You shouldn't reimplement headerData() but getHeaderData() instead...

Have a look at kdepim/kcontactmanager/contactstreemodel.(h|cpp) for reference

Ciao,
Tobias
-- 
Separate politics from religion and economy!

["signature.asc" (application/pgp-signature)]

_______________________________________________
KDE PIM mailing list kde-pim@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/

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

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