KContacts::Lang Class
class KContacts::LangClass that holds a Language for a contact. More...
Header: | #include <KContacts/Lang> |
CMake: | find_package(KF6 REQUIRED COMPONENTS Contacts) target_link_libraries(mytarget PRIVATE KF6::Contacts) |
Since: | 4.14.5 |
Public Types
Public Functions
Lang() | |
Lang(const QString &language) | |
bool | isValid() const |
QString | language() const |
void | setLanguage(const QString &lang) |
QString | toString() const |
bool | operator!=(const KContacts::Lang &other) const |
bool | operator==(const KContacts::Lang &other) const |
Related Non-Members
QDataStream & | operator<<(QDataStream &stream, const KContacts::Lang &object) |
QDataStream & | operator>>(QDataStream &stream, KContacts::Lang &object) |
Detailed Description
Member Type Documentation
Lang::List
Member Function Documentation
Lang::Lang()
Lang::Lang(const QString &language)
bool Lang::isValid() const
QString Lang::language() const
See also setLanguage().
void Lang::setLanguage(const QString &lang)
See also language().