diff options
Diffstat (limited to 'kaddressbook/undocmds.h')
-rw-r--r-- | kaddressbook/undocmds.h | 50 |
1 files changed, 25 insertions, 25 deletions
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 |