[Kde-pim] KPeople in playground

David Edmundson david at davidedmundson.co.uk
Sat Aug 18 13:06:25 UTC 2012


On Sat, Aug 18, 2012 at 1:50 PM, Wolfgang Rohdewald
<wolfgang at rohdewald.de> wrote:
> Am Samstag, 18. August 2012, 13:33:58 schrieb David Edmundson:
>> There used to be a small app that tested/showed the model. Does this
>> still exist?
>
> is this what you mean?
> https://qt.gitorious.org/qt/qt/blobs/4.7/tests/auto/modeltest/modeltest.cpp
>
No, George Goldberg wrote one when he was last working on kpeople a
year ago. It's specific to this.


> I don't know how to invoke it in C++, in python I only need this:
>
>         model = TablesModel(tables)
>         self.view.setModel(model)
>         self.debugModelTest = ModelTest(model, self.view)
>
>
> --
> Wolfgang


More information about the KDE-Telepathy mailing list