KABC::Secrecy Class Reference
List of all members.Detailed Description
Definition at line 30 of file secrecy.h.
Public Types | |
typedef QValueList< int > | TypeList |
enum | Types { Public, Private, Confidential, Invalid } |
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
|
Secrecy types.
|
Constructor & Destructor Documentation
|
Constructor.
Definition at line 27 of file secrecy.cpp. |
Member Function Documentation
|
For debug.
Definition at line 85 of file secrecy.cpp. |
|
Returns if the Secrecy object has a valid value.
Definition at line 42 of file secrecy.cpp. |
|
Sets the type, see Types.
Definition at line 47 of file secrecy.cpp. |
|
Returns the type, see Types.
Definition at line 52 of file secrecy.cpp. |
|
Returns a translated label for a given secrecy type.
Definition at line 67 of file secrecy.cpp. |
|
Returns a list of all available secrecy types.
Definition at line 57 of file secrecy.cpp. |
The documentation for this class was generated from the following files: