author | zautrix <zautrix> | 2004-09-19 09:00:55 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-09-19 09:00:55 (UTC) |
commit | 787181d34f0d195ad72c9cf6aedbc317b6dd713e (patch) (unidiff) | |
tree | ac49d2b1d7887f96f3834458071b89e77b59218b /kabc/addressee.h | |
parent | f370d0f89bcaeeb68bd60152a9812a9cd55e5d8a (diff) | |
download | kdepimpi-787181d34f0d195ad72c9cf6aedbc317b6dd713e.zip kdepimpi-787181d34f0d195ad72c9cf6aedbc317b6dd713e.tar.gz kdepimpi-787181d34f0d195ad72c9cf6aedbc317b6dd713e.tar.bz2 |
more AB sync
-rw-r--r-- | kabc/addressee.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/kabc/addressee.h b/kabc/addressee.h index 0805458..bfb0840 100644 --- a/kabc/addressee.h +++ b/kabc/addressee.h | |||
@@ -733,108 +733,107 @@ class Addressee | |||
733 | */ | 733 | */ |
734 | void insertCategory( const QString & ); | 734 | void insertCategory( const QString & ); |
735 | 735 | ||
736 | /** | 736 | /** |
737 | Remove category. | 737 | Remove category. |
738 | */ | 738 | */ |
739 | void removeCategory( const QString & ); | 739 | void removeCategory( const QString & ); |
740 | 740 | ||
741 | /** | 741 | /** |
742 | Return, if addressee has the given category. | 742 | Return, if addressee has the given category. |
743 | */ | 743 | */ |
744 | bool hasCategory( const QString & ) const; | 744 | bool hasCategory( const QString & ) const; |
745 | 745 | ||
746 | /** | 746 | /** |
747 | Set categories to given value. | 747 | Set categories to given value. |
748 | */ | 748 | */ |
749 | void setCategories( const QStringList & ); | 749 | void setCategories( const QStringList & ); |
750 | 750 | ||
751 | /** | 751 | /** |
752 | Return list of all set categories. | 752 | Return list of all set categories. |
753 | */ | 753 | */ |
754 | QStringList categories() const; | 754 | QStringList categories() const; |
755 | 755 | ||
756 | /** | 756 | /** |
757 | Insert custom entry. The entry is identified by the name of the inserting | 757 | Insert custom entry. The entry is identified by the name of the inserting |
758 | application and a unique name. If an entry with the given app and name | 758 | application and a unique name. If an entry with the given app and name |
759 | already exists its value is replaced with the new given value. | 759 | already exists its value is replaced with the new given value. |
760 | */ | 760 | */ |
761 | void insertCustom( const QString &app, const QString &name, | 761 | void insertCustom( const QString &app, const QString &name, |
762 | const QString &value ); | 762 | const QString &value ); |
763 | 763 | ||
764 | /** | 764 | /** |
765 | Remove custom entry. | 765 | Remove custom entry. |
766 | */ | 766 | */ |
767 | void removeCustom( const QString &app, const QString &name ); | 767 | void removeCustom( const QString &app, const QString &name ); |
768 | 768 | ||
769 | /** | 769 | /** |
770 | Return value of custom entry, identified by app and entry name. | 770 | Return value of custom entry, identified by app and entry name. |
771 | */ | 771 | */ |
772 | QString custom( const QString &app, const QString &name ) const; | 772 | QString custom( const QString &app, const QString &name ) const; |
773 | 773 | ||
774 | /** | 774 | /** |
775 | Set all custom entries. | 775 | Set all custom entries. |
776 | */ | 776 | */ |
777 | void setCustoms( const QStringList & ); | 777 | void setCustoms( const QStringList & ); |
778 | 778 | ||
779 | /** | 779 | /** |
780 | Return list of all custom entries. | 780 | Return list of all custom entries. |
781 | */ | 781 | */ |
782 | QStringList customs() const; | 782 | QStringList customs() const; |
783 | 783 | ||
784 | /** | 784 | /** |
785 | Parse full email address. The result is given back in fullName and email. | 785 | Parse full email address. The result is given back in fullName and email. |
786 | */ | 786 | */ |
787 | static void parseEmailAddress( const QString &rawEmail, QString &fullName, | 787 | static void parseEmailAddress( const QString &rawEmail, QString &fullName, |
788 | QString &email ); | 788 | QString &email ); |
789 | 789 | ||
790 | /** | 790 | /** |
791 | Debug output. | 791 | Debug output. |
792 | */ | 792 | */ |
793 | void dump() const; | 793 | void dump() const; |
794 | 794 | ||
795 | /** | 795 | /** |
796 | Returns string representation of the addressee. | 796 | Returns string representation of the addressee. |
797 | */ | 797 | */ |
798 | QString asString() const; | 798 | QString asString() const; |
799 | 799 | ||
800 | /** | 800 | /** |
801 | Set resource where the addressee is from. | 801 | Set resource where the addressee is from. |
802 | */ | 802 | */ |
803 | void setResource( Resource *resource ); | 803 | void setResource( Resource *resource ); |
804 | 804 | ||
805 | /** | 805 | /** |
806 | Return pointer to resource. | 806 | Return pointer to resource. |
807 | */ | 807 | */ |
808 | Resource *resource() const; | 808 | Resource *resource() const; |
809 | 809 | ||
810 | /** | 810 | /** |
811 | Return resourcelabel. | 811 | Return resourcelabel. |
812 | */ | 812 | */ |
813 | //US | 813 | //US |
814 | static QString resourceLabel(); | 814 | static QString resourceLabel(); |
815 | 815 | ||
816 | /** | 816 | /** |
817 | Mark addressee as changed. | 817 | Mark addressee as changed. |
818 | */ | 818 | */ |
819 | void setChanged( bool value ); | 819 | void setChanged( bool value ); |
820 | 820 | ||
821 | /** | 821 | /** |
822 | Return whether the addressee is changed. | 822 | Return whether the addressee is changed. |
823 | */ | 823 | */ |
824 | bool changed() const; | 824 | bool changed() const; |
825 | 825 | ||
826 | private: | 826 | private: |
827 | Addressee copy(); | 827 | Addressee copy(); |
828 | void detach(); | 828 | void detach(); |
829 | int mTempSyncStat; | ||
830 | 829 | ||
831 | struct AddresseeData; | 830 | struct AddresseeData; |
832 | mutable KSharedPtr<AddresseeData> mData; | 831 | mutable KSharedPtr<AddresseeData> mData; |
833 | }; | 832 | }; |
834 | 833 | ||
835 | QDataStream &operator<<( QDataStream &, const Addressee & ); | 834 | QDataStream &operator<<( QDataStream &, const Addressee & ); |
836 | QDataStream &operator>>( QDataStream &, Addressee & ); | 835 | QDataStream &operator>>( QDataStream &, Addressee & ); |
837 | 836 | ||
838 | } | 837 | } |
839 | 838 | ||
840 | #endif | 839 | #endif |