diff options
Diffstat (limited to 'libtdepim/addresseeselector.h')
-rw-r--r-- | libtdepim/addresseeselector.h | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/libtdepim/addresseeselector.h b/libtdepim/addresseeselector.h index 92c544789..2fa40f4e4 100644 --- a/libtdepim/addresseeselector.h +++ b/libtdepim/addresseeselector.h @@ -61,52 +61,52 @@ class KDE_EXPORT Selection /** Returns the number of items for the given addressee. */ - virtual uint itemCount( const KABC::Addressee &addresse ) const = 0; + virtual uint itemCount( const TDEABC::Addressee &addresse ) const = 0; /** Returns the text that's used for the item specified by index. */ - virtual TQString itemText( const KABC::Addressee &addresse, uint index ) const = 0; + virtual TQString itemText( const TDEABC::Addressee &addresse, uint index ) const = 0; /** Returns the icon that's used for the item specified by index. */ - virtual TQPixmap itemIcon( const KABC::Addressee &addresse, uint index ) const = 0; + virtual TQPixmap itemIcon( const TDEABC::Addressee &addresse, uint index ) const = 0; /** Returns whether the item specified by index is enabled. */ - virtual bool itemEnabled( const KABC::Addressee &addresse, uint index ) const = 0; + virtual bool itemEnabled( const TDEABC::Addressee &addresse, uint index ) const = 0; /** Returns whether the item specified by index matches the passed pattern. */ - virtual bool itemMatches( const KABC::Addressee &addresse, uint index, const TQString &pattern ) const = 0; + virtual bool itemMatches( const TDEABC::Addressee &addresse, uint index, const TQString &pattern ) const = 0; /** Returns whether the item specified by index equals the passed pattern. */ - virtual bool itemEquals( const KABC::Addressee &addresse, uint index, const TQString &pattern ) const = 0; + virtual bool itemEquals( const TDEABC::Addressee &addresse, uint index, const TQString &pattern ) const = 0; /** Returns the text that's used for the given distribution list. */ - virtual TQString distributionListText( const KABC::DistributionList *distributionList ) const = 0; + virtual TQString distributionListText( const TDEABC::DistributionList *distributionList ) const = 0; /** Returns the icon that's used for the given distribution list. */ - virtual TQPixmap distributionListIcon( const KABC::DistributionList *distributionList ) const = 0; + virtual TQPixmap distributionListIcon( const TDEABC::DistributionList *distributionList ) const = 0; /** Returns whether the given distribution list is enabled. */ - virtual bool distributionListEnabled( const KABC::DistributionList *distributionList ) const = 0; + virtual bool distributionListEnabled( const TDEABC::DistributionList *distributionList ) const = 0; /** Returns whether the given distribution list matches the passed pattern. */ - virtual bool distributionListMatches( const KABC::DistributionList *distributionList, + virtual bool distributionListMatches( const TDEABC::DistributionList *distributionList, const TQString &pattern ) const = 0; /** @@ -122,14 +122,14 @@ class KDE_EXPORT Selection /** Returns the content for an additional address book. */ - virtual KABC::Addressee::List addressBookContent( uint index ) const = 0; + virtual TDEABC::Addressee::List addressBookContent( uint index ) const = 0; protected: AddresseeSelector* selector() { return mSelector; } private: - virtual void addSelectedAddressees( uint fieldIndex, const KABC::Addressee&, uint itemIndex ) = 0; - virtual void addSelectedDistributionList( uint fieldIndex, const KABC::DistributionList* ) = 0; + virtual void addSelectedAddressees( uint fieldIndex, const TDEABC::Addressee&, uint itemIndex ) = 0; + virtual void addSelectedDistributionList( uint fieldIndex, const TDEABC::DistributionList* ) = 0; void setSelector( AddresseeSelector *selector ) { mSelector = selector; } @@ -144,21 +144,21 @@ class SelectionItem public: typedef TQValueList<SelectionItem> List; - SelectionItem( const KABC::Addressee &addressee, uint index ); - SelectionItem( KABC::DistributionList *list, uint index ); + SelectionItem( const TDEABC::Addressee &addressee, uint index ); + SelectionItem( TDEABC::DistributionList *list, uint index ); SelectionItem(); void addToField( int index ); void removeFromField( int index ); bool isInField( int index ); - KABC::Addressee addressee() const; - KABC::DistributionList* distributionList() const; + TDEABC::Addressee addressee() const; + TDEABC::DistributionList* distributionList() const; uint index() const; private: - KABC::Addressee mAddressee; - KABC::DistributionList *mDistributionList; + TDEABC::Addressee mAddressee; + TDEABC::DistributionList *mDistributionList; uint mIndex; TQBitArray mField; }; @@ -178,8 +178,8 @@ class KDE_EXPORT AddresseeSelector : public TQWidget */ void finish(); - void setItemSelected( uint fieldIndex, const KABC::Addressee&, uint itemIndex ); - void setItemSelected( uint fieldIndex, const KABC::Addressee&, + void setItemSelected( uint fieldIndex, const TDEABC::Addressee&, uint itemIndex ); + void setItemSelected( uint fieldIndex, const TDEABC::Addressee&, uint itemIndex, const TQString& ); private slots: @@ -207,7 +207,7 @@ class KDE_EXPORT AddresseeSelector : public TQWidget TQSignalMapper *mMoveMapper; TQSignalMapper *mRemoveMapper; - KABC::DistributionListManager *mManager; + TDEABC::DistributionListManager *mManager; class AddressBookManager; AddressBookManager *mAddressBookManager; |