27#include <tdelibs_export.h>
61 friend KABC_EXPORT TQDataStream &
operator<<( TQDataStream &,
const Sound & );
62 friend KABC_EXPORT TQDataStream &operator>>( TQDataStream &,
Sound & );
91 bool operator==(
const Sound & )
const;
92 bool operator!=(
const Sound & )
const;
130 TQString
url()
const;
135 TQByteArray
data()
const;
149KABC_EXPORT TQDataStream &operator<<( TQDataStream &,
const Sound & );
150KABC_EXPORT TQDataStream &operator>>( TQDataStream &,
Sound & );
Class that holds a Sound clip for a contact.
TQString url() const
Returns the location URL of this sound.
void setData(const TQByteArray &data)
Sets the raw data of the sound.
bool isIntern() const
Returns whether the sound is described by a URL (extern) or by the raw data (intern).
void setUrl(const TQString &url)
Sets a URL for the location of the sound file.
TQString asString() const
Returns string representation of the sound.
TQByteArray data() const
Returns the raw data of this sound.
bool isEmpty() const
Test if this sound file has been set.
kdbgstream & operator<<(const TQValueList< T > &list)
static data, shared by ALL addressee objects