From 94273bcb909fac42ef9427e3d8a614cab8c29c66 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 20 Feb 2013 16:27:27 -0600 Subject: Rename KABC namespace --- kaddressbook/undocmds.h | 50 ++++++++++++++++++++++++------------------------- 1 file changed, 25 insertions(+), 25 deletions(-) (limited to 'kaddressbook/undocmds.h') diff --git a/kaddressbook/undocmds.h b/kaddressbook/undocmds.h index b9915f150..91d881842 100644 --- a/kaddressbook/undocmds.h +++ b/kaddressbook/undocmds.h @@ -45,27 +45,27 @@ class Core; class Command : public KCommand { public: - Command( KABC::AddressBook *addressBook ) { mAddressBook = addressBook; } + Command( TDEABC::AddressBook *addressBook ) { mAddressBook = addressBook; } protected: - KABC::AddressBook *addressBook() const { return mAddressBook; } + TDEABC::AddressBook *addressBook() const { return mAddressBook; } KABLock *lock() const { return KABLock::self( mAddressBook ); } - bool resourceExist( KABC::Resource *resource ); + bool resourceExist( TDEABC::Resource *resource ); private: - KABC::AddressBook* mAddressBook; + TDEABC::AddressBook* mAddressBook; }; class DeleteCommand : public Command { public: - DeleteCommand( KABC::AddressBook *addressBook, const TQStringList &uidList ); + DeleteCommand( TDEABC::AddressBook *addressBook, const TQStringList &uidList ); virtual TQString name() const; virtual void unexecute(); virtual void execute(); private: - KABC::Addressee::List mAddresseeList; + TDEABC::Addressee::List mAddresseeList; TQStringList mUIDList; }; @@ -73,28 +73,28 @@ class PasteCommand : public Command { public: PasteCommand( KAB::Core *core, - const KABC::Addressee::List &addressees ); + const TDEABC::Addressee::List &addressees ); virtual TQString name() const; virtual void unexecute(); virtual void execute(); private: - KABC::Addressee::List mAddresseeList; + TDEABC::Addressee::List mAddresseeList; KAB::Core *mCore; }; class CutCommand : public Command { public: - CutCommand( KABC::AddressBook *addressBook, const TQStringList &uidList ); + CutCommand( TDEABC::AddressBook *addressBook, const TQStringList &uidList ); virtual TQString name() const; virtual void unexecute(); virtual void execute(); private: - KABC::Addressee::List mAddresseeList; + TDEABC::Addressee::List mAddresseeList; TQStringList mUIDList; #if defined(KABC_VCARD_ENCODING_FIX) TQByteArray mClipText; @@ -107,63 +107,63 @@ class CutCommand : public Command class NewCommand : public Command { public: - NewCommand( KABC::AddressBook *addressBook, - const KABC::Addressee::List &addressees ); + NewCommand( TDEABC::AddressBook *addressBook, + const TDEABC::Addressee::List &addressees ); virtual TQString name() const; virtual void unexecute(); virtual void execute(); private: - KABC::Addressee::List mAddresseeList; + TDEABC::Addressee::List mAddresseeList; }; class EditCommand : public Command { public: - EditCommand( KABC::AddressBook *addressBook, const KABC::Addressee &oldAddressee, - const KABC::Addressee &newAddressee ); + EditCommand( TDEABC::AddressBook *addressBook, const TDEABC::Addressee &oldAddressee, + const TDEABC::Addressee &newAddressee ); virtual TQString name() const; virtual void unexecute(); virtual void execute(); private: - KABC::Addressee mOldAddressee; - KABC::Addressee mNewAddressee; + TDEABC::Addressee mOldAddressee; + TDEABC::Addressee mNewAddressee; }; class CopyToCommand : public Command { public: - CopyToCommand( KABC::AddressBook *addressBook, const TQStringList &uidList, - KABC::Resource *resource ); + CopyToCommand( TDEABC::AddressBook *addressBook, const TQStringList &uidList, + TDEABC::Resource *resource ); virtual TQString name() const; virtual void unexecute(); virtual void execute(); private: - KABC::Addressee::List mAddresseeList; + TDEABC::Addressee::List mAddresseeList; TQStringList mUIDList; - KABC::Resource *mResource; + TDEABC::Resource *mResource; }; class MoveToCommand : public Command { public: MoveToCommand( KAB::Core *core, const TQStringList &uidList, - KABC::Resource *resource ); + TDEABC::Resource *resource ); virtual TQString name() const; virtual void unexecute(); virtual void execute(); - void moveContactTo( KABC::Resource *resource ); + void moveContactTo( TDEABC::Resource *resource ); private: - KABC::Addressee::List mAddresseeList; + TDEABC::Addressee::List mAddresseeList; TQStringList mUIDList; - KABC::Resource *mResource; + TDEABC::Resource *mResource; KAB::Core *mCore; }; #endif -- cgit v1.2.1