Attica::Achievement
#include <Attica/Achievement>
Public Types | |
typedef QList< Achievement > | List |
enum | Type { FlowingAchievement , SteppedAchievement , NamedstepsAchievement , SetAchievement } |
enum | Visibility { VisibleAchievement , DependentsAchievement , SecretAchievement } |
Static Public Member Functions | |
static QString | achievementTypeToString (const Achievement::Type type) |
static QString | achievementVisibilityToString (const Achievement::Visibility visibility) |
static Achievement::Type | stringToAchievementType (const QString &achievementTypeString) |
static Achievement::Visibility | stringToAchievementVisibility (const QString &achievementVisibilityString) |
Detailed Description
Represents an achievement.
Definition at line 27 of file achievement.h.
Member Typedef Documentation
◆ List
typedef QList<Achievement> Attica::Achievement::List |
Definition at line 30 of file achievement.h.
Member Enumeration Documentation
◆ Type
enum Attica::Achievement::Type |
Definition at line 33 of file achievement.h.
◆ Visibility
enum Attica::Achievement::Visibility |
Definition at line 42 of file achievement.h.
Constructor & Destructor Documentation
◆ Achievement() [1/2]
Achievement::Achievement | ( | ) |
Definition at line 99 of file achievement.cpp.
◆ Achievement() [2/2]
Achievement::Achievement | ( | const Achievement & | other | ) |
Definition at line 104 of file achievement.cpp.
◆ ~Achievement()
Achievement::~Achievement | ( | ) |
Definition at line 115 of file achievement.cpp.
Member Function Documentation
◆ achievementTypeToString()
Definition at line 29 of file achievement.cpp.
◆ achievementVisibilityToString()
|
static |
Definition at line 60 of file achievement.cpp.
◆ addDependency()
Definition at line 194 of file achievement.cpp.
◆ addOption()
Definition at line 234 of file achievement.cpp.
◆ contentId()
QString Achievement::contentId | ( | ) | const |
Definition at line 134 of file achievement.cpp.
◆ dependencies()
QStringList Achievement::dependencies | ( | ) | const |
Definition at line 204 of file achievement.cpp.
◆ description()
QString Achievement::description | ( | ) | const |
Definition at line 154 of file achievement.cpp.
◆ explanation()
QString Achievement::explanation | ( | ) | const |
Definition at line 164 of file achievement.cpp.
◆ id()
QString Achievement::id | ( | ) | const |
Definition at line 124 of file achievement.cpp.
◆ image()
QUrl Achievement::image | ( | ) | const |
Definition at line 184 of file achievement.cpp.
◆ isValid()
bool Achievement::isValid | ( | ) | const |
Definition at line 269 of file achievement.cpp.
◆ name()
QString Achievement::name | ( | ) | const |
Definition at line 144 of file achievement.cpp.
◆ operator=()
Achievement & Achievement::operator= | ( | const Achievement & | other | ) |
Definition at line 109 of file achievement.cpp.
◆ options()
QStringList Achievement::options | ( | ) | const |
Definition at line 244 of file achievement.cpp.
◆ points()
int Achievement::points | ( | ) | const |
Definition at line 174 of file achievement.cpp.
◆ progress()
QVariant Achievement::progress | ( | ) | const |
Definition at line 264 of file achievement.cpp.
◆ removeDependency()
Definition at line 199 of file achievement.cpp.
◆ removeOption()
Definition at line 239 of file achievement.cpp.
◆ setContentId()
Definition at line 129 of file achievement.cpp.
◆ setDependencies()
void Achievement::setDependencies | ( | const QStringList & | dependencies | ) |
Definition at line 189 of file achievement.cpp.
◆ setDescription()
Definition at line 149 of file achievement.cpp.
◆ setExplanation()
Definition at line 159 of file achievement.cpp.
◆ setId()
Definition at line 119 of file achievement.cpp.
◆ setImage()
Definition at line 179 of file achievement.cpp.
◆ setName()
Definition at line 139 of file achievement.cpp.
◆ setOptions()
void Achievement::setOptions | ( | const QStringList & | options | ) |
Definition at line 229 of file achievement.cpp.
◆ setPoints()
Definition at line 169 of file achievement.cpp.
◆ setProgress()
Definition at line 259 of file achievement.cpp.
◆ setSteps()
Definition at line 249 of file achievement.cpp.
◆ setType()
void Achievement::setType | ( | Achievement::Type | type | ) |
Definition at line 219 of file achievement.cpp.
◆ setVisibility()
void Achievement::setVisibility | ( | Achievement::Visibility | visibility | ) |
Definition at line 209 of file achievement.cpp.
◆ steps()
int Achievement::steps | ( | ) | const |
Definition at line 254 of file achievement.cpp.
◆ stringToAchievementType()
|
static |
Definition at line 13 of file achievement.cpp.
◆ stringToAchievementVisibility()
|
static |
Definition at line 46 of file achievement.cpp.
◆ type()
Achievement::Type Achievement::type | ( | ) | const |
Definition at line 224 of file achievement.cpp.
◆ visibility()
Achievement::Visibility Achievement::visibility | ( | ) | const |
Definition at line 214 of file achievement.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:19:48 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.