|
| LevelProgression (QObject *parent=nullptr) |
| Constructs a LevelProgression. More...
|
|
const QString & | getName () const |
| Returns name. More...
|
|
void | setName (const QString &value) |
| Sets name. More...
|
|
bool | isMultiplayer () const |
| Returns multiplayer. More...
|
|
void | setMultiplayer (bool value) |
| Sets multiplayer. More...
|
|
QQmlListProperty< Environment > | getEnvironmentsListProperty () |
| Returns environments. More...
|
|
QList< Environment * > & | getEnvironments () |
| Returns environments as a QList. More...
|
|
const QList< Environment * > & | getEnvironments () const |
| Returns environments as a const QList. More...
|
|
int | getNumLevels () const |
| Returns numLevels. More...
|
|
const QString & | getScreenshotFileName () const |
| Returns screenshotFileName. More...
|
|
void | setScreenshotFileName (const QString &value) |
| Sets screenshotFileName. More...
|
|
const QString & | getAchievementToUnlockOnPerfection () const |
| Returns achievementToUnlockOnPerfection. More...
|
|
void | setAchievementToUnlockOnPerfection (const QString &value) |
| Sets achievementToUnlockOnPerfection. More...
|
|
Q_INVOKABLE bool | isSinglePlayer () const |
| Returns whether or not the LevelProgression is for only one player. More...
|
|
Q_INVOKABLE bool | hasLevel (const QString &levelName) const |
| Returns whether or not the LevelProgression contains a LevelInfo named levelName . More...
|
|
Q_INVOKABLE LevelInfo * | getLevelInfoByName (const QString &levelName) const |
| Returns child LevelInfo identified by levelName , or null if not found. More...
|
|
Q_INVOKABLE LevelInfo * | getStartingLevelInfo () const |
| Returns child LevelInfo representing the first level in the progression. More...
|
|
Q_INVOKABLE Environment * | getEnvironmentByName (const QString &environmentName) const |
| Returns child Environment identified by environmentName , or null if not found. More...
|
|
Q_INVOKABLE int | getIndexOfEnvironment (const QString &environmentName) const |
| Returns the index of the child Environment identified by environmentName , or -1 if not found. More...
|
|
Q_INVOKABLE Environment * | getEnvironmentFromLevelName (const QString &levelName) const |
| Returns child Environment containing a LevelInfo identified by levelName , or null if not found. More...
|
|
Q_INVOKABLE int | getIndexOfEnvironmentFromLevelName (const QString &levelName) const |
| Returns index of child Environment containing a LevelInfo identified by levelName , or -1 if not found. More...
|
|
Q_INVOKABLE LevelInfo * | getNextLevelInfo (const QString ¤tLevelName, bool *wasLastLevel) const |
| Returns the child LevelInfo representing the next level in the progression after the level identified by currentLevelName . More...
|
|
Q_INVOKABLE int | compareLevels (const QString &levelNameA, const QString &levelNameB) const |
| Compares the specified levels in terms of how far in the progression they are. More...
|
|
| QObject (QObject *parent) |
|
virtual bool | event (QEvent *e) |
|
virtual bool | eventFilter (QObject *watched, QEvent *event) |
|
virtual const QMetaObject * | metaObject () const |
|
QString | objectName () const |
|
void | setObjectName (const QString &name) |
|
bool | isWidgetType () const |
|
bool | isWindowType () const |
|
bool | signalsBlocked () const |
|
bool | blockSignals (bool block) |
|
QThread * | thread () const |
|
void | moveToThread (QThread *targetThread) |
|
int | startTimer (int interval, Qt::TimerType timerType) |
|
void | killTimer (int id) |
|
T | findChild (const QString &name, QFlags< Qt::FindChildOption > options) const |
|
QList< T > | findChildren (const QString &name, QFlags< Qt::FindChildOption > options) const |
|
QList< T > | findChildren (const QRegExp ®Exp, QFlags< Qt::FindChildOption > options) const |
|
QList< T > | findChildren (const QRegularExpression &re, QFlags< Qt::FindChildOption > options) const |
|
const QObjectList & | children () const |
|
void | setParent (QObject *parent) |
|
void | installEventFilter (QObject *filterObj) |
|
void | removeEventFilter (QObject *obj) |
|
QMetaObject::Connection | connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const |
|
bool | disconnect (const char *signal, const QObject *receiver, const char *method) const |
|
bool | disconnect (const QObject *receiver, const char *method) const |
|
void | dumpObjectTree () |
|
void | dumpObjectInfo () |
|
bool | setProperty (const char *name, const QVariant &value) |
|
QVariant | property (const char *name) const |
|
QList< QByteArray > | dynamicPropertyNames () const |
|
void | destroyed (QObject *obj) |
|
void | objectNameChanged (const QString &objectName) |
|
QObject * | parent () const |
|
bool | inherits (const char *className) const |
|
void | deleteLater () |
|
|
QString | tr (const char *sourceText, const char *disambiguation, int n) |
|
QString | trUtf8 (const char *sourceText, const char *disambiguation, int n) |
|
QMetaObject::Connection | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) |
|
QMetaObject::Connection | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type) |
|
QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method, Qt::ConnectionType type) |
|
QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, Functor functor) |
|
QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, const QObject *context, Functor functor, Qt::ConnectionType type) |
|
bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method) |
|
bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) |
|
bool | disconnect (const QMetaObject::Connection &connection) |
|
bool | disconnect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method) |
|
QObject * | sender () const |
|
int | senderSignalIndex () const |
|
int | receivers (const char *signal) const |
|
bool | isSignalConnected (const QMetaMethod &signal) const |
|
virtual void | timerEvent (QTimerEvent *event) |
|
virtual void | childEvent (QChildEvent *event) |
|
virtual void | customEvent (QEvent *event) |
|
virtual void | connectNotify (const QMetaMethod &signal) |
|
virtual void | disconnectNotify (const QMetaMethod &signal) |
|
Grouping of related Environments together into a logical, ordered list.
This class also contains metadata that defines the LevelProgression and can be used for loading or displaying of it. Additionally, this class provides functions for determining the unique order of the Environments' LevelInfos.
- Note
- All LevelInfos in all resident Environments should be unique to the LevelProgression.