diff options
Diffstat (limited to 'rbutil/rbutilqt/base/tts.h')
-rw-r--r-- | rbutil/rbutilqt/base/tts.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/rbutil/rbutilqt/base/tts.h b/rbutil/rbutilqt/base/tts.h index 093ccd6138..f665ed2865 100644 --- a/rbutil/rbutilqt/base/tts.h +++ b/rbutil/rbutilqt/base/tts.h | |||
@@ -23,7 +23,6 @@ | |||
23 | #ifndef TTS_H | 23 | #ifndef TTS_H |
24 | #define TTS_H | 24 | #define TTS_H |
25 | 25 | ||
26 | #include "rbsettings.h" | ||
27 | #include <QtCore> | 26 | #include <QtCore> |
28 | #include <QProcess> | 27 | #include <QProcess> |
29 | #include <QDateTime> | 28 | #include <QDateTime> |
@@ -58,16 +57,12 @@ class TTSBase : public EncTtsSettingInterface | |||
58 | static TTSBase* getTTS(QObject* parent,QString ttsname); | 57 | static TTSBase* getTTS(QObject* parent,QString ttsname); |
59 | static QStringList getTTSList(); | 58 | static QStringList getTTSList(); |
60 | static QString getTTSName(QString tts); | 59 | static QString getTTSName(QString tts); |
61 | 60 | ||
62 | // sets the config. Users of TTS classes, always have to call this first | ||
63 | void setCfg(RbSettings* sett) { settings = sett; } | ||
64 | |||
65 | private: | 61 | private: |
66 | //inits the tts List | 62 | //inits the tts List |
67 | static void initTTSList(); | 63 | static void initTTSList(); |
68 | 64 | ||
69 | protected: | 65 | protected: |
70 | RbSettings* settings; | ||
71 | static QMap<QString,QString> ttsList; | 66 | static QMap<QString,QString> ttsList; |
72 | }; | 67 | }; |
73 | 68 | ||