-rw-r--r-- | kabc/addressee.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/kabc/addressee.cpp b/kabc/addressee.cpp index 3f3d5c0..607ae26 100644 --- a/kabc/addressee.cpp +++ b/kabc/addressee.cpp @@ -88,6 +88,7 @@ struct Addressee::AddresseeData : public KShared bool empty :1; bool changed :1; + bool tagged :1; }; Addressee::Addressee() @@ -1821,6 +1822,17 @@ bool Addressee::changed() const return mData->changed; } +void Addressee::setTagged( bool value ) +{ + detach(); + mData->tagged = value; +} + +bool Addressee::tagged() const +{ + return mData->tagged; +} + QDataStream &KABC::operator<<( QDataStream &s, const Addressee &a ) { if (!a.mData) return s; |