KContacts::Gender

Search for usage in LXR

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
 

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() [1/3]

Gender::Gender ( )

Creates an empty Gender object.

Definition at line 31 of file gender.cpp.

◆ Gender() [2/3]

Gender::Gender ( const Gender & other)

Definition at line 42 of file gender.cpp.

◆ Gender() [3/3]

Gender::Gender ( const QString & gender)

Definition at line 36 of file gender.cpp.

◆ ~Gender()

Gender::~Gender ( )

Definition at line 47 of file gender.cpp.

Member Function Documentation

◆ comment()

QString Gender::comment ( ) const

Definition at line 94 of file gender.cpp.

◆ gender()

QString Gender::gender ( ) const

Definition at line 84 of file gender.cpp.

◆ isValid()

bool Gender::isValid ( ) const

Definition at line 99 of file gender.cpp.

◆ operator!=()

bool Gender::operator!= ( const Gender & other) const

Definition at line 56 of file gender.cpp.

◆ operator=()

Gender & Gender::operator= ( const Gender & other)

Definition at line 61 of file gender.cpp.

◆ operator==()

bool Gender::operator== ( const Gender & other) const

Definition at line 51 of file gender.cpp.

◆ setComment()

void Gender::setComment ( const QString & comment)

Definition at line 89 of file gender.cpp.

◆ setGender()

void Gender::setGender ( const QString & gender)

Definition at line 79 of file gender.cpp.

◆ toString()

QString Gender::toString ( ) const

Definition at line 70 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-2024 The KDE developers.
Generated on Fri Jul 19 2024 11:57:35 by doxygen 1.11.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.