|
Krita Source Code Documentation
|
#include <KoID.h>
Classes | |
| struct | KoIDPrivate |
| struct | TranslatedString |
Public Member Functions | |
| QString | id () const |
| KoID () | |
| KoID (const KoID &rhs) | |
| KoID (const QString &id, const KLocalizedString &name) | |
| KoID (const QString &id, const QString &name=QString()) | |
| QString | name () const |
| KoID & | operator= (const KoID &rhs) |
Static Public Member Functions | |
| static bool | compareNames (const KoID &id1, const KoID &id2) |
Private Types | |
| using | StorageType |
Private Attributes | |
| QSharedPointer< KoIDPrivate > | m_d |
Friends | |
| bool | operator!= (const KoID &, const KoID &) |
| bool | operator< (const KoID &, const KoID &) |
| bool | operator== (const KoID &, const KoID &) |
| bool | operator> (const KoID &, const KoID &) |
A KoID is a combination of a user-visible string and a string that uniquely identifies a given resource across languages.
|
private |
| KoID::KoID | ( | ) |
|
explicit |
Construct a KoID with the given id, and name, id is the untranslated official name of the id, name should be translatable as it will be used in the UI.
|
explicit |
| QString KoID::id | ( | ) | const |
| QString KoID::name | ( | ) | const |
|
private |