24 #ifndef KADDRESSBOOKIFACE_H
25 #define KADDRESSBOOKIFACE_H
27 #include <dcopobject.h>
29 #include <tqstringlist.h>
30 #include <tdemacros.h>
32 class TDE_EXPORT KAddressBookIface : virtual public DCOPObject
37 virtual void addEmail( TQString addr ) = 0;
38 virtual void importVCard( const KURL& url ) = 0;
39 virtual void importVCardFromData( const TQString& vCard ) = 0;
41 virtual ASYNC showContactEditor( TQString uid ) = 0;
47 virtual void newContact() = 0;
53 virtual void newDistributionList() = 0;
58 virtual TQString getNameByPhone( TQString phone ) = 0;
59 virtual void save() = 0;
60 virtual void exit() = 0;
66 virtual bool handleCommandLine() = 0;
68 virtual void loadProfile( const TQString& path ) = 0;
69 virtual void saveToProfile( const TQString& path ) const = 0;
71 virtual void syncAllResources() = 0;
|