KContacts::Gender

KContacts::Gender Class Reference

#include <gender.h>

Public Member Functions

 Gender ()
 
 Gender (const Gender &other)
 
 Gender (const QString &gender)
 
QString comment () const
 
QString gender () const
 
bool isValid () const
 
bool operator!= (const Gender &other) const
 
Genderoperator= (const Gender &other)
 
bool operator== (const Gender &other) const
 
void setComment (const QString &comment)
 
void setGender (const QString &gender)
 
QString toString () const
 

Friends

KCONTACTS_EXPORT QDataStreamoperator<< (QDataStream &, const Gender &)
 
KCONTACTS_EXPORT QDataStreamoperator>> (QDataStream &, Gender &)
 

Detailed Description

Class that holds a Gender for a contact.

Since
4.14.5

Definition at line 19 of file gender.h.

Constructor & Destructor Documentation

Gender::Gender ( )

Creates an empty Gender object.

Definition at line 31 of file gender.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Wed Aug 5 2020 22:52:59 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.