[Kde-pim] Correspinding name() function in python
Kevin Krammer
kevin.krammer at gmx.at
Fri Aug 19 13:12:42 BST 2011
On Friday, 2011-08-19, Mario Santagiuliana wrote:
> I am in the step to retrivecollection for my akonadi python resource.
> I read the code from the tutorial:
> http://techbase.kde.org/Development/Tutorials/Akonadi/Resources#Retrieving_
> Collections
>
> The function name() provides the name of the collection, isn't?
That's just one way of doing it, you can use something else, e.g. name of the
file your resource is working on or name of directory your data is in, etc.
It doesn't have to be the same string used for naming the resource, thought
that often make sense.
> How does it work?
name() just returns a string that has been set with setName() or to a name set
in the resource's .desktop file if no name has been set.
> Do you know if there is a corresponding in python? I don't find it...I
> don't know how to reproduce this step...
It should be in ResourceBase.
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/20110819/3edc47b8/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