|
|
@ -12,29 +12,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
#include <tdeabc/formatplugin.h>
|
|
|
|
#include <tdeabc/formatplugin.h>
|
|
|
|
|
|
|
|
|
|
|
|
namespace KABC {
|
|
|
|
namespace TDEABC {
|
|
|
|
class AddressBook;
|
|
|
|
class AddressBook;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
class KDEAccountsFormat : public KABC::FormatPlugin
|
|
|
|
class KDEAccountsFormat : public TDEABC::FormatPlugin
|
|
|
|
{
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
KDEAccountsFormat() {}
|
|
|
|
KDEAccountsFormat() {}
|
|
|
|
~KDEAccountsFormat() {}
|
|
|
|
~KDEAccountsFormat() {}
|
|
|
|
|
|
|
|
|
|
|
|
virtual bool loadAll( KABC::AddressBook *,
|
|
|
|
virtual bool loadAll( TDEABC::AddressBook *,
|
|
|
|
KABC::Resource *resource, TQFile *file );
|
|
|
|
TDEABC::Resource *resource, TQFile *file );
|
|
|
|
|
|
|
|
|
|
|
|
virtual bool load( KABC::Addressee&, TQFile *)
|
|
|
|
virtual bool load( TDEABC::Addressee&, TQFile *)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
tqDebug("*** KDE Accounts format: load single entry not supported.");
|
|
|
|
tqDebug("*** KDE Accounts format: load single entry not supported.");
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
virtual void save( const KABC::Addressee&, TQFile *)
|
|
|
|
virtual void save( const TDEABC::Addressee&, TQFile *)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
tqDebug("*** KDE Accounts format: save not supported.");
|
|
|
|
tqDebug("*** KDE Accounts format: save not supported.");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
virtual void saveAll( KABC::AddressBook *, KABC::Resource *, TQFile *)
|
|
|
|
virtual void saveAll( TDEABC::AddressBook *, TDEABC::Resource *, TQFile *)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
tqDebug("*** KDE Accounts format: save not supported.");
|
|
|
|
tqDebug("*** KDE Accounts format: save not supported.");
|
|
|
|
}
|
|
|
|
}
|
|
|
|