KABC::Secrecy Class Reference
List of all members.Detailed Description
Definition at line 30 of file secrecy.h.
Public Types | |
enum | Types { Public, Private, Confidential, Invalid } |
typedef QValueList< int > | TypeList |
Public Member Functions | |
Secrecy (int type=Invalid) | |
bool | operator== (const Secrecy &) const |
bool | operator!= (const Secrecy &) const |
bool | isValid () const |
void | setType (int type) |
int | type () const |
QString | asString () const |
Static Public Member Functions | |
static TypeList | typeList () |
static QString | typeLabel (int type) |
Friends | |
KABC_EXPORT QDataStream & | operator<< (QDataStream &, const Secrecy &) |
KABC_EXPORT QDataStream & | operator>> (QDataStream &, Secrecy &) |
Member Enumeration Documentation
enum KABC::Secrecy::Types |
Constructor & Destructor Documentation
Secrecy::Secrecy | ( | int | type = Invalid |
) |
Constructor.
- Parameters:
-
type The secrecy type, see Types.
Definition at line 27 of file secrecy.cpp.
Member Function Documentation
bool Secrecy::isValid | ( | ) | const |
void Secrecy::setType | ( | int | type | ) |
int Secrecy::type | ( | ) | const |
Secrecy::TypeList Secrecy::typeList | ( | ) | [static] |
QString Secrecy::typeLabel | ( | int | type | ) | [static] |
QString Secrecy::asString | ( | ) | const |
The documentation for this class was generated from the following files: