granatier
#include <playersettings.h>
Public Member Functions | |
PlayerSettings () | |
~PlayerSettings () | |
void | discardUnsavedSettings () |
bool | enabled (const QString &strPlayerID) const |
const QKeySequence | keyDown (const QString &strPlayerID) const |
const QKeySequence | keyLeft (const QString &strPlayerID) const |
const QKeySequence | keyPutBomb (const QString &strPlayerID) const |
const QKeySequence | keyRight (const QString &strPlayerID) const |
const QKeySequence | keyUp (const QString &strPlayerID) const |
const QString | playerDesktopFilePath (const QString &strPlayerID) const |
const QString | playerGraphicsFile (const QString &strPlayerID) const |
const QStringList | playerIDs () const |
const QString | playerName (const QString &strPlayerID) const |
void | savePlayerSettings () |
void | setEnabled (const QString &strPlayerID, const bool enabled) |
void | setKeyDown (const QString &strPlayerID, const QKeySequence &key) |
void | setKeyLeft (const QString &strPlayerID, const QKeySequence &key) |
void | setKeyPutBomb (const QString &strPlayerID, const QKeySequence &key) |
void | setKeyRight (const QString &strPlayerID, const QKeySequence &key) |
void | setKeyUp (const QString &strPlayerID, const QKeySequence &key) |
void | setPlayerName (const QString &strPlayerID, const QString &strName) |
Detailed Description
Definition at line 27 of file playersettings.h.
Constructor & Destructor Documentation
PlayerSettings::PlayerSettings | ( | ) |
Definition at line 25 of file playersettings.cpp.
PlayerSettings::~PlayerSettings | ( | ) |
Definition at line 120 of file playersettings.cpp.
Member Function Documentation
void PlayerSettings::discardUnsavedSettings | ( | ) |
Definition at line 257 of file playersettings.cpp.
bool PlayerSettings::enabled | ( | const QString & | strPlayerID | ) | const |
Definition at line 144 of file playersettings.cpp.
const QKeySequence PlayerSettings::keyDown | ( | const QString & | strPlayerID | ) | const |
Definition at line 159 of file playersettings.cpp.
const QKeySequence PlayerSettings::keyLeft | ( | const QString & | strPlayerID | ) | const |
Definition at line 164 of file playersettings.cpp.
const QKeySequence PlayerSettings::keyPutBomb | ( | const QString & | strPlayerID | ) | const |
Definition at line 169 of file playersettings.cpp.
const QKeySequence PlayerSettings::keyRight | ( | const QString & | strPlayerID | ) | const |
Definition at line 154 of file playersettings.cpp.
const QKeySequence PlayerSettings::keyUp | ( | const QString & | strPlayerID | ) | const |
Definition at line 149 of file playersettings.cpp.
Definition at line 134 of file playersettings.cpp.
Definition at line 139 of file playersettings.cpp.
const QStringList PlayerSettings::playerIDs | ( | ) | const |
Definition at line 124 of file playersettings.cpp.
Definition at line 129 of file playersettings.cpp.
void PlayerSettings::savePlayerSettings | ( | ) |
Definition at line 174 of file playersettings.cpp.
void PlayerSettings::setEnabled | ( | const QString & | strPlayerID, |
const bool | enabled | ||
) |
Definition at line 271 of file playersettings.cpp.
void PlayerSettings::setKeyDown | ( | const QString & | strPlayerID, |
const QKeySequence & | key | ||
) |
Definition at line 298 of file playersettings.cpp.
void PlayerSettings::setKeyLeft | ( | const QString & | strPlayerID, |
const QKeySequence & | key | ||
) |
Definition at line 307 of file playersettings.cpp.
void PlayerSettings::setKeyPutBomb | ( | const QString & | strPlayerID, |
const QKeySequence & | key | ||
) |
Definition at line 316 of file playersettings.cpp.
void PlayerSettings::setKeyRight | ( | const QString & | strPlayerID, |
const QKeySequence & | key | ||
) |
Definition at line 289 of file playersettings.cpp.
void PlayerSettings::setKeyUp | ( | const QString & | strPlayerID, |
const QKeySequence & | key | ||
) |
Definition at line 280 of file playersettings.cpp.
Definition at line 262 of file playersettings.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.