[Kde-pim] Using EntityTreeModel

Kevin Krammer krammer at kde.org
Sat Nov 3 22:52:27 GMT 2012


On Saturday, 2012-11-03, Anders Lund wrote:
> Hello,
> 
> On Lørdag den 3. november 2012 23:28:22 Kevin Krammer wrote:
> > Hi Anders,
> > 
> > On Saturday, 2012-11-03, Anders Lund wrote:
> > > Hi,
> > > 
> > > I am trying to revive a project of mine, creating a dedicated journal
> > > application.
> > > 
> > > I use EntityTreeModel to show the journal items, or rather to not show
> > > them, since my list is always empty, although journal items exist in my
> > > calendars. This worked when I originally wrote the application,
> > > approxymately a year ago, using the by then stable KDE.
> > 
> > Can you check without any of the proxy model in-between the JournalModel
> > and the view?
> > 
> > I.e. to check if the ETM is not fetching the data or if it gets "lost"
> > somewhere in the proxy chain.
> 
> If I use m_model for the EntityTreeList, I get collections names displayed.
> Similar if I don't use the mimetype filter.
> 
> I just don't get items.

What if you use an EntityTreeView? If that works you could try enabling that 
line with InvisiibleCollectionFetch.

Cheers,
Kevin
-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20121103/3baf1887/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list