kanagram
Go to the documentation of this file.
22 #ifndef KANAGRAMGAME_H
23 #define KANAGRAMGAME_H
27 #include <QtCore/QObject>
28 #include <QtCore/QStringList>
29 #include <QtCore/QHash>
32 #include <krandomsequence.h>
35 class KEduVocDocument;
44 Q_PROPERTY(
QString dataLanguage READ dataLanguage WRITE setDataLanguage NOTIFY dataLanguageChanged)
54 QString sanitizedDataLanguage()
const;
60 Q_INVOKABLE
QString hint()
const;
84 Q_INVOKABLE
QString dataLanguage()
const;
87 Q_INVOKABLE
void setDataLanguage(
const QString& dataLanguage);
90 Q_INVOKABLE
int dataLanguageSelectedIndex()
const;
93 Q_INVOKABLE
int currentCategory()
const;
99 void useVocabulary(
const QString &vocabularyname);
102 void useVocabulary(
int index);
108 bool refreshVocabularyList();
111 void loadDefaultVocabulary();
117 void nextVocabulary();
120 void previousVocabulary();
126 void setCurrentCategory(
int index);
131 void fileError(
const QString &filename);
134 void dataLanguageChanged();
139 void createAnagram();
145 KRandomSequence m_random;
166 bool m_uppercaseOnly;
178 KEduVocDocument* m_document;
#define KANAGRAM_ENGINE_EXPORT
This file is part of the KDE documentation.
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.