summaryrefslogtreecommitdiff
path: root/rbutil
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2012-06-12 20:09:45 +0200
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2012-06-12 20:11:20 +0200
commit4ea3f9ff2a0bcfda4e91c402447fa7a1a8d717f7 (patch)
tree78d99d7c9c85a9e78db02095d4b8296d03d6682c /rbutil
parentbf6abf7b38d2dcf52515e260c4f725a70392f7fd (diff)
Move include to proper place and do some code police.
Change-Id: I74a32e44ead18651a22a3a5038415808cbde6c39
Diffstat (limited to 'rbutil')
-rw-r--r--rbutil/rbutilqt/base/ttsbase.h12
-rw-r--r--rbutil/rbutilqt/base/ttsfestival.cpp3
2 files changed, 7 insertions, 8 deletions
diff --git a/rbutil/rbutilqt/base/ttsbase.h b/rbutil/rbutilqt/base/ttsbase.h
index 49983333ff..125fe49ff4 100644
--- a/rbutil/rbutilqt/base/ttsbase.h
+++ b/rbutil/rbutilqt/base/ttsbase.h
@@ -23,10 +23,6 @@
#define TTSBASE_H
#include <QtCore>
-#include <QProcess>
-#include <QDateTime>
-#include <QRegExp>
-#include <QTcpSocket>
#include "encttssettings.h"
@@ -45,23 +41,23 @@ class TTSBase : public EncTtsSettingInterface
virtual bool start(QString *errStr) =0;
//! child class should stop
virtual bool stop() =0;
-
+
virtual QString voiceVendor(void) = 0;
// configuration
//! Child class should return true, when configuration is good
- virtual bool configOk()=0;
+ virtual bool configOk()=0;
//! Child class should generate and insertSetting(..) its settings
virtual void generateSettings() = 0;
//! Chlid class should commit the Settings to permanent storage
virtual void saveSettings() = 0;
-
+
virtual Capabilities capabilities() = 0;
// static functions
static TTSBase* getTTS(QObject* parent,QString ttsname);
static QStringList getTTSList();
static QString getTTSName(QString tts);
-
+
private:
//inits the tts List
static void initTTSList();
diff --git a/rbutil/rbutilqt/base/ttsfestival.cpp b/rbutil/rbutilqt/base/ttsfestival.cpp
index ef880050d0..9ba6275ea6 100644
--- a/rbutil/rbutilqt/base/ttsfestival.cpp
+++ b/rbutil/rbutilqt/base/ttsfestival.cpp
@@ -16,6 +16,9 @@
*
****************************************************************************/
+#include <QtCore>
+#include <QTcpSocket>
+
#include "ttsfestival.h"
#include "utils.h"
#include "rbsettings.h"