Rename KABC namespace

pull/1/head
Timothy Pearson 12 years ago
parent 9e6f0803a7
commit 2941e915f3

@ -91,7 +91,7 @@ void KCalResource::init()
mOpen = false; mOpen = false;
mLock = new KABC::LockNull( true ); mLock = new TDEABC::LockNull( true );
TDEConfig config( "kbugbusterrc" ); TDEConfig config( "kbugbusterrc" );
@ -300,7 +300,7 @@ void KCalResource::doClose()
mOpen = false; mOpen = false;
} }
KABC::Lock *KCalResource::lock() TDEABC::Lock *KCalResource::lock()
{ {
return mLock; return mLock;
} }

@ -79,7 +79,7 @@ class KCalResource : public KCal::ResourceCached
*/ */
TQString cacheFile(); TQString cacheFile();
KABC::Lock *lock(); TDEABC::Lock *lock();
bool isSaving(); bool isSaving();
@ -115,7 +115,7 @@ class KCalResource : public KCal::ResourceCached
TDEIO::FileCopyJob *mDownloadJob; TDEIO::FileCopyJob *mDownloadJob;
TDEIO::FileCopyJob *mUploadJob; TDEIO::FileCopyJob *mUploadJob;
KABC::Lock *mLock; TDEABC::Lock *mLock;
class Private; class Private;
Private *d; Private *d;

@ -9,7 +9,7 @@
extern "C" extern "C"
{ {
KDE_EXPORT KABC::FormatPlugin *format() KDE_EXPORT TDEABC::FormatPlugin *format()
{ {
return new KDEAccountsFormat(); return new KDEAccountsFormat();
} }
@ -20,8 +20,8 @@ extern "C"
* pfeiffer Carsten Pfeiffer pfeiffer@kde.org * pfeiffer Carsten Pfeiffer pfeiffer@kde.org
*/ */
bool KDEAccountsFormat::loadAll( KABC::AddressBook *book, bool KDEAccountsFormat::loadAll( TDEABC::AddressBook *book,
KABC::Resource *resource, TDEABC::Resource *resource,
TQFile *file ) TQFile *file )
{ {
if ( !book || !file ) // eh? if ( !book || !file ) // eh?
@ -70,7 +70,7 @@ bool KDEAccountsFormat::loadAll( KABC::AddressBook *book,
if ( !email.isEmpty() ) if ( !email.isEmpty() )
{ {
KABC::Addressee address; TDEABC::Addressee address;
address.setNickName( nickName ); address.setNickName( nickName );
address.setNameFromString( name ); address.setNameFromString( name );
address.setOrganization("KDE Project"); address.setOrganization("KDE Project");

@ -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.");
} }

Loading…
Cancel
Save