Search for usage in LXR

#include <Attica/Achievement>

Public Types

typedef QList< AchievementList
enum  Type { FlowingAchievement, SteppedAchievement, NamedstepsAchievement, SetAchievement }
enum  Visibility { VisibleAchievement, DependentsAchievement, SecretAchievement }

Public Member Functions

 Achievement (const Achievement &other)
void addDependency (const QString &dependency)
void addOption (const QString &option)
QString contentId () const
QStringList dependencies () const
QString description () const
QString explanation () const
QString id () const
QUrl image () const
bool isValid () const
QString name () const
Achievementoperator= (const Achievement &other)
QStringList options () const
int points () const
QVariant progress () const
void removeDependency (const QString &dependency)
void removeOption (const QString &option)
void setContentId (const QString &contentId)
void setDependencies (const QStringList &dependencies)
void setDescription (const QString &description)
void setExplanation (const QString &explanation)
void setId (const QString &id)
void setImage (const QUrl &image)
void setName (const QString &name)
void setOptions (const QStringList &options)
void setPoints (const int points)
void setProgress (const QVariant &progress)
void setSteps (const int steps)
void setType (Achievement::Type type)
void setVisibility (Achievement::Visibility visibility)
int steps () const
Achievement::Type type () const
Achievement::Visibility visibility () const

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.

The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Dec 5 2023 04:05:05 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.