21 #ifndef KABC_PICTURE_H
22 #define KABC_PICTURE_H
26 #include <tdelibs_export.h>
30 class KABC_EXPORT Picture
32 friend KABC_EXPORT TQDataStream &
operator<<( TQDataStream &,
const Picture & );
33 friend KABC_EXPORT TQDataStream &operator>>( TQDataStream &, Picture & );
47 Picture(
const TQString &url );
54 Picture(
const TQImage &data );
62 bool operator==(
const Picture & )
const;
63 bool operator!=(
const Picture & )
const;
72 void setUrl(
const TQString &url );
80 void setData(
const TQImage &data );
85 void setType(
const TQString &type );
94 bool isIntern()
const;
104 TQImage data()
const;
109 TQString type()
const;
114 TQString asString()
const;
124 KABC_EXPORT TQDataStream &
operator<<( TQDataStream &,
const Picture & );
125 KABC_EXPORT TQDataStream &operator>>( TQDataStream &, Picture & );
kdbgstream & operator<<(const TQValueList< T > &list)
static data, shared by ALL addressee objects