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 );
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:01:05 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.