summaryrefslogtreecommitdiffstats
path: root/examples/speech/hello_speak/mainwindow.h
diff options
context:
space:
mode:
authorTarja Sundqvist <tarja.sundqvist@qt.io>2023-03-23 16:00:29 +0200
committerTarja Sundqvist <tarja.sundqvist@qt.io>2023-03-23 16:00:29 +0200
commitb2fdbe275f558893096356d152162df9f67cd22d (patch)
treeab94608ed14042dd3b736080431383d9cfedc6ab /examples/speech/hello_speak/mainwindow.h
parent17fc9fde48605664b24fe8508ac8192dea289557 (diff)
parent98bd3fe90bdabe24532164263dc17cb750bee8c5 (diff)
Merge remote-tracking branch 'origin/tqtc/lts-5.15.9' into tqtc/lts-5.15-opensourcev5.15.9-lts-lgpl
Diffstat (limited to 'examples/speech/hello_speak/mainwindow.h')
-rw-r--r--examples/speech/hello_speak/mainwindow.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/speech/hello_speak/mainwindow.h b/examples/speech/hello_speak/mainwindow.h
index eef4057..d415519 100644
--- a/examples/speech/hello_speak/mainwindow.h
+++ b/examples/speech/hello_speak/mainwindow.h
@@ -65,6 +65,8 @@ class MainWindow : public QMainWindow
public:
MainWindow(QWidget *parent = 0);
+ void queryLocales();
+
public slots:
void speak();
void stop();
@@ -84,6 +86,7 @@ private:
Ui::MainWindow ui;
QTextToSpeech *m_speech;
QVector<QVoice> m_voices;
+ bool m_localesQueried;
};
#endif