kabc
21 #ifndef KABC_SECRECY_H
22 #define KABC_SECRECY_H
24 #include "kabc_export.h"
25 #include <QtCore/QList>
26 #include <QtCore/QSharedDataPointer>
30 class KABC_EXPORT Secrecy
32 friend KABC_EXPORT QDataStream &
operator<<( QDataStream &,
const Secrecy & );
33 friend KABC_EXPORT QDataStream &
operator>>( QDataStream &, Secrecy & );
53 typedef QList<Type> TypeList;
60 Secrecy( Type type = Invalid );
65 Secrecy(
const Secrecy &other );
72 Secrecy &operator=(
const Secrecy & );
74 bool operator==(
const Secrecy & )
const;
75 bool operator!=(
const Secrecy & )
const;
87 void setType( Type type );
97 static TypeList typeList();
102 static QString typeLabel( Type type );
107 QString toString()
const;
111 QSharedDataPointer<PrivateData> d;
117 KABC_EXPORT QDataStream &
operator<<( QDataStream &stream,
const Secrecy &secrecy );
122 KABC_EXPORT QDataStream &
operator>>( QDataStream &stream, Secrecy &secrecy );
QDataStream & operator<<(QDataStream &stream, const Address &address)
Serializes the address object into the stream.
QDataStream & operator>>(QDataStream &stream, Address &address)
Initializes the address object from the stream.
Class that holds a Calendar Url (FBURL/CALADRURI/CALURI)
This file is part of the KDE documentation.
Documentation copyright © 1996-2016 The KDE developers.
Generated on Thu Feb 18 2016 08:33:06 by
doxygen 1.8.10 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.