author | ulf69 <ulf69> | 2004-06-30 22:07:56 (UTC) |
---|---|---|
committer | ulf69 <ulf69> | 2004-06-30 22:07:56 (UTC) |
commit | 1b7b7755bfbedddc72293b784577ded4e684bd6f (patch) (unidiff) | |
tree | ff4eba9b8bb53401d2000d70e73a40f7c330d577 /kabc/addressee.h | |
parent | c6f3a3f49498dca52d10418d845f4a84c0c6d941 (diff) | |
download | kdepimpi-1b7b7755bfbedddc72293b784577ded4e684bd6f.zip kdepimpi-1b7b7755bfbedddc72293b784577ded4e684bd6f.tar.gz kdepimpi-1b7b7755bfbedddc72293b784577ded4e684bd6f.tar.bz2 |
added a new field of type Resource. This allowes us to display in KAddressbook for each
Addressbookentry its location
-rw-r--r-- | kabc/addressee.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/kabc/addressee.h b/kabc/addressee.h index ee98e03..393d1cc 100644 --- a/kabc/addressee.h +++ b/kabc/addressee.h | |||
@@ -783,24 +783,30 @@ class Addressee | |||
783 | 783 | ||
784 | /** | 784 | /** |
785 | Set resource where the addressee is from. | 785 | Set resource where the addressee is from. |
786 | */ | 786 | */ |
787 | void setResource( Resource *resource ); | 787 | void setResource( Resource *resource ); |
788 | 788 | ||
789 | /** | 789 | /** |
790 | Return pointer to resource. | 790 | Return pointer to resource. |
791 | */ | 791 | */ |
792 | Resource *resource() const; | 792 | Resource *resource() const; |
793 | 793 | ||
794 | /** | 794 | /** |
795 | Return resourcelabel. | ||
796 | */ | ||
797 | //US | ||
798 | static QString resourceLabel(); | ||
799 | |||
800 | /** | ||
795 | Mark addressee as changed. | 801 | Mark addressee as changed. |
796 | */ | 802 | */ |
797 | void setChanged( bool value ); | 803 | void setChanged( bool value ); |
798 | 804 | ||
799 | /** | 805 | /** |
800 | Return whether the addressee is changed. | 806 | Return whether the addressee is changed. |
801 | */ | 807 | */ |
802 | bool changed() const; | 808 | bool changed() const; |
803 | 809 | ||
804 | private: | 810 | private: |
805 | Addressee copy(); | 811 | Addressee copy(); |
806 | void detach(); | 812 | void detach(); |