[Kde-pim] KDE - Counting Number of Address Books
Thomas McGuire
mcguire at kde.org
Tue Jun 29 10:05:55 BST 2010
On Tuesday 29 June 2010 09:56:50 GOO Creations wrote:
> I want to get the number of address books a user has.
I think it would be nice to have a convenience job for this, i.e. for getting
the number of collections that match a certain criteria (mimetype/rights).
This would be useful in more cases, for example in KMail, when right-clicking
an email address and using "add contact".
If there is only 1 addressbook, that action should just use that one without
asking the user. If there are 0 addressbooks, the action should be disabled.
If there are more addressbooks, a collectiondialog should be shown (which is
done in all cases right now).
Therefore I think a convenience job makes sense.
Regards,
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20100629/f3f41bb6/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