summaryrefslogtreecommitdiffabout
path: root/kabc/secrecy.h
Side-by-side diff
Diffstat (limited to 'kabc/secrecy.h') (more/less context) (ignore whitespace changes)
-rw-r--r--kabc/secrecy.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kabc/secrecy.h b/kabc/secrecy.h
index 8f2f736..b2ff565 100644
--- a/kabc/secrecy.h
+++ b/kabc/secrecy.h
@@ -38,49 +38,49 @@ class Secrecy
friend QDataStream &operator>>( QDataStream &, Secrecy & );
public:
typedef QValueList<int> TypeList;
/**
* Secrecy types
*
* @li Public - for public access
* @li Private - only private access
* @li Confidential - access for confidential persons
*/
enum Types {
Public,
Private,
Confidential,
Invalid
};
/**
* Constructor.
*
* @param type The secrecy type, @see Types.
*/
- Secrecy( int type = Invalid );
+ Secrecy( int type = Public );
bool operator==( const Secrecy & ) const;
bool operator!=( const Secrecy & ) const;
/**
Returns if the Secrecy object has a valid value.
*/
bool isValid() const;
/**
* Sets the type, @see Types.
*/
void setType( int type );
/**
* Returns the type, @see Types.
*/
int type() const;
/**
* Returns a list of all available secrecy types.
*/
static TypeList typeList();