KContacts::Lang

Search for usage in LXR

KContacts::Lang Class Reference

#include <lang.h>

Public Types

typedef QList< LangList
 

Public Member Functions

 Lang (const Lang &other)
 
 Lang (const QString &language)
 
bool isValid () const
 
QString language () const
 
bool operator!= (const Lang &other) const
 
Langoperator= (const Lang &other)
 
bool operator== (const Lang &other) const
 
void setLanguage (const QString &lang)
 
QString toString () const
 

Detailed Description

Class that holds a Language for a contact.

Since
4.14.5

Definition at line 26 of file lang.h.

Member Typedef Documentation

◆ List

Definition at line 41 of file lang.h.

Constructor & Destructor Documentation

◆ Lang() [1/3]

Lang::Lang ( )

Definition at line 34 of file lang.cpp.

◆ Lang() [2/3]

Lang::Lang ( const Lang & other)

Definition at line 39 of file lang.cpp.

◆ Lang() [3/3]

Lang::Lang ( const QString & language)

Definition at line 44 of file lang.cpp.

◆ ~Lang()

Lang::~Lang ( )

Definition at line 50 of file lang.cpp.

Member Function Documentation

◆ isValid()

bool Lang::isValid ( ) const

Definition at line 64 of file lang.cpp.

◆ language()

QString Lang::language ( ) const

Definition at line 59 of file lang.cpp.

◆ operator!=()

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

Definition at line 84 of file lang.cpp.

◆ operator=()

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

Definition at line 89 of file lang.cpp.

◆ operator==()

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

Definition at line 79 of file lang.cpp.

◆ setLanguage()

void Lang::setLanguage ( const QString & lang)

Definition at line 54 of file lang.cpp.

◆ toString()

QString Lang::toString ( ) const

Definition at line 98 of file lang.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 Sat Dec 21 2024 17:01:27 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.