18 Jun 2013 17:33
Addressbook interface for qt plugins
Pali Rohár <pali.rohar <at> gmail.com>
2013-06-18 15:33:01 GMT
2013-06-18 15:33:01 GMT
Hello,
I'm sending first version of qt plugin interface for Addressbook. I reused
src/Gui/AbstractAddressbook.h and I think that Trojita
GUI only needs additional functions for opening addressbook manager (now called from menu: IMAP -->
Address Book) and
function for opening add/edit window for new/existing contact (now called from button near "From" and
"To" field in email).
Because KAddressbook has own dialogs/windows, it is better to use native KDE application for KDE plugin.
And about interface for password storage, please look at my last email in "Using QtKeychain" thread.
#ifndef ADDRESSBOOK_INTERFACE
#define ADDRESSBOOK_INTERFACE
#include <QtPlugin>
class QString;
class QStringList;
class AddressbookInterface {
public:
virtual ~AddressbookInterface() {}
/** <at> short Returns a list of matching contacts in the form "[Name <]addy <at> mail.com[>]"
*
* - Matches are case INsensitive
* - The match aligns to either Name or addy <at> mail.com, ie. "ja" or "jkt" match
* "Jan Kundrát <jkt <at> gentoo.org>" but "gentoo" does not
(Continue reading)
RSS Feed