CultureList
CultureList Class Reference
#include <culturelist.h>
Public Member Functions | |
CultureList () | |
QString | current () const |
QString | getName (int index) const |
QStringList | getNames () const |
void | setCurrent (QString newName) |
Detailed Description
A list of all cultures FIXME: Why not use a QStringList?
Definition at line 16 of file culturelist.h.
Constructor & Destructor Documentation
◆ CultureList()
CultureList::CultureList | ( | ) |
Create culture list and load its content from file.
Definition at line 11 of file culturelist.cpp.
Member Function Documentation
◆ current()
|
inline |
Return the current sky culture.
Definition at line 23 of file culturelist.h.
◆ getName()
QString CultureList::getName | ( | int | index | ) | const |
Return the name of the culture at index.
- Returns
- null string if is index is out of range
Definition at line 44 of file culturelist.cpp.
◆ getNames()
|
inline |
Return a sorted list of cultures.
Definition at line 29 of file culturelist.h.
◆ setCurrent()
void CultureList::setCurrent | ( | QString | newName | ) |
Set the current culture name.
Definition at line 39 of file culturelist.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 Mon Nov 4 2024 16:38:44 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:38:44 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.