21 #ifndef KABC_SECRECY_H
22 #define KABC_SECRECY_H
24 #include <tqvaluelist.h>
26 #include <tdelibs_export.h>
30 class KABC_EXPORT Secrecy
32 friend KABC_EXPORT TQDataStream &
operator<<( TQDataStream &,
const Secrecy & );
33 friend KABC_EXPORT TQDataStream &operator>>( TQDataStream &, Secrecy & );
36 typedef TQValueList<int> TypeList;
57 Secrecy(
int type = Invalid );
59 bool operator==(
const Secrecy & )
const;
60 bool operator!=(
const Secrecy & )
const;
70 void setType(
int type );
80 static TypeList typeList();
85 static TQString typeLabel(
int type );
90 TQString asString()
const;
96 KABC_EXPORT TQDataStream&
operator<<( TQDataStream &s,
const Secrecy &secrecy );
97 KABC_EXPORT TQDataStream& operator>>( TQDataStream &s, Secrecy &secrecy );
kdbgstream & operator<<(const TQValueList< T > &list)
static data, shared by ALL addressee objects