summaryrefslogtreecommitdiff
path: root/quacker/settings.h
diff options
context:
space:
mode:
authorJohn Fultz <jfultz@wolfram.com>2023-07-15 16:46:26 -0500
committerJohn Fultz <jfultz@wolfram.com>2023-07-16 08:29:07 -0500
commit525f330420d6f3b112dbae36c2fb9769265321a8 (patch)
tree9c89e1b4a3b2ef647577a9320c514caa0e307cb8 /quacker/settings.h
parent9fe15e565708b1efbf2dbc6b6f9dd19d89ff29da (diff)
Fix up some Qt signals.
Some of the signals we’re using aren’t supported or working in Qt 6. Refactor for things that are working and documented.
Diffstat (limited to 'quacker/settings.h')
-rw-r--r--quacker/settings.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/quacker/settings.h b/quacker/settings.h
index 0171630..e0736c0 100644
--- a/quacker/settings.h
+++ b/quacker/settings.h
@@ -63,10 +63,10 @@ public slots:
void createGUI();
protected slots:
- void lexiconChanged(const QString &lexiconName);
- void alphabetChanged(const QString &alphabetName);
- void themeChanged(const QString &themeName);
- void boardChanged(const QString &boardName);
+ void lexiconChanged(int lexiconIndex);
+ void alphabetChanged(int alphabetIndex);
+ void themeChanged(int themeIndex);
+ void boardChanged(int boardIndex);
void addBoard();
void editBoard();
@@ -107,6 +107,9 @@ private:
void setGaddagLabel(const QString &label);
void pushIndex(GaddagFactory &factory, Quackle::LetterString &word, int index, int &wordCount);
+ void lexiconChanged(const QString &lexiconName);
+ void boardChanged(const QString &boardName);
+
static Settings *m_self;
int m_lastGoodLexiconValue;
int m_lastGoodBoardValue;