kanagram
#include <kanagramenginehelper.h>
Public Slots | |
void | saveSettings () |
Signals | |
void | defaultVocabularyChanged () |
void | hintHideTimeChanged () |
void | resolveTimeChanged () |
void | useSoundsToggled () |
Public Member Functions | |
KanagramEngineHelper (KanagramGame *kanagramGame, QObject *parent=0) | |
~KanagramEngineHelper () | |
Q_INVOKABLE void | aboutKanagram () |
Q_INVOKABLE void | aboutKDE () |
Q_INVOKABLE QString | anagramOriginalWord () |
Q_INVOKABLE QString | categoryName () const |
Q_INVOKABLE bool | checkWord (QString answer) |
Q_INVOKABLE bool | compareWords () const |
Q_INVOKABLE int | correctAnswerScore () |
Q_INVOKABLE QString | createNextAnagram () |
QString | defaultVocabulary () |
int | getNumericSetting (QString settingString) |
Q_INVOKABLE int | hintHideTime () |
Q_INVOKABLE int | incorrectAnswerScore () |
Q_INVOKABLE void | increaseScore (int points) |
Q_INVOKABLE QStringList | insertInCurrentOriginalWord (int index, const QString &letter) |
bool | isAnagram (QString &enteredword, QString &word) |
Q_INVOKABLE void | kanagramHandbook () |
void | loadSettings () |
Q_INVOKABLE QString | nextVocabulary () |
void | play (const QString &filename) |
Q_INVOKABLE QString | previousVocabulary () |
void | refreshVocabularies () |
Q_INVOKABLE void | reloadSettings () |
Q_INVOKABLE QStringList | removeInCurrentOriginalWord (int index) |
Q_INVOKABLE void | resetTotalScore () |
int | resolveTime () |
Q_INVOKABLE int | revealAnswerScore () |
void | say (QString text) |
Q_INVOKABLE int | scoreTime () |
void | setDefaultVocabulary (const QString &defaultVocabulary) |
void | setHintHideTime (int hintHideTime) |
void | setResolveTime (int resolveTime) |
void | setupJovie () |
void | setUseSounds (bool useSounds) |
Q_INVOKABLE QString | showHint () const |
Q_INVOKABLE int | skippedWordScore () |
Q_INVOKABLE void | slotEnableApplyButton () |
Q_INVOKABLE void | slotSaveSettings () |
Q_INVOKABLE void | slotSettingsCancelled () |
Q_INVOKABLE void | slotShowSettings () |
QString | stripAccents (QString &original) |
Q_INVOKABLE int | totalScore () |
bool | useSounds () |
Public Member Functions inherited from QObject | |
QObject (QObject *parent) | |
QObject (QObject *parent, const char *name) | |
virtual | ~QObject () |
bool | blockSignals (bool block) |
QObject * | child (const char *objName, const char *inheritsClass, bool recursiveSearch) const |
const QObjectList & | children () const |
const char * | className () const |
bool | connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const |
void | deleteLater () |
void | destroyed (QObject *obj) |
bool | disconnect (const QObject *receiver, const char *method) |
bool | disconnect (const char *signal, const QObject *receiver, const char *method) |
void | dumpObjectInfo () |
void | dumpObjectTree () |
QList< QByteArray > | dynamicPropertyNames () const |
virtual bool | event (QEvent *e) |
virtual bool | eventFilter (QObject *watched, QEvent *event) |
T | findChild (const QString &name) const |
QList< T > | findChildren (const QRegExp ®Exp) const |
QList< T > | findChildren (const QString &name) const |
bool | inherits (const char *className) const |
void | insertChild (QObject *object) |
void | installEventFilter (QObject *filterObj) |
bool | isA (const char *className) const |
bool | isWidgetType () const |
void | killTimer (int id) |
virtual const QMetaObject * | metaObject () const |
void | moveToThread (QThread *targetThread) |
const char * | name () const |
const char * | name (const char *defaultName) const |
QString | objectName () const |
QObject * | parent () const |
QVariant | property (const char *name) const |
void | removeChild (QObject *object) |
void | removeEventFilter (QObject *obj) |
void | setName (const char *name) |
void | setObjectName (const QString &name) |
void | setParent (QObject *parent) |
bool | setProperty (const char *name, const QVariant &value) |
bool | signalsBlocked () const |
int | startTimer (int interval) |
QThread * | thread () const |
Additional Inherited Members | |
Static Public Member Functions inherited from QObject | |
bool | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) |
bool | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, 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) |
QString | tr (const char *sourceText, const char *disambiguation, int n) |
QString | trUtf8 (const char *sourceText, const char *disambiguation, int n) |
Protected Member Functions inherited from QObject | |
bool | checkConnectArgs (const char *signal, const QObject *object, const char *method) |
virtual void | childEvent (QChildEvent *event) |
virtual void | connectNotify (const char *signal) |
virtual void | customEvent (QEvent *event) |
virtual void | disconnectNotify (const char *signal) |
int | receivers (const char *signal) const |
QObject * | sender () const |
int | senderSignalIndex () const |
virtual void | timerEvent (QTimerEvent *event) |
Static Protected Member Functions inherited from QObject | |
QByteArray | normalizeSignalSlot (const char *signalSlot) |
Properties inherited from QObject | |
objectName | |
Detailed Description
Definition at line 37 of file kanagramenginehelper.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 48 of file kanagramenginehelper.cpp.
KanagramEngineHelper::~KanagramEngineHelper | ( | ) |
Definition at line 65 of file kanagramenginehelper.cpp.
Member Function Documentation
void KanagramEngineHelper::aboutKanagram | ( | ) |
Definition at line 453 of file kanagramenginehelper.cpp.
void KanagramEngineHelper::aboutKDE | ( | ) |
Definition at line 458 of file kanagramenginehelper.cpp.
QString KanagramEngineHelper::anagramOriginalWord | ( | ) |
Definition at line 112 of file kanagramenginehelper.cpp.
QString KanagramEngineHelper::categoryName | ( | ) | const |
Definition at line 133 of file kanagramenginehelper.cpp.
bool KanagramEngineHelper::checkWord | ( | QString | answer | ) |
Definition at line 160 of file kanagramenginehelper.cpp.
bool KanagramEngineHelper::compareWords | ( | ) | const |
Definition at line 374 of file kanagramenginehelper.cpp.
int KanagramEngineHelper::correctAnswerScore | ( | ) |
Definition at line 421 of file kanagramenginehelper.cpp.
QString KanagramEngineHelper::createNextAnagram | ( | ) |
Definition at line 74 of file kanagramenginehelper.cpp.
QString KanagramEngineHelper::defaultVocabulary | ( | ) |
Definition at line 569 of file kanagramenginehelper.cpp.
|
signal |
int KanagramEngineHelper::getNumericSetting | ( | QString | settingString | ) |
Definition at line 222 of file kanagramenginehelper.cpp.
int KanagramEngineHelper::hintHideTime | ( | ) |
Definition at line 522 of file kanagramenginehelper.cpp.
|
signal |
int KanagramEngineHelper::incorrectAnswerScore | ( | ) |
Definition at line 429 of file kanagramenginehelper.cpp.
void KanagramEngineHelper::increaseScore | ( | int | points | ) |
Definition at line 411 of file kanagramenginehelper.cpp.
QStringList KanagramEngineHelper::insertInCurrentOriginalWord | ( | int | index, |
const QString & | letter | ||
) |
Definition at line 86 of file kanagramenginehelper.cpp.
Definition at line 196 of file kanagramenginehelper.cpp.
void KanagramEngineHelper::kanagramHandbook | ( | ) |
Definition at line 463 of file kanagramenginehelper.cpp.
void KanagramEngineHelper::loadSettings | ( | ) |
Definition at line 236 of file kanagramenginehelper.cpp.
QString KanagramEngineHelper::nextVocabulary | ( | ) |
Definition at line 139 of file kanagramenginehelper.cpp.
void KanagramEngineHelper::play | ( | const QString & | filename | ) |
Definition at line 342 of file kanagramenginehelper.cpp.
QString KanagramEngineHelper::previousVocabulary | ( | ) |
Definition at line 149 of file kanagramenginehelper.cpp.
void KanagramEngineHelper::refreshVocabularies | ( | ) |
Definition at line 315 of file kanagramenginehelper.cpp.
void KanagramEngineHelper::reloadSettings | ( | ) |
Definition at line 336 of file kanagramenginehelper.cpp.
QStringList KanagramEngineHelper::removeInCurrentOriginalWord | ( | int | index | ) |
Definition at line 105 of file kanagramenginehelper.cpp.
void KanagramEngineHelper::resetTotalScore | ( | ) |
Definition at line 406 of file kanagramenginehelper.cpp.
int KanagramEngineHelper::resolveTime | ( | ) |
Definition at line 539 of file kanagramenginehelper.cpp.
|
signal |
int KanagramEngineHelper::revealAnswerScore | ( | ) |
Definition at line 437 of file kanagramenginehelper.cpp.
|
slot |
Definition at line 580 of file kanagramenginehelper.cpp.
void KanagramEngineHelper::say | ( | QString | text | ) |
speak the word
- Parameters
-
text the word that is to be converted from text to speech
Definition at line 496 of file kanagramenginehelper.cpp.
int KanagramEngineHelper::scoreTime | ( | ) |
Definition at line 550 of file kanagramenginehelper.cpp.
void KanagramEngineHelper::setDefaultVocabulary | ( | const QString & | defaultVocabulary | ) |
Definition at line 574 of file kanagramenginehelper.cpp.
void KanagramEngineHelper::setHintHideTime | ( | int | hintHideTime | ) |
Definition at line 533 of file kanagramenginehelper.cpp.
void KanagramEngineHelper::setResolveTime | ( | int | resolveTime | ) |
Definition at line 544 of file kanagramenginehelper.cpp.
void KanagramEngineHelper::setupJovie | ( | ) |
setup kde text-to-speech daemon
Definition at line 468 of file kanagramenginehelper.cpp.
void KanagramEngineHelper::setUseSounds | ( | bool | useSounds | ) |
Definition at line 563 of file kanagramenginehelper.cpp.
QString KanagramEngineHelper::showHint | ( | ) | const |
Definition at line 127 of file kanagramenginehelper.cpp.
int KanagramEngineHelper::skippedWordScore | ( | ) |
Definition at line 445 of file kanagramenginehelper.cpp.
void KanagramEngineHelper::slotEnableApplyButton | ( | ) |
Definition at line 517 of file kanagramenginehelper.cpp.
void KanagramEngineHelper::slotSaveSettings | ( | ) |
Definition at line 508 of file kanagramenginehelper.cpp.
void KanagramEngineHelper::slotSettingsCancelled | ( | ) |
Definition at line 513 of file kanagramenginehelper.cpp.
void KanagramEngineHelper::slotShowSettings | ( | ) |
invoke the settings dialog
Definition at line 379 of file kanagramenginehelper.cpp.
Definition at line 362 of file kanagramenginehelper.cpp.
int KanagramEngineHelper::totalScore | ( | ) |
Definition at line 416 of file kanagramenginehelper.cpp.
bool KanagramEngineHelper::useSounds | ( | ) |
Definition at line 558 of file kanagramenginehelper.cpp.
|
signal |
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:12:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.