summaryrefslogtreecommitdiffstats
path: root/kttsd/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'kttsd/plugins')
-rw-r--r--kttsd/plugins/CMakeLists.txt6
-rw-r--r--kttsd/plugins/command/CMakeLists.txt39
-rw-r--r--kttsd/plugins/command/README2
-rw-r--r--kttsd/plugins/command/commandconf.cpp28
-rw-r--r--kttsd/plugins/command/commandconf.h4
-rw-r--r--kttsd/plugins/command/commandconfwidget.ui10
-rw-r--r--kttsd/plugins/command/commandplugin.cpp2
-rw-r--r--kttsd/plugins/command/commandproc.cpp18
-rw-r--r--kttsd/plugins/command/commandproc.h4
-rw-r--r--kttsd/plugins/command/kttsd_commandplugin.desktop87
-rw-r--r--kttsd/plugins/epos/CMakeLists.txt39
-rw-r--r--kttsd/plugins/epos/eposconf.cpp56
-rw-r--r--kttsd/plugins/epos/eposconf.h4
-rw-r--r--kttsd/plugins/epos/eposconfwidget.ui16
-rw-r--r--kttsd/plugins/epos/eposplugin.cpp2
-rw-r--r--kttsd/plugins/epos/eposproc.cpp34
-rw-r--r--kttsd/plugins/epos/eposproc.h4
-rw-r--r--kttsd/plugins/epos/kttsd_eposplugin.desktop82
-rw-r--r--kttsd/plugins/festivalint/CMakeLists.txt49
-rw-r--r--kttsd/plugins/festivalint/festivalintconf.cpp80
-rw-r--r--kttsd/plugins/festivalint/festivalintconf.h4
-rw-r--r--kttsd/plugins/festivalint/festivalintconfwidget.ui16
-rw-r--r--kttsd/plugins/festivalint/festivalintplugin.cpp2
-rw-r--r--kttsd/plugins/festivalint/festivalintproc.cpp18
-rw-r--r--kttsd/plugins/festivalint/festivalintproc.h4
-rw-r--r--kttsd/plugins/festivalint/kttsd_festivalintplugin.desktop67
-rw-r--r--kttsd/plugins/festivalint/sabletowave.scm2
-rw-r--r--kttsd/plugins/flite/CMakeLists.txt39
-rw-r--r--kttsd/plugins/flite/fliteconf.cpp14
-rw-r--r--kttsd/plugins/flite/fliteconf.h4
-rw-r--r--kttsd/plugins/flite/fliteconfwidget.ui8
-rw-r--r--kttsd/plugins/flite/fliteplugin.cpp2
-rw-r--r--kttsd/plugins/flite/fliteproc.cpp18
-rw-r--r--kttsd/plugins/flite/fliteproc.h4
-rw-r--r--kttsd/plugins/flite/kttsd_fliteplugin.desktop54
-rw-r--r--kttsd/plugins/freetts/CMakeLists.txt38
-rw-r--r--kttsd/plugins/freetts/README2
-rw-r--r--kttsd/plugins/freetts/freettsconf.cpp12
-rw-r--r--kttsd/plugins/freetts/freettsconf.h2
-rw-r--r--kttsd/plugins/freetts/freettsconfigwidget.ui8
-rw-r--r--kttsd/plugins/freetts/freettsproc.cpp16
-rw-r--r--kttsd/plugins/freetts/freettsproc.h2
-rw-r--r--kttsd/plugins/freetts/kttsd_freettsplugin.desktop46
-rw-r--r--kttsd/plugins/hadifix/CMakeLists.txt46
-rw-r--r--kttsd/plugins/hadifix/hadifixconf.cpp18
-rw-r--r--kttsd/plugins/hadifix/hadifixconf.h2
-rw-r--r--kttsd/plugins/hadifix/hadifixconfigui.ui28
-rw-r--r--kttsd/plugins/hadifix/hadifixproc.cpp16
-rw-r--r--kttsd/plugins/hadifix/hadifixproc.h2
-rw-r--r--kttsd/plugins/hadifix/kttsd_hadifixplugin.desktop46
-rw-r--r--kttsd/plugins/hadifix/voicefileui.ui15
51 files changed, 488 insertions, 633 deletions
diff --git a/kttsd/plugins/CMakeLists.txt b/kttsd/plugins/CMakeLists.txt
new file mode 100644
index 0000000..dc615ab
--- /dev/null
+++ b/kttsd/plugins/CMakeLists.txt
@@ -0,0 +1,6 @@
+tde_conditional_add_subdirectory( BUILD_KTTSD_COMMAND command )
+tde_conditional_add_subdirectory( BUILD_KTTSD_EPOS epos )
+tde_conditional_add_subdirectory( BUILD_KTTSD_FESTIVAL festivalint )
+tde_conditional_add_subdirectory( BUILD_KTTSD_FREETTS freetts )
+tde_conditional_add_subdirectory( BUILD_KTTSD_FLITE flite )
+tde_conditional_add_subdirectory( BUILD_KTTSD_HADIFIX hadifix )
diff --git a/kttsd/plugins/command/CMakeLists.txt b/kttsd/plugins/command/CMakeLists.txt
new file mode 100644
index 0000000..6ecb4a6
--- /dev/null
+++ b/kttsd/plugins/command/CMakeLists.txt
@@ -0,0 +1,39 @@
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${CMAKE_SOURCE_DIR}/kttsd/libkttsd
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### libkttsd_commandplugin (kpart)
+
+tde_add_kpart( libkttsd_commandplugin AUTOMOC
+
+ SOURCES
+ commandconfwidget.ui
+ commandconf.cpp
+ commandproc.cpp
+ commandplugin.cpp
+ LINK
+ kttsd-shared
+
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### other data
+
+tde_create_translated_desktop(
+ SOURCE kttsd_commandplugin.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR kttsd-desktops
+)
diff --git a/kttsd/plugins/command/README b/kttsd/plugins/command/README
index fbba4f8..5bfafa4 100644
--- a/kttsd/plugins/command/README
+++ b/kttsd/plugins/command/README
@@ -4,5 +4,5 @@ This plug in is developed and maintained by Gunnar Schmi Dt.
If you intend to edit the GUI (commandconfwidget.ui) you will have to first
copy kttsd/libkttsd/pluginconf.h to a standard include directory
like $TDEDIR/include/ since the interface has been tweaked to derive
-from PlugInConf instead of QWidget and Qt Designer refuses to open it
+from PlugInConf instead of TQWidget and Qt Designer refuses to open it
if the header is not properly placed.
diff --git a/kttsd/plugins/command/commandconf.cpp b/kttsd/plugins/command/commandconf.cpp
index f95bca0..2144b52 100644
--- a/kttsd/plugins/command/commandconf.cpp
+++ b/kttsd/plugins/command/commandconf.cpp
@@ -1,4 +1,4 @@
-/***************************************************** vim:set ts=4 sw=4 sts=4:
+/*
Configuration for the Command Plug in
-------------------
Copyright : (C) 2002,2004 by Gunnar Schmi Dt and Gary Cramblitt
@@ -60,16 +60,16 @@ CommandConf::CommandConf( TQWidget* parent, const char* name, const TQStringList
m_widget->characterCodingBox->insertStringList(m_codecList);
defaults();
- connect(m_widget->characterCodingBox, TQT_SIGNAL(textChanged(const TQString&)),
- this, TQT_SLOT(configChanged()));
- connect(m_widget->characterCodingBox, TQT_SIGNAL(activated(const TQString&)),
- this, TQT_SLOT(configChanged()));
- connect(m_widget->stdInButton, TQT_SIGNAL(toggled(bool)),
- this, TQT_SLOT(configChanged()));
- connect(m_widget->urlReq, TQT_SIGNAL(textChanged(const TQString&)),
- this, TQT_SLOT(configChanged()));
- connect(m_widget->commandTestButton, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(slotCommandTest_clicked()));
+ connect(m_widget->characterCodingBox, TQ_SIGNAL(textChanged(const TQString&)),
+ this, TQ_SLOT(configChanged()));
+ connect(m_widget->characterCodingBox, TQ_SIGNAL(activated(const TQString&)),
+ this, TQ_SLOT(configChanged()));
+ connect(m_widget->stdInButton, TQ_SIGNAL(toggled(bool)),
+ this, TQ_SLOT(configChanged()));
+ connect(m_widget->urlReq, TQ_SIGNAL(textChanged(const TQString&)),
+ this, TQ_SLOT(configChanged()));
+ connect(m_widget->commandTestButton, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(slotCommandTest_clicked()));
}
/** Destructor */
@@ -147,7 +147,7 @@ void CommandConf::slotCommandTest_clicked()
else
{
m_commandProc = new CommandProc();
- connect (m_commandProc, TQT_SIGNAL(stopped()), this, TQT_SLOT(slotSynthStopped()));
+ connect (m_commandProc, TQ_SIGNAL(stopped()), this, TQ_SLOT(slotSynthStopped()));
}
// Create a temp file name for the wave file.
@@ -167,7 +167,7 @@ void CommandConf::slotCommandTest_clicked()
m_progressDlg->setAllowCancel(true);
// TODO: Do codec names contain non-ASCII characters?
- connect (m_commandProc, TQT_SIGNAL(synthFinished()), this, TQT_SLOT(slotSynthFinished()));
+ connect (m_commandProc, TQ_SIGNAL(synthFinished()), this, TQ_SLOT(slotSynthFinished()));
m_commandProc->synth(
testMsg,
tmpWaveFile,
@@ -179,7 +179,7 @@ void CommandConf::slotCommandTest_clicked()
// Display progress dialog modally. Processing continues when plugin signals synthFinished,
// or if user clicks Cancel button.
m_progressDlg->exec();
- disconnect (m_commandProc, TQT_SIGNAL(synthFinished()), this, TQT_SLOT(slotSynthFinished()));
+ disconnect (m_commandProc, TQ_SIGNAL(synthFinished()), this, TQ_SLOT(slotSynthFinished()));
if (m_progressDlg->wasCancelled()) m_commandProc->stopText();
delete m_progressDlg;
m_progressDlg = 0;
diff --git a/kttsd/plugins/command/commandconf.h b/kttsd/plugins/command/commandconf.h
index 743e6d0..8c22717 100644
--- a/kttsd/plugins/command/commandconf.h
+++ b/kttsd/plugins/command/commandconf.h
@@ -1,4 +1,4 @@
-/***************************************************** vim:set ts=4 sw=4 sts=4:
+/*
Configuration for the Command Plug in
-------------------
Copyright : (C) 2002,2004 by Gunnar Schmi Dt and Gary Cramblitt
@@ -35,7 +35,7 @@ class CommandProc;
class KProgressDialog;
class CommandConf : public PlugInConf {
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/kttsd/plugins/command/commandconfwidget.ui b/kttsd/plugins/command/commandconfwidget.ui
index 75ce080..8491898 100644
--- a/kttsd/plugins/command/commandconfwidget.ui
+++ b/kttsd/plugins/command/commandconfwidget.ui
@@ -214,14 +214,8 @@
<include location="global" impldecl="in implementation">kpushbutton.h</include>
<include location="global" impldecl="in implementation">kcombobox.h</include>
</includes>
-<Q_SIGNALS>
+<signals>
<signal>configurationChanged()</signal>
-</Q_SIGNALS>
+</signals>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>kurlrequester.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kcombobox.h</includehint>
-</includehints>
</UI>
diff --git a/kttsd/plugins/command/commandplugin.cpp b/kttsd/plugins/command/commandplugin.cpp
index 119ca47..ebe4b6e 100644
--- a/kttsd/plugins/command/commandplugin.cpp
+++ b/kttsd/plugins/command/commandplugin.cpp
@@ -1,4 +1,4 @@
-/***************************************************** vim:set ts=4 sw=4 sts=4:
+/*
-------------------
Copyright : (C) 2002 by Gunnar Schmi Dt and 2004 by Gary Cramblitt
-------------------
diff --git a/kttsd/plugins/command/commandproc.cpp b/kttsd/plugins/command/commandproc.cpp
index 0347d79..e0f04ec 100644
--- a/kttsd/plugins/command/commandproc.cpp
+++ b/kttsd/plugins/command/commandproc.cpp
@@ -1,4 +1,4 @@
-/***************************************************** vim:set ts=4 sw=4 sts=4:
+/*
Main speaking functions for the Command Plug in
-------------------
Copyright : (C) 2002 by Gunnar Schmi Dt and 2004 by Gary Cramblitt
@@ -290,14 +290,14 @@ void CommandProc::synth(const TQString& inputText, const TQString& suggestedFile
m_commandProc->setEnvironment("LANG", language + "." + codec->mimeName());
m_commandProc->setEnvironment("LC_CTYPE", language + "." + codec->mimeName());
*m_commandProc << command;
- connect(m_commandProc, TQT_SIGNAL(processExited(TDEProcess*)),
- this, TQT_SLOT(slotProcessExited(TDEProcess*)));
- connect(m_commandProc, TQT_SIGNAL(receivedStdout(TDEProcess*, char*, int)),
- this, TQT_SLOT(slotReceivedStdout(TDEProcess*, char*, int)));
- connect(m_commandProc, TQT_SIGNAL(receivedStderr(TDEProcess*, char*, int)),
- this, TQT_SLOT(slotReceivedStderr(TDEProcess*, char*, int)));
- connect(m_commandProc, TQT_SIGNAL(wroteStdin(TDEProcess*)),
- this, TQT_SLOT(slotWroteStdin(TDEProcess* )));
+ connect(m_commandProc, TQ_SIGNAL(processExited(TDEProcess*)),
+ this, TQ_SLOT(slotProcessExited(TDEProcess*)));
+ connect(m_commandProc, TQ_SIGNAL(receivedStdout(TDEProcess*, char*, int)),
+ this, TQ_SLOT(slotReceivedStdout(TDEProcess*, char*, int)));
+ connect(m_commandProc, TQ_SIGNAL(receivedStderr(TDEProcess*, char*, int)),
+ this, TQ_SLOT(slotReceivedStderr(TDEProcess*, char*, int)));
+ connect(m_commandProc, TQ_SIGNAL(wroteStdin(TDEProcess*)),
+ this, TQ_SLOT(slotWroteStdin(TDEProcess* )));
// 4. start the process
diff --git a/kttsd/plugins/command/commandproc.h b/kttsd/plugins/command/commandproc.h
index 694c41f..f476a1b 100644
--- a/kttsd/plugins/command/commandproc.h
+++ b/kttsd/plugins/command/commandproc.h
@@ -1,4 +1,4 @@
-/***************************************************** vim:set ts=4 sw=4 sts=4:
+/*
Main speaking functions for the Command Plug in
-------------------
Copyright : (C) 2002 by Gunnar Schmi Dt and 2004 by Gary Cramblitt
@@ -28,7 +28,7 @@ class TDEProcess;
class TQTextCodec;
class CommandProc : public PlugInProc{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/kttsd/plugins/command/kttsd_commandplugin.desktop b/kttsd/plugins/command/kttsd_commandplugin.desktop
index 2b2e1a9..1017c14 100644
--- a/kttsd/plugins/command/kttsd_commandplugin.desktop
+++ b/kttsd/plugins/command/kttsd_commandplugin.desktop
@@ -1,91 +1,8 @@
[Desktop Entry]
Name=Command
-Name[br]=Urzhiad
-Name[bs]=Naredba
-Name[ca]=Odre
-Name[cs]=Příkaz
-Name[cy]=Gorchymyn
-Name[da]=Kommando
-Name[de]=Befehl
-Name[el]=Εντολή
-Name[es]=Orden
-Name[et]=Käsk
-Name[fa]=فرمان
-Name[fi]=Komento
-Name[fr]=Commande
-Name[ga]=Ordú
-Name[gl]=Comando
-Name[he]=פקודה
-Name[hu]=Parancs
-Name[is]=Skipun
-Name[it]=Comando
-Name[ja]=コマンド
-Name[ka]=ბრძანება
-Name[km]=ពាក្យ​បញ្ជា
-Name[mk]=Командна линија
-Name[ms]=Arahan
-Name[nb]=Kommando
-Name[nds]=Befehl
-Name[ne]=आदेश
-Name[pa]=ਕਮਾਂਡ
-Name[pl]=Polecenie
-Name[pt]=Comando
-Name[ru]=Командная строка
-Name[sk]=Príkaz
-Name[sl]=Ukaz
-Name[sr]=Наредба
-Name[sr@Latn]=Naredba
-Name[sv]=Kommando
-Name[ta]=கட்டளை
-Name[tg]=Сатри фармоишӣ
-Name[tr]=Komut
-Name[uk]=Команда
-Name[vi]=Ra lệnh
-Name[zh_TW]=命令
+
Comment=Generic speech synthesizer from command line
-Comment[bg]=Общ синтезатор на глас от командния ред
-Comment[bs]=Generalna sinteza govora sa komandne linije
-Comment[ca]=Sintetitzador de veu genèric de línia d'ordres
-Comment[cs]=Hlasový syntetizátor pro příkazovou řádku
-Comment[da]=Generisk tale-synthesizer fra kommandolinjen
-Comment[de]=Generischer Sprachsynthesizer in der Befehlszeile
-Comment[el]=Γενικός συνθέτης ομιλίας για τη γραμμή εντολών
-Comment[es]=Sintetizador genérico de texto a voz para la línea de órdenes
-Comment[et]=Üldine käsurea-kõnesüntesaator
-Comment[eu]=Komando-lerroko hizketa-sintetizadore generikoa
-Comment[fa]=ترکیب‌دهندۀ گفتار عمومی از خط فرمان
-Comment[fi]=Yleinen komentorivipohjainen puhesyntetisaattori
-Comment[fr]=Synthèse vocale générique en ligne de commande
-Comment[ga]=Sintéiseoir cainte ginearálta ó líne na n-orduithe
-Comment[gl]=Sintetizados de fala xenérico para a liña de comandos
-Comment[hu]=Parancssoros kezelőprogram szövegfelolvasáshoz
-Comment[is]=Almennur talgerfill frá skipanalínu
-Comment[it]=Sintetizzatore vocale generico dalla riga di comando
-Comment[ja]=コマンドラインからの汎用スピーチシンセサイザ
-Comment[ka]=საზოგადო ხმის სინქრონიზატორი ბრძანების ველიდან
-Comment[km]=កម្មវិធី​សង្គ្រោះ​ការនិយាយ​ទូទៅ​ពី​បន្ទាត់​ពាក្យ​បញ្ជា
-Comment[mk]=Синтисајзер на општ говор од командната линија
-Comment[ms]=Pensintesis tutur generik dari baris arahan
-Comment[nb]=Generisk talesyntetisering fra kommandolinje
-Comment[nds]=Blicksnuut för de Befehlsreeg
-Comment[ne]=आदेश रेखाबाट जेनेरिक संवाद सिन्थेसाइजर
-Comment[nl]=Generieke spraaksynthesizer voor de commandoregel
-Comment[pa]=ਕਮਾਂਡ ਲਾਈਨ ਤੋਂ ਸਧਾਰਨ ਬੋਲੀ ਸੰਸਲੇਸ਼ਕ
-Comment[pl]=Program syntezatora mowy uruchamiany z linii poleceń
-Comment[pt]=Sintetizador de fala genérico através de uma linha de comandos
-Comment[pt_BR]=Interface de linha de comando para o sintetizador de fala genérico
-Comment[ru]=Консольный интерфейс к движкам синтеза речи
-Comment[sk]=Všeobecný syntetizátor reči z príkazového riadka
-Comment[sl]=Generični sintetizator govora iz ukazne vrstice
-Comment[sr]=Генерички синтетизатор говора из командне линије
-Comment[sr@Latn]=Generički sintetizator govora iz komandne linije
-Comment[sv]=Generell talsyntes från kommandoraden
-Comment[ta]=கட்டளை வரியில் இருந்து பொது பேச்சு கூட்டிணைப்பாளர்
-Comment[tg]=Консоли интерфейс ба микшерҳо барои таҳлили овоз
-Comment[tr]=Komut satırından genel konuşma bireştirici
-Comment[uk]=Загальний синтезатор мовлення з командного рядка
-Comment[vi]=Tổng hợp giọng nói chung cho việc ra lệnh
-Comment[zh_TW]=從命令列的一般語音合成器
+
Type=Service
X-TDE-ServiceTypes=KTTSD/SynthPlugin
X-TDE-Library=libkttsd_commandplugin
diff --git a/kttsd/plugins/epos/CMakeLists.txt b/kttsd/plugins/epos/CMakeLists.txt
new file mode 100644
index 0000000..6e79bca
--- /dev/null
+++ b/kttsd/plugins/epos/CMakeLists.txt
@@ -0,0 +1,39 @@
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${CMAKE_SOURCE_DIR}/kttsd/libkttsd
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### libkttsd_eposplugin (kpart)
+
+tde_add_kpart( libkttsd_eposplugin AUTOMOC
+
+ SOURCES
+ eposconfwidget.ui
+ eposconf.cpp
+ eposproc.cpp
+ eposplugin.cpp
+ LINK
+ kttsd-shared
+
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### other data
+
+tde_create_translated_desktop(
+ SOURCE kttsd_eposplugin.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR kttsd-desktops
+)
diff --git a/kttsd/plugins/epos/eposconf.cpp b/kttsd/plugins/epos/eposconf.cpp
index 40f9d1a..9340fa5 100644
--- a/kttsd/plugins/epos/eposconf.cpp
+++ b/kttsd/plugins/epos/eposconf.cpp
@@ -1,4 +1,4 @@
-/***************************************************** vim:set ts=4 sw=4 sts=4:
+/*
Configuration widget and functions for Epos plug in
-------------------
Copyright:
@@ -68,30 +68,30 @@ EposConf::EposConf( TQWidget* parent, const char* name, const TQStringList& /*ar
defaults();
- connect(m_widget->eposServerPath, TQT_SIGNAL(textChanged(const TQString&)),
- this, TQT_SLOT(configChanged()));
- connect(m_widget->eposClientPath, TQT_SIGNAL(textChanged(const TQString&)),
- this, TQT_SLOT(configChanged()));
- connect(m_widget->timeBox, TQT_SIGNAL(valueChanged(int)),
- this, TQT_SLOT(timeBox_valueChanged(int)));
- connect(m_widget->frequencyBox, TQT_SIGNAL(valueChanged(int)),
- this, TQT_SLOT(frequencyBox_valueChanged(int)));
- connect(m_widget->timeSlider, TQT_SIGNAL(valueChanged(int)),
- this, TQT_SLOT(timeSlider_valueChanged(int)));
- connect(m_widget->frequencySlider, TQT_SIGNAL(valueChanged(int)),
- this, TQT_SLOT(frequencySlider_valueChanged(int)));
- connect(m_widget->timeBox, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(configChanged()));
- connect(m_widget->timeSlider, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(configChanged()));
- connect(m_widget->frequencyBox, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(configChanged()));
- connect(m_widget->frequencySlider, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(configChanged()));
- connect(m_widget->characterCodingBox, TQT_SIGNAL(activated(const TQString&)),
- this, TQT_SLOT(configChanged()));
- connect(m_widget->eposServerOptions, TQT_SIGNAL(textChanged(const TQString&)),
- this, TQT_SLOT(configChanged()));
- connect(m_widget->eposClientOptions, TQT_SIGNAL(textChanged(const TQString&)),
- this, TQT_SLOT(configChanged()));
- connect(m_widget->eposTest, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(slotEposTest_clicked()));
+ connect(m_widget->eposServerPath, TQ_SIGNAL(textChanged(const TQString&)),
+ this, TQ_SLOT(configChanged()));
+ connect(m_widget->eposClientPath, TQ_SIGNAL(textChanged(const TQString&)),
+ this, TQ_SLOT(configChanged()));
+ connect(m_widget->timeBox, TQ_SIGNAL(valueChanged(int)),
+ this, TQ_SLOT(timeBox_valueChanged(int)));
+ connect(m_widget->frequencyBox, TQ_SIGNAL(valueChanged(int)),
+ this, TQ_SLOT(frequencyBox_valueChanged(int)));
+ connect(m_widget->timeSlider, TQ_SIGNAL(valueChanged(int)),
+ this, TQ_SLOT(timeSlider_valueChanged(int)));
+ connect(m_widget->frequencySlider, TQ_SIGNAL(valueChanged(int)),
+ this, TQ_SLOT(frequencySlider_valueChanged(int)));
+ connect(m_widget->timeBox, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(configChanged()));
+ connect(m_widget->timeSlider, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(configChanged()));
+ connect(m_widget->frequencyBox, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(configChanged()));
+ connect(m_widget->frequencySlider, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(configChanged()));
+ connect(m_widget->characterCodingBox, TQ_SIGNAL(activated(const TQString&)),
+ this, TQ_SLOT(configChanged()));
+ connect(m_widget->eposServerOptions, TQ_SIGNAL(textChanged(const TQString&)),
+ this, TQ_SLOT(configChanged()));
+ connect(m_widget->eposClientOptions, TQ_SIGNAL(textChanged(const TQString&)),
+ this, TQ_SLOT(configChanged()));
+ connect(m_widget->eposTest, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(slotEposTest_clicked()));
}
/** Destructor */
@@ -214,7 +214,7 @@ void EposConf::slotEposTest_clicked()
else
{
m_eposProc = new EposProc();
- connect (m_eposProc, TQT_SIGNAL(stopped()), this, TQT_SLOT(slotSynthStopped()));
+ connect (m_eposProc, TQ_SIGNAL(stopped()), this, TQ_SLOT(slotSynthStopped()));
}
// Create a temp file name for the wave file.
KTempFile tempFile (locateLocal("tmp", "eposplugin-"), ".wav");
@@ -234,7 +234,7 @@ void EposConf::slotEposTest_clicked()
// TODO: Whenever server options change, the server must be restarted.
// TODO: Do codec names contain non-ASCII characters?
- connect (m_eposProc, TQT_SIGNAL(synthFinished()), this, TQT_SLOT(slotSynthFinished()));
+ connect (m_eposProc, TQ_SIGNAL(synthFinished()), this, TQ_SLOT(slotSynthFinished()));
m_eposProc->synth(
testMsg,
tmpWaveFile,
@@ -251,7 +251,7 @@ void EposConf::slotEposTest_clicked()
// Display progress dialog modally. Processing continues when plugin signals synthFinished,
// or if user clicks Cancel button.
m_progressDlg->exec();
- disconnect (m_eposProc, TQT_SIGNAL(synthFinished()), this, TQT_SLOT(slotSynthFinished()));
+ disconnect (m_eposProc, TQ_SIGNAL(synthFinished()), this, TQ_SLOT(slotSynthFinished()));
if (m_progressDlg->wasCancelled()) m_eposProc->stopText();
delete m_progressDlg;
m_progressDlg = 0;
diff --git a/kttsd/plugins/epos/eposconf.h b/kttsd/plugins/epos/eposconf.h
index 0e19a8a..9f5e6e8 100644
--- a/kttsd/plugins/epos/eposconf.h
+++ b/kttsd/plugins/epos/eposconf.h
@@ -1,4 +1,4 @@
-/***************************************************** vim:set ts=4 sw=4 sts=4:
+/*
Configuration widget and functions for Epos plug in
-------------------
Copyright:
@@ -42,7 +42,7 @@ class EposProc;
class KProgressDialog;
class EposConf : public PlugInConf {
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/kttsd/plugins/epos/eposconfwidget.ui b/kttsd/plugins/epos/eposconfwidget.ui
index c66a081..f93ed72 100644
--- a/kttsd/plugins/epos/eposconfwidget.ui
+++ b/kttsd/plugins/epos/eposconfwidget.ui
@@ -593,18 +593,10 @@
</tabstops>
<includes>
<include location="global" impldecl="in declaration">kurlrequester.h</include>
- <include location="global" impldecl="in implementation">kurlrequester.h</include>
+ <include location="global" impldecl="in implementation">kcombobox.h</include>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+ <include location="global" impldecl="in implementation">knuminput.h</include>
</includes>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>kcombobox.h</includehint>
- <includehint>knuminput.h</includehint>
- <includehint>knuminput.h</includehint>
- <includehint>kurlrequester.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kurlrequester.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kpushbutton.h</includehint>
-</includehints>
</UI>
diff --git a/kttsd/plugins/epos/eposplugin.cpp b/kttsd/plugins/epos/eposplugin.cpp
index 9bc0bee..02bccef 100644
--- a/kttsd/plugins/epos/eposplugin.cpp
+++ b/kttsd/plugins/epos/eposplugin.cpp
@@ -1,4 +1,4 @@
-/***************************************************** vim:set ts=4 sw=4 sts=4:
+/*
Generating the factories so Epos can be used as plug in.
-------------------
Copyright:
diff --git a/kttsd/plugins/epos/eposproc.cpp b/kttsd/plugins/epos/eposproc.cpp
index 137314d..27d96f0 100644
--- a/kttsd/plugins/epos/eposproc.cpp
+++ b/kttsd/plugins/epos/eposproc.cpp
@@ -1,4 +1,4 @@
-/***************************************************** vim:set ts=4 sw=4 sts=4:
+/*
eposproc.cpp
Main speaking functions for the Epos Plug in
-------------------
@@ -89,10 +89,10 @@ bool EposProc::init(TDEConfig* config, const TQString& configGroup)
*m_eposServerProc << m_eposServerExePath;
if (!m_eposServerOptions.isEmpty())
*m_eposServerProc << m_eposServerOptions;
- connect(m_eposServerProc, TQT_SIGNAL(receivedStdout(TDEProcess*, char*, int)),
- this, TQT_SLOT(slotReceivedStdout(TDEProcess*, char*, int)));
- connect(m_eposServerProc, TQT_SIGNAL(receivedStderr(TDEProcess*, char*, int)),
- this, TQT_SLOT(slotReceivedStderr(TDEProcess*, char*, int)));
+ connect(m_eposServerProc, TQ_SIGNAL(receivedStdout(TDEProcess*, char*, int)),
+ this, TQ_SLOT(slotReceivedStdout(TDEProcess*, char*, int)));
+ connect(m_eposServerProc, TQ_SIGNAL(receivedStderr(TDEProcess*, char*, int)),
+ this, TQ_SLOT(slotReceivedStderr(TDEProcess*, char*, int)));
m_eposServerProc->start(TDEProcess::DontCare, TDEProcess::AllOutput);
}
@@ -173,10 +173,10 @@ void EposProc::synth(
*m_eposServerProc << eposServerExePath;
if (!eposServerOptions.isEmpty())
*m_eposServerProc << eposServerOptions;
- connect(m_eposServerProc, TQT_SIGNAL(receivedStdout(TDEProcess*, char*, int)),
- this, TQT_SLOT(slotReceivedStdout(TDEProcess*, char*, int)));
- connect(m_eposServerProc, TQT_SIGNAL(receivedStderr(TDEProcess*, char*, int)),
- this, TQT_SLOT(slotReceivedStderr(TDEProcess*, char*, int)));
+ connect(m_eposServerProc, TQ_SIGNAL(receivedStdout(TDEProcess*, char*, int)),
+ this, TQ_SLOT(slotReceivedStdout(TDEProcess*, char*, int)));
+ connect(m_eposServerProc, TQ_SIGNAL(receivedStderr(TDEProcess*, char*, int)),
+ this, TQ_SLOT(slotReceivedStderr(TDEProcess*, char*, int)));
m_eposServerProc->start(TDEProcess::DontCare, TDEProcess::AllOutput);
kdDebug() << "EposProc:: Epos server process started" << endl;
}
@@ -234,14 +234,14 @@ void EposProc::synth(
*m_eposProc << "-"; // Read from StdIn.
if (!suggestedFilename.isEmpty())
*m_eposProc << " >" + suggestedFilename;
- connect(m_eposProc, TQT_SIGNAL(processExited(TDEProcess*)),
- this, TQT_SLOT(slotProcessExited(TDEProcess*)));
- connect(m_eposProc, TQT_SIGNAL(receivedStdout(TDEProcess*, char*, int)),
- this, TQT_SLOT(slotReceivedStdout(TDEProcess*, char*, int)));
- connect(m_eposProc, TQT_SIGNAL(receivedStderr(TDEProcess*, char*, int)),
- this, TQT_SLOT(slotReceivedStderr(TDEProcess*, char*, int)));
- connect(m_eposProc, TQT_SIGNAL(wroteStdin(TDEProcess*)),
- this, TQT_SLOT(slotWroteStdin(TDEProcess* )));
+ connect(m_eposProc, TQ_SIGNAL(processExited(TDEProcess*)),
+ this, TQ_SLOT(slotProcessExited(TDEProcess*)));
+ connect(m_eposProc, TQ_SIGNAL(receivedStdout(TDEProcess*, char*, int)),
+ this, TQ_SLOT(slotReceivedStdout(TDEProcess*, char*, int)));
+ connect(m_eposProc, TQ_SIGNAL(receivedStderr(TDEProcess*, char*, int)),
+ this, TQ_SLOT(slotReceivedStderr(TDEProcess*, char*, int)));
+ connect(m_eposProc, TQ_SIGNAL(wroteStdin(TDEProcess*)),
+ this, TQ_SLOT(slotWroteStdin(TDEProcess* )));
if (suggestedFilename.isEmpty())
m_state = psSaying;
else
diff --git a/kttsd/plugins/epos/eposproc.h b/kttsd/plugins/epos/eposproc.h
index 4c13d83..6111413 100644
--- a/kttsd/plugins/epos/eposproc.h
+++ b/kttsd/plugins/epos/eposproc.h
@@ -1,4 +1,4 @@
-/***************************************************** vim:set ts=4 sw=4 sts=4:
+/*
eposproc.h
Main speaking functions for the Epos Plug in
-------------------
@@ -36,7 +36,7 @@ class TDEProcess;
class TQTextCodec;
class EposProc : public PlugInProc{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/kttsd/plugins/epos/kttsd_eposplugin.desktop b/kttsd/plugins/epos/kttsd_eposplugin.desktop
index ad604d7..483f2f2 100644
--- a/kttsd/plugins/epos/kttsd_eposplugin.desktop
+++ b/kttsd/plugins/epos/kttsd_eposplugin.desktop
@@ -1,86 +1,8 @@
[Desktop Entry]
Name=Epos TTS Synthesis System
-Name[ca]=Sistema de síntesi Epos TTS
-Name[cs]=Epos TTS
-Name[da]=Epos TTS Synthesis-system
-Name[de]=Epos TTS-Synthese-System
-Name[el]=Σύστημα σύνθεσης Epos TTS
-Name[es]=Sistema de síntesis Epos TTS
-Name[et]=Kõnesünteesisüsteem Epos TTS
-Name[eu]=Epos TTS sintesi-sistema
-Name[fa]=سیستم ترکیب‌دهی Epos TTS
-Name[fi]=Epos TTS -syntetisoijasysteemi
-Name[fr]=Système de synthèse Epos TTS
-Name[ga]=Córas Sintéise TTS Epos
-Name[gl]=Sistema de Síntese de TTS Epos
-Name[hu]=Epos szövegfelolvasó motor
-Name[it]=Sistema di sintesi TTS Epos
-Name[ja]=Epos TTS シンセサイズシステム
-Name[ka]=Epos TTS სინთეზის სისტემა
-Name[km]=ប្រព័ន្ធ​សង្គ្រោះ Epos TTS
-Name[mk]=Epos TTS систем за синтеза
-Name[ms]=Sistem Sintesis Epos TTS
-Name[nb]=Epos TTT syntesesystem
-Name[nds]=Epos Blicksnuut
-Name[ne]=Epos TTS सिन्थेसिस प्रणाली
-Name[nl]=Epos TTS Synthesis-systeem
-Name[pa]=Epos TTS ਸੰਸਲੇਸ਼ਣ ਸਿਸਟਮ
-Name[pl]=System syntezy mowy Epos
-Name[pt]=Sistema de Síntese Epos TTS
-Name[pt_BR]=Sistema de Sintetizador de Fala Epos
-Name[sk]=Systém Epos TTS Synthesis
-Name[sl]=Sistem sinteze besedila v govor Epos
-Name[sr]=Систем за синтезу Epos TTS
-Name[sr@Latn]=Sistem za sintezu Epos TTS
-Name[sv]=Epos TTS syntessystem
-Name[ta]=Epos TTS கூட்டிணைப்பு அமைப்பு
-Name[tg]=Системаи Синтезиси Epos TTS
-Name[tr]=Epos TTS Sentezleme Sistemi
-Name[vi]=Hệ thống Tổng hợp Văn bản sang Tiếng nói Epos
-Name[zh_TW]=Epos TTS 合成系統
+
Comment=Epos TTS speech synthesizer
-Comment[bg]=Синтезатор на глас Epos TTS
-Comment[ca]=Sintetitzador de veu Epos TTS
-Comment[cs]=Hlasový syntetizér Epos TTS
-Comment[da]=Epos TTS tale-synthesizer
-Comment[de]=Epos TTS-Sprachsynthesizer
-Comment[el]=Συνθέτης ομιλίας Epos TTS
-Comment[es]=Sintetizador de texto a voz Epos TTS
-Comment[et]=Kõnesüntesaator Epos TTS
-Comment[eu]=Epos TTS hizketa-sintetizadorea
-Comment[fa]=ترکیب‌دهندۀ گفتار Epos TTS
-Comment[fi]=Epos TTS -puhesyntetisaattori
-Comment[fr]=Synthèse vocale Epos TTS
-Comment[ga]=Sintéiseoir cainte TTS Epos
-Comment[gl]=Sintetizador de fala TTS Epos
-Comment[hu]=Epos TTS beszédszintetizátor
-Comment[is]=Epos TTS talgerfill
-Comment[it]=Sintetizzatore vocale TTS Epos
-Comment[ja]=Epos TTS スピーチシンセサイザ
-Comment[ka]=Epos TTS სიტყვის სინთეზატორი
-Comment[km]=កម្មវិធី​សង្គ្រោះ​ការនិយាយ Epos TTS
-Comment[mk]=Epos TTS синтетизатор на говор
-Comment[ms]=Pensintesis tutur Epos TTS
-Comment[nb]=Epos TTT talesyntetisering
-Comment[nds]=Blicksnuut vun Epos
-Comment[ne]=Epos TTS संवाद सिन्थेसाइजर
-Comment[nl]=Epos TTS spraaksynthesizer
-Comment[pa]=Epos TTS ਬੋਲੀ ਸੰਸਲੇਸ਼ਣ
-Comment[pl]=Syntezator mowy Epos
-Comment[pt]=O sintetizador de fala Epos TTS
-Comment[pt_BR]=Sistema de Sintetizador de Fala Epos
-Comment[ru]=Синтезатор речи Epos TTS
-Comment[sk]=Syntetizátor reči Epos TTS
-Comment[sl]=Sintetizator besedila v govor Epos
-Comment[sr]=Синтетизатор говора Epos TTS
-Comment[sr@Latn]=Sintetizator govora Epos TTS
-Comment[sv]=Epos TTS talsyntes
-Comment[ta]=Epos TTS பேச்சு கூட்டிணைப்பான்
-Comment[tg]=Таҳлилгари овози Epos TTS
-Comment[tr]=Epos TTS konuşma sentezleyicisi
-Comment[uk]=Синтезатор мовлення Epos TTS
-Comment[vi]=Trình tổng hợp Văn bản sang Tiếng nói Epos
-Comment[zh_TW]=Epos TTS 語音合成器
+
Type=Service
X-TDE-ServiceTypes=KTTSD/SynthPlugin
X-TDE-Library=libkttsd_eposplugin
diff --git a/kttsd/plugins/festivalint/CMakeLists.txt b/kttsd/plugins/festivalint/CMakeLists.txt
new file mode 100644
index 0000000..3175fbe
--- /dev/null
+++ b/kttsd/plugins/festivalint/CMakeLists.txt
@@ -0,0 +1,49 @@
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${CMAKE_SOURCE_DIR}/kttsd/libkttsd
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### libkttsd_festivalintplugin (kpart)
+
+tde_add_kpart( libkttsd_festivalintplugin AUTOMOC
+
+ SOURCES
+ festivalintconfwidget.ui
+ festivalintconf.cpp
+ festivalintproc.cpp
+ festivalintplugin.cpp
+ LINK
+ kttsd-shared
+
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### other data
+
+tde_create_translated_desktop(
+ SOURCE kttsd_festivalintplugin.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR kttsd-desktops
+)
+
+install(
+ FILES SSMLtoSable.xsl
+ DESTINATION ${DATA_INSTALL_DIR}/kttsd/festivalint/xslt
+)
+
+install(
+ FILES voices sabletowave.scm
+ DESTINATION ${DATA_INSTALL_DIR}/kttsd/festivalint
+)
diff --git a/kttsd/plugins/festivalint/festivalintconf.cpp b/kttsd/plugins/festivalint/festivalintconf.cpp
index 0dc737a..81e346c 100644
--- a/kttsd/plugins/festivalint/festivalintconf.cpp
+++ b/kttsd/plugins/festivalint/festivalintconf.cpp
@@ -1,4 +1,4 @@
-/***************************************************** vim:set ts=4 sw=4 sts=4:
+/*
Configuration widget and functions for Festival (Interactive) plug in
-------------------
Copyright:
@@ -81,37 +81,37 @@ FestivalIntConf::FestivalIntConf( TQWidget* parent, const char* name, const TQSt
// defaults();
- connect(m_widget->festivalPath, TQT_SIGNAL(textChanged(const TQString&)),
- this, TQT_SLOT(slotFestivalPath_textChanged()));
- connect(m_widget->selectVoiceCombo, TQT_SIGNAL(activated(const TQString&)),
- this, TQT_SLOT(slotSelectVoiceCombo_activated()));
- connect(m_widget->selectVoiceCombo, TQT_SIGNAL(activated(const TQString&)),
- this, TQT_SLOT(configChanged()));
- connect(m_widget->testButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotTest_clicked()));
- connect(m_widget->rescan, TQT_SIGNAL(clicked()), this, TQT_SLOT(scanVoices()));
- connect(m_widget->volumeBox, TQT_SIGNAL(valueChanged(int)),
- this, TQT_SLOT(volumeBox_valueChanged(int)));
- connect(m_widget->timeBox, TQT_SIGNAL(valueChanged(int)),
- this, TQT_SLOT(timeBox_valueChanged(int)));
- connect(m_widget->frequencyBox, TQT_SIGNAL(valueChanged(int)),
- this, TQT_SLOT(frequencyBox_valueChanged(int)));
- connect(m_widget->volumeSlider, TQT_SIGNAL(valueChanged(int)),
- this, TQT_SLOT(volumeSlider_valueChanged(int)));
- connect(m_widget->timeSlider, TQT_SIGNAL(valueChanged(int)),
- this, TQT_SLOT(timeSlider_valueChanged(int)));
- connect(m_widget->frequencySlider, TQT_SIGNAL(valueChanged(int)),
- this, TQT_SLOT(frequencySlider_valueChanged(int)));
- connect(m_widget->volumeBox, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(configChanged()));
- connect(m_widget->volumeSlider, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(configChanged()));
- connect(m_widget->timeBox, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(configChanged()));
- connect(m_widget->timeSlider, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(configChanged()));
- connect(m_widget->frequencyBox, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(configChanged()));
- connect(m_widget->frequencySlider, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(configChanged()));
- connect(m_widget->preloadCheckBox, TQT_SIGNAL(clicked()), this, TQT_SLOT(configChanged()));
- connect(m_widget->characterCodingBox, TQT_SIGNAL(textChanged(const TQString&)),
- this, TQT_SLOT(configChanged()));
- connect(m_widget->characterCodingBox, TQT_SIGNAL(activated(const TQString&)),
- this, TQT_SLOT(configChanged()));
+ connect(m_widget->festivalPath, TQ_SIGNAL(textChanged(const TQString&)),
+ this, TQ_SLOT(slotFestivalPath_textChanged()));
+ connect(m_widget->selectVoiceCombo, TQ_SIGNAL(activated(const TQString&)),
+ this, TQ_SLOT(slotSelectVoiceCombo_activated()));
+ connect(m_widget->selectVoiceCombo, TQ_SIGNAL(activated(const TQString&)),
+ this, TQ_SLOT(configChanged()));
+ connect(m_widget->testButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotTest_clicked()));
+ connect(m_widget->rescan, TQ_SIGNAL(clicked()), this, TQ_SLOT(scanVoices()));
+ connect(m_widget->volumeBox, TQ_SIGNAL(valueChanged(int)),
+ this, TQ_SLOT(volumeBox_valueChanged(int)));
+ connect(m_widget->timeBox, TQ_SIGNAL(valueChanged(int)),
+ this, TQ_SLOT(timeBox_valueChanged(int)));
+ connect(m_widget->frequencyBox, TQ_SIGNAL(valueChanged(int)),
+ this, TQ_SLOT(frequencyBox_valueChanged(int)));
+ connect(m_widget->volumeSlider, TQ_SIGNAL(valueChanged(int)),
+ this, TQ_SLOT(volumeSlider_valueChanged(int)));
+ connect(m_widget->timeSlider, TQ_SIGNAL(valueChanged(int)),
+ this, TQ_SLOT(timeSlider_valueChanged(int)));
+ connect(m_widget->frequencySlider, TQ_SIGNAL(valueChanged(int)),
+ this, TQ_SLOT(frequencySlider_valueChanged(int)));
+ connect(m_widget->volumeBox, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(configChanged()));
+ connect(m_widget->volumeSlider, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(configChanged()));
+ connect(m_widget->timeBox, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(configChanged()));
+ connect(m_widget->timeSlider, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(configChanged()));
+ connect(m_widget->frequencyBox, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(configChanged()));
+ connect(m_widget->frequencySlider, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(configChanged()));
+ connect(m_widget->preloadCheckBox, TQ_SIGNAL(clicked()), this, TQ_SLOT(configChanged()));
+ connect(m_widget->characterCodingBox, TQ_SIGNAL(textChanged(const TQString&)),
+ this, TQ_SLOT(configChanged()));
+ connect(m_widget->characterCodingBox, TQ_SIGNAL(activated(const TQString&)),
+ this, TQ_SLOT(configChanged()));
}
/** Destructor */
@@ -430,10 +430,10 @@ void FestivalIntConf::scanVoices()
else
{
m_festProc = new FestivalIntProc();
- connect (m_festProc, TQT_SIGNAL(stopped()), this, TQT_SLOT(slotSynthStopped()));
+ connect (m_festProc, TQ_SIGNAL(stopped()), this, TQ_SLOT(slotSynthStopped()));
}
- connect (m_festProc, TQT_SIGNAL(queryVoicesFinished(const TQStringList&)),
- this, TQT_SLOT(slotQueryVoicesFinished(const TQStringList&)));
+ connect (m_festProc, TQ_SIGNAL(queryVoicesFinished(const TQStringList&)),
+ this, TQ_SLOT(slotQueryVoicesFinished(const TQStringList&)));
m_festProc->queryVoices(exePath);
// Display progress dialog modally.
@@ -444,8 +444,8 @@ void FestivalIntConf::scanVoices()
// Festival responds with the list. When Festival responds with list,
// the progress dialog is closed.
- disconnect (m_festProc, TQT_SIGNAL(queryVoicesFinished(const TQStringList&)),
- this, TQT_SLOT(slotQueryVoicesFinished(const TQStringList&)));
+ disconnect (m_festProc, TQ_SIGNAL(queryVoicesFinished(const TQStringList&)),
+ this, TQ_SLOT(slotQueryVoicesFinished(const TQStringList&)));
if (!m_progressDlg->wasCancelled()) m_festProc->stopText();
delete m_progressDlg;
m_progressDlg = 0;
@@ -552,7 +552,7 @@ void FestivalIntConf::slotTest_clicked()
else
{
m_festProc = new FestivalIntProc();
- connect (m_festProc, TQT_SIGNAL(stopped()), this, TQT_SLOT(slotSynthStopped()));
+ connect (m_festProc, TQ_SIGNAL(stopped()), this, TQ_SLOT(slotSynthStopped()));
}
// Create a temp file name for the wave file.
KTempFile tempFile (locateLocal("tmp", "festivalintplugin-"), ".wav");
@@ -581,7 +581,7 @@ void FestivalIntConf::slotTest_clicked()
m_progressDlg->setAllowCancel(true);
// kdDebug() << "FestivalIntConf::slotTest_clicked: calling synth with voiceCode: " << voiceCode << " time percent: " << m_widget->timeBox->value() << endl;
- connect (m_festProc, TQT_SIGNAL(synthFinished()), this, TQT_SLOT(slotSynthFinished()));
+ connect (m_festProc, TQ_SIGNAL(synthFinished()), this, TQ_SLOT(slotSynthFinished()));
m_festProc->synth(
realFilePath(m_widget->festivalPath->url()),
testMsg,
@@ -596,7 +596,7 @@ void FestivalIntConf::slotTest_clicked()
// Display progress dialog modally. Processing continues when plugin signals synthFinished,
// or if user clicks Cancel button.
m_progressDlg->exec();
- disconnect (m_festProc, TQT_SIGNAL(synthFinished()), this, TQT_SLOT(slotSynthFinished()));
+ disconnect (m_festProc, TQ_SIGNAL(synthFinished()), this, TQ_SLOT(slotSynthFinished()));
if (m_progressDlg->wasCancelled()) m_festProc->stopText();
delete m_progressDlg;
m_progressDlg = 0;
diff --git a/kttsd/plugins/festivalint/festivalintconf.h b/kttsd/plugins/festivalint/festivalintconf.h
index 5399b76..9cf345d 100644
--- a/kttsd/plugins/festivalint/festivalintconf.h
+++ b/kttsd/plugins/festivalint/festivalintconf.h
@@ -1,4 +1,4 @@
-/***************************************************** vim:set ts=4 sw=4 sts=4:
+/*
Configuration widget and functions for Festival (Interactive) plug in
-------------------
Copyright:
@@ -55,7 +55,7 @@ typedef struct voiceStruct{
} voice;
class FestivalIntConf : public PlugInConf {
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/kttsd/plugins/festivalint/festivalintconfwidget.ui b/kttsd/plugins/festivalint/festivalintconfwidget.ui
index 76a570f..c740eaf 100644
--- a/kttsd/plugins/festivalint/festivalintconfwidget.ui
+++ b/kttsd/plugins/festivalint/festivalintconfwidget.ui
@@ -581,18 +581,10 @@
</tabstops>
<includes>
<include location="global" impldecl="in declaration">kurlrequester.h</include>
- <include location="global" impldecl="in implementation">kurlrequester.h</include>
+ <include location="global" impldecl="in implementation">kcombobox.h</include>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+ <include location="global" impldecl="in implementation">knuminput.h</include>
</includes>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>kurlrequester.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kcombobox.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>knuminput.h</includehint>
- <includehint>knuminput.h</includehint>
- <includehint>knuminput.h</includehint>
- <includehint>kcombobox.h</includehint>
-</includehints>
</UI>
diff --git a/kttsd/plugins/festivalint/festivalintplugin.cpp b/kttsd/plugins/festivalint/festivalintplugin.cpp
index d793b40..e559d27 100644
--- a/kttsd/plugins/festivalint/festivalintplugin.cpp
+++ b/kttsd/plugins/festivalint/festivalintplugin.cpp
@@ -1,4 +1,4 @@
-/***************************************************** vim:set ts=4 sw=4 sts=4:
+/*
Generating the factories so festival (interactive) can be used as plug in.
-------------------
Copyright:
diff --git a/kttsd/plugins/festivalint/festivalintproc.cpp b/kttsd/plugins/festivalint/festivalintproc.cpp
index c3b8965..da5e71b 100644
--- a/kttsd/plugins/festivalint/festivalintproc.cpp
+++ b/kttsd/plugins/festivalint/festivalintproc.cpp
@@ -1,4 +1,4 @@
-/***************************************************** vim:set ts=4 sw=4 sts=4:
+/*
Main speaking functions for the Festival (Interactive) Plug in
-------------------
Copyright:
@@ -184,14 +184,14 @@ void FestivalIntProc::startEngine(const TQString &festivalExePath, const TQStrin
m_festProc->setEnvironment("LANG", languageCode + "." + codec->mimeName());
m_festProc->setEnvironment("LC_CTYPE", languageCode + "." + codec->mimeName());
// kdDebug() << "FestivalIntProc::startEngine: setting LANG = LC_CTYPE = " << languageCode << "." << codec->mimeName() << endl;
- connect(m_festProc, TQT_SIGNAL(processExited(TDEProcess*)),
- this, TQT_SLOT(slotProcessExited(TDEProcess*)));
- connect(m_festProc, TQT_SIGNAL(receivedStdout(TDEProcess*, char*, int)),
- this, TQT_SLOT(slotReceivedStdout(TDEProcess*, char*, int)));
- connect(m_festProc, TQT_SIGNAL(receivedStderr(TDEProcess*, char*, int)),
- this, TQT_SLOT(slotReceivedStderr(TDEProcess*, char*, int)));
- connect(m_festProc, TQT_SIGNAL(wroteStdin(TDEProcess*)),
- this, TQT_SLOT(slotWroteStdin(TDEProcess*)));
+ connect(m_festProc, TQ_SIGNAL(processExited(TDEProcess*)),
+ this, TQ_SLOT(slotProcessExited(TDEProcess*)));
+ connect(m_festProc, TQ_SIGNAL(receivedStdout(TDEProcess*, char*, int)),
+ this, TQ_SLOT(slotReceivedStdout(TDEProcess*, char*, int)));
+ connect(m_festProc, TQ_SIGNAL(receivedStderr(TDEProcess*, char*, int)),
+ this, TQ_SLOT(slotReceivedStderr(TDEProcess*, char*, int)));
+ connect(m_festProc, TQ_SIGNAL(wroteStdin(TDEProcess*)),
+ this, TQ_SLOT(slotWroteStdin(TDEProcess*)));
}
if (!m_festProc->isRunning())
{
diff --git a/kttsd/plugins/festivalint/festivalintproc.h b/kttsd/plugins/festivalint/festivalintproc.h
index 2222512..f4d0e25 100644
--- a/kttsd/plugins/festivalint/festivalintproc.h
+++ b/kttsd/plugins/festivalint/festivalintproc.h
@@ -1,4 +1,4 @@
-/***************************************************** vim:set ts=4 sw=4 sts=4:
+/*
Main speaking functions for the Festival (Interactive) Plug in
-------------------
Copyright:
@@ -34,7 +34,7 @@
class TQTextCodec;
class FestivalIntProc : public PlugInProc{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/kttsd/plugins/festivalint/kttsd_festivalintplugin.desktop b/kttsd/plugins/festivalint/kttsd_festivalintplugin.desktop
index e0af2a9..26ae31e 100644
--- a/kttsd/plugins/festivalint/kttsd_festivalintplugin.desktop
+++ b/kttsd/plugins/festivalint/kttsd_festivalintplugin.desktop
@@ -1,71 +1,8 @@
[Desktop Entry]
Name=Festival Interactive
-Name[da]=Festival Interaktiv
-Name[el]=Διαδραστικό Festival
-Name[eu]=Festival interaktiboa
-Name[fa]=Festival تعاملی
-Name[fi]=Interaktiivinen Festival
-Name[ga]=Festival Idirghníomhach
-Name[gl]=Festival Interactivo
-Name[is]=Festival gagnvirkni
-Name[it]=Festival Interattivo
-Name[ja]=Festival インタラクティブ
-Name[ka]=Festival ინტერაქტიული
-Name[km]=អន្តរ​មុខងារ
-Name[mk]=Интерактивен festival
-Name[ms]=Interaktif Perayaan
-Name[ne]=अन्तरक्रियात्मक फेस्टिभल
-Name[pa]=ਫੈਸੀਟੇਵਲ ਇੰਟਰੇਕਟਵ
-Name[pl]=Festival interaktywny
-Name[pt_BR]=Festival Interativo
-Name[sv]=Festival interaktiv
-Name[ta]=பெஸ்டிவல் உள்செயல்
-Name[tg]=Фестивали Интерактив
-Name[tr]=Etkileşimli Festival
-Name[vi]=Tương tác Festival
+
Comment=Festival speech synthetizer
-Comment[bg]=Синтезатор на глас Festival
-Comment[ca]=Sintetitzador de veu Festival
-Comment[cs]=Hlasový syntetizér Festival
-Comment[da]=Festival tale-synthetizer
-Comment[de]=Festival Sprachsynthesizer
-Comment[el]=Συνθέτης ομιλίας Festival
-Comment[es]=Sintetizador de texto a voz Festival
-Comment[et]=Kõnesüntesaator Festival
-Comment[eu]=Festival hizketa-sintetizadorea
-Comment[fa]=ترکیب‌دهندۀ گفتار Festival
-Comment[fi]=Festival puhesyntetisaattori
-Comment[fr]=Synthèse vocale Festival
-Comment[ga]=Sintéiseoir cainte Festival
-Comment[gl]=Sistetizador de voces Festival
-Comment[hu]=Festival beszédszintetizátor
-Comment[is]=Festival talgerfill
-Comment[it]=Sintetizzatore vocale Festival
-Comment[ja]=Festival スピーチシンセサイザ
-Comment[ka]=Festival ხმის სინთეზატორი
-Comment[km]= មុខងារ​កម្មវិធី​សង្គ្រោះ​ការ​និយាយ​
-Comment[mk]=Синтетизатор за говор festival
-Comment[ms]=Pensintesis tutur perayaan
-Comment[nb]=Festival talesyntetisering
-Comment[nds]=Blicksnuut Festival
-Comment[ne]=संवाद सिन्थेसाइजर फेस्टिभल
-Comment[nl]=Festival spraaksynthetizer
-Comment[pa]=ਫੈਸੀਟੇਵਲ ਬੋਲੀ ਸੰਸਲੇਸ਼ਕ
-Comment[pl]=Syntezator mowy Festival
-Comment[pt]=O sintetizador de fala Festival
-Comment[pt_BR]=Sistema de Sintetizador de Fala Festival
-Comment[ru]=Синтезатор речи Festival
-Comment[sk]=Syntetizátor reči Festival
-Comment[sl]=Sintetizator govora Festival
-Comment[sr]=Синтетизатор говора Festival
-Comment[sr@Latn]=Sintetizator govora Festival
-Comment[sv]=Festival talsyntes
-Comment[ta]=பெஸ்டிவல் பேச்சு கூட்டிணைப்பான்
-Comment[tg]=Таҳлилгари овози Festival
-Comment[tr]=Festival konuşma bireştirici
-Comment[uk]=Синтезатор мовлення Festival
-Comment[vi]=Trình tổng hợp tiếng nói Festival
-Comment[zh_TW]=Festival 語音合成器
+
Type=Service
X-TDE-ServiceTypes=KTTSD/SynthPlugin
X-TDE-Library=libkttsd_festivalintplugin
diff --git a/kttsd/plugins/festivalint/sabletowave.scm b/kttsd/plugins/festivalint/sabletowave.scm
index 71293b4..21823b8 100644
--- a/kttsd/plugins/festivalint/sabletowave.scm
+++ b/kttsd/plugins/festivalint/sabletowave.scm
@@ -1,4 +1,4 @@
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-*-mode:scheme-*-
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; ;;
;; Centre for Speech Technology Research ;;
;; University of Edinburgh, UK ;;
diff --git a/kttsd/plugins/flite/CMakeLists.txt b/kttsd/plugins/flite/CMakeLists.txt
new file mode 100644
index 0000000..08c1573
--- /dev/null
+++ b/kttsd/plugins/flite/CMakeLists.txt
@@ -0,0 +1,39 @@
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${CMAKE_SOURCE_DIR}/kttsd/libkttsd
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### libkttsd_fliteplugin (kpart)
+
+tde_add_kpart( libkttsd_fliteplugin AUTOMOC
+
+ SOURCES
+ fliteconfwidget.ui
+ fliteconf.cpp
+ fliteproc.cpp
+ fliteplugin.cpp
+ LINK
+ kttsd-shared
+
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### other data
+
+tde_create_translated_desktop(
+ SOURCE kttsd_fliteplugin.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR kttsd-desktops
+)
diff --git a/kttsd/plugins/flite/fliteconf.cpp b/kttsd/plugins/flite/fliteconf.cpp
index 2d5737e..aa33e04 100644
--- a/kttsd/plugins/flite/fliteconf.cpp
+++ b/kttsd/plugins/flite/fliteconf.cpp
@@ -1,4 +1,4 @@
-/***************************************************** vim:set ts=4 sw=4 sts=4:
+/*
Configuration widget and functions for Festival (Interactive) plug in
-------------------
Copyright:
@@ -57,9 +57,9 @@ FliteConf::FliteConf( TQWidget* parent, const char* name, const TQStringList& /*
defaults();
- connect(m_widget->flitePath, TQT_SIGNAL(textChanged(const TQString&)),
- this, TQT_SLOT(configChanged()));
- connect(m_widget->fliteTest, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotFliteTest_clicked()));
+ connect(m_widget->flitePath, TQ_SIGNAL(textChanged(const TQString&)),
+ this, TQ_SLOT(configChanged()));
+ connect(m_widget->fliteTest, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotFliteTest_clicked()));
}
/** Destructor */
@@ -135,7 +135,7 @@ void FliteConf::slotFliteTest_clicked()
else
{
m_fliteProc = new FliteProc();
- connect (m_fliteProc, TQT_SIGNAL(stopped()), this, TQT_SLOT(slotSynthStopped()));
+ connect (m_fliteProc, TQ_SIGNAL(stopped()), this, TQ_SLOT(slotSynthStopped()));
}
// Create a temp file name for the wave file.
KTempFile tempFile (locateLocal("tmp", "fliteplugin-"), ".wav");
@@ -154,7 +154,7 @@ void FliteConf::slotFliteTest_clicked()
m_progressDlg->setAllowCancel(true);
// Play an English test. Flite only supports English.
- connect (m_fliteProc, TQT_SIGNAL(synthFinished()), this, TQT_SLOT(slotSynthFinished()));
+ connect (m_fliteProc, TQ_SIGNAL(synthFinished()), this, TQ_SLOT(slotSynthFinished()));
m_fliteProc->synth(
testMsg,
tmpWaveFile,
@@ -163,7 +163,7 @@ void FliteConf::slotFliteTest_clicked()
// Display progress dialog modally. Processing continues when plugin signals synthFinished,
// or if user clicks Cancel button.
m_progressDlg->exec();
- disconnect (m_fliteProc, TQT_SIGNAL(synthFinished()), this, TQT_SLOT(slotSynthFinished()));
+ disconnect (m_fliteProc, TQ_SIGNAL(synthFinished()), this, TQ_SLOT(slotSynthFinished()));
if (m_progressDlg->wasCancelled()) m_fliteProc->stopText();
delete m_progressDlg;
m_progressDlg = 0;
diff --git a/kttsd/plugins/flite/fliteconf.h b/kttsd/plugins/flite/fliteconf.h
index f2a1dc4..54acab0 100644
--- a/kttsd/plugins/flite/fliteconf.h
+++ b/kttsd/plugins/flite/fliteconf.h
@@ -1,4 +1,4 @@
-/***************************************************** vim:set ts=4 sw=4 sts=4:
+/*
Configuration widget and functions for Festival (Interactive) plug in
-------------------
Copyright:
@@ -41,7 +41,7 @@ class FliteProc;
class KProgressDialog;
class FliteConf : public PlugInConf {
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/kttsd/plugins/flite/fliteconfwidget.ui b/kttsd/plugins/flite/fliteconfwidget.ui
index 8efcbb1..ef90e54 100644
--- a/kttsd/plugins/flite/fliteconfwidget.ui
+++ b/kttsd/plugins/flite/fliteconfwidget.ui
@@ -175,12 +175,8 @@
</customwidgets>
<includes>
<include location="global" impldecl="in declaration">kurlrequester.h</include>
- <include location="global" impldecl="in implementation">kurlrequester.h</include>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
</includes>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>kurlrequester.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kpushbutton.h</includehint>
-</includehints>
</UI>
diff --git a/kttsd/plugins/flite/fliteplugin.cpp b/kttsd/plugins/flite/fliteplugin.cpp
index 602b5bb..de02538 100644
--- a/kttsd/plugins/flite/fliteplugin.cpp
+++ b/kttsd/plugins/flite/fliteplugin.cpp
@@ -1,4 +1,4 @@
-/***************************************************** vim:set ts=4 sw=4 sts=4:
+/*
Generating the factories so festival lite (flite) can be used as plug in.
-------------------
Copyright:
diff --git a/kttsd/plugins/flite/fliteproc.cpp b/kttsd/plugins/flite/fliteproc.cpp
index 1cb8b27..269290f 100644
--- a/kttsd/plugins/flite/fliteproc.cpp
+++ b/kttsd/plugins/flite/fliteproc.cpp
@@ -1,4 +1,4 @@
-/***************************************************** vim:set ts=4 sw=4 sts=4:
+/*
Main speaking functions for the Festival Lite (Flite) Plug in
-------------------
Copyright:
@@ -112,14 +112,14 @@ void FliteProc::synth(
}
// kdDebug()<< "FliteProc::synth: Creating Flite object" << endl;
m_fliteProc = new TDEProcess;
- connect(m_fliteProc, TQT_SIGNAL(processExited(TDEProcess*)),
- this, TQT_SLOT(slotProcessExited(TDEProcess*)));
- connect(m_fliteProc, TQT_SIGNAL(receivedStdout(TDEProcess*, char*, int)),
- this, TQT_SLOT(slotReceivedStdout(TDEProcess*, char*, int)));
- connect(m_fliteProc, TQT_SIGNAL(receivedStderr(TDEProcess*, char*, int)),
- this, TQT_SLOT(slotReceivedStderr(TDEProcess*, char*, int)));
- connect(m_fliteProc, TQT_SIGNAL(wroteStdin(TDEProcess*)),
- this, TQT_SLOT(slotWroteStdin(TDEProcess* )));
+ connect(m_fliteProc, TQ_SIGNAL(processExited(TDEProcess*)),
+ this, TQ_SLOT(slotProcessExited(TDEProcess*)));
+ connect(m_fliteProc, TQ_SIGNAL(receivedStdout(TDEProcess*, char*, int)),
+ this, TQ_SLOT(slotReceivedStdout(TDEProcess*, char*, int)));
+ connect(m_fliteProc, TQ_SIGNAL(receivedStderr(TDEProcess*, char*, int)),
+ this, TQ_SLOT(slotReceivedStderr(TDEProcess*, char*, int)));
+ connect(m_fliteProc, TQ_SIGNAL(wroteStdin(TDEProcess*)),
+ this, TQ_SLOT(slotWroteStdin(TDEProcess* )));
if (synthFilename.isNull())
m_state = psSaying;
else
diff --git a/kttsd/plugins/flite/fliteproc.h b/kttsd/plugins/flite/fliteproc.h
index 51950b0..cf8cf38 100644
--- a/kttsd/plugins/flite/fliteproc.h
+++ b/kttsd/plugins/flite/fliteproc.h
@@ -1,4 +1,4 @@
-/***************************************************** vim:set ts=4 sw=4 sts=4:
+/*
Main speaking functions for the Festival Lite (Flite) Plug in
-------------------
Copyright:
@@ -34,7 +34,7 @@
class TDEProcess;
class FliteProc : public PlugInProc{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/kttsd/plugins/flite/kttsd_fliteplugin.desktop b/kttsd/plugins/flite/kttsd_fliteplugin.desktop
index 68cc200..4120518 100644
--- a/kttsd/plugins/flite/kttsd_fliteplugin.desktop
+++ b/kttsd/plugins/flite/kttsd_fliteplugin.desktop
@@ -1,58 +1,8 @@
[Desktop Entry]
Name=Festival Lite (flite)
-Name[el]=Festival ελαφρύ (flite)
-Name[fi]=Festival Lite (kevytversio)
-Name[ka]=Festival მსუბუქი (flite)
-Name[km]=មុខងារ Lite (flite)
-Name[nds]=Festival Lite (FLite)
-Name[ne]=फेस्टिभल लाइट (एफ लाईट)
-Name[pt_BR]=Festival Lite
-Name[ta]=பெஸ்டிவல் லைட் (flite)
-Name[tr]=Festival Lite(flite)
-Name[zh_TW]=Festival Lite (flite)4
+
Comment=Festival Lite (flite) speech synthesizer
-Comment[bg]=Олекотен синтезатор на глас Festival Lite
-Comment[ca]=Sintetitzador de veu Festival Lite (flite)
-Comment[cs]=Hlasový syntetizér Festival Lite (flite)
-Comment[da]=Festival Lite (flite) tale-synthesizer
-Comment[de]=Festival Lite (flite) Sprachsynthesizer
-Comment[el]=Συνθέτης ομιλίας Festival ελαφρύ (flite)
-Comment[es]=Sintetizador de texto a voz Festival (flite)
-Comment[et]=Kõnesüntesaator Festival lite (flite)
-Comment[eu]=Festival Lite (flite) hizketa-sintetizadorea
-Comment[fa]=ترکیب‌دهندۀ گفتار Festival Lite (flite)
-Comment[fi]=Festival Lite (kevytversio) puhesyntetisaattori
-Comment[fr]=Synthèse vocale Festival Lite (flite)
-Comment[ga]=Sintéiseoir cainte Festival Lite (flite)
-Comment[gl]=Sintetizador de voces Festival Lite (flite)
-Comment[hu]=Festival Lite (flite) beszédszintetizátor
-Comment[is]=Festival Lite (flite) talgerfill
-Comment[it]=Sintetizzatore vocale Festival Lite (flite)
-Comment[ja]=Festival Lite (flite) スピーチシンセサイザ
-Comment[ka]=Festival მარტივი (flite) ხმის სინთეზატორი
-Comment[km]=មុខងារ​កម្មវិធី​សង្គ្រោះ​ការនិយាយ Lite (flite)
-Comment[mk]=Festival Lite (flite) синтетизатор на говор
-Comment[ms]=Pensintesis tutur Festival Lite (flite)
-Comment[nb]=Festival Lite (flite) talesyntetisering
-Comment[nds]=Blicksnuut Festival lite (FLite)
-Comment[ne]=फेस्टिभल लाइट (एफ लाइट) संवाद सिन्थेसाइजर
-Comment[nl]=Festival Lite (flite) spraaksynthesizer
-Comment[pa]=Festival Lite (flite) ਬੋਲੀ ਸੰਸਲੇਸ਼ਕ
-Comment[pl]=Syntezator mowy Festival Lite (flite)
-Comment[pt]=O sintetizador de fala Festival Lite (flite)
-Comment[pt_BR]=Sintetizador de fala Festival Lite (leve)
-Comment[ru]=Синтезатор речи Festival Lite (flite)
-Comment[sk]=Syntetizátor reči Festival Lite (flite)
-Comment[sl]=Sintetizator govora Festival Lite (flite)
-Comment[sr]=Синтетизатор говора Festival Lite (flite)
-Comment[sr@Latn]=Sintetizator govora Festival Lite (flite)
-Comment[sv]=Festival Lite (flite) talsyntes
-Comment[ta]=பெஸ்டிவல் லைட் (flite) பேச்சு கூட்டிணைப்பான்
-Comment[tg]=Таҳлилгари овози Festival Lite (flite)
-Comment[tr]=Festival Lite(flite) konuşma bireştirici
-Comment[uk]=Синтезатор мовлення Festival Lite (flite)
-Comment[vi]=Trình tổng hợp tiếng nói Festival Lite (flite)
-Comment[zh_TW]=Festival Lite (flite) 語音合成器
+
Type=Service
X-TDE-ServiceTypes=KTTSD/SynthPlugin
X-TDE-Library=libkttsd_fliteplugin
diff --git a/kttsd/plugins/freetts/CMakeLists.txt b/kttsd/plugins/freetts/CMakeLists.txt
new file mode 100644
index 0000000..eb17887
--- /dev/null
+++ b/kttsd/plugins/freetts/CMakeLists.txt
@@ -0,0 +1,38 @@
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/kttsd/libkttsd
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### libkttsd_freettsplugin (kpart)
+
+tde_add_kpart( libkttsd_freettsplugin AUTOMOC
+
+ SOURCES
+ freettsconfigwidget.ui
+ freettsconf.cpp
+ freettsproc.cpp
+ freettsplugin.cpp
+ LINK
+ kttsd-shared
+
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### other data
+
+tde_create_translated_desktop(
+ SOURCE kttsd_freettsplugin.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR kttsd-desktops
+)
diff --git a/kttsd/plugins/freetts/README b/kttsd/plugins/freetts/README
index d4706b9..ee2e804 100644
--- a/kttsd/plugins/freetts/README
+++ b/kttsd/plugins/freetts/README
@@ -2,5 +2,5 @@ This is the directory containing the FreeTTS plug in.
If you intend to edit the GUI (freettsconfig.ui) you will have to first
copy kttsd/libkttsd/pluginconf.h to a standard include directory
like $TDEDIR/include/ since the interface has been tweaked to derive
-from PlugInConf instead of QWidget and Qt Designer refuses to open it
+from PlugInConf instead of TQWidget and Qt Designer refuses to open it
if the header is not properly place.
diff --git a/kttsd/plugins/freetts/freettsconf.cpp b/kttsd/plugins/freetts/freettsconf.cpp
index 5be75f0..6b47758 100644
--- a/kttsd/plugins/freetts/freettsconf.cpp
+++ b/kttsd/plugins/freetts/freettsconf.cpp
@@ -55,9 +55,9 @@ FreeTTSConf::FreeTTSConf( TQWidget* parent, const char* name, const TQStringList
defaults();
- connect(m_widget->freettsPath, TQT_SIGNAL(textChanged(const TQString&)),
- this, TQT_SLOT(configChanged()));
- connect(m_widget->freettsTest, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotFreeTTSTest_clicked()));
+ connect(m_widget->freettsPath, TQ_SIGNAL(textChanged(const TQString&)),
+ this, TQ_SLOT(configChanged()));
+ connect(m_widget->freettsTest, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotFreeTTSTest_clicked()));
}
/** Destructor */
@@ -163,7 +163,7 @@ void FreeTTSConf::slotFreeTTSTest_clicked()
else
{
m_freettsProc = new FreeTTSProc();
- connect (m_freettsProc, TQT_SIGNAL(stopped()), this, TQT_SLOT(slotSynthStopped()));
+ connect (m_freettsProc, TQ_SIGNAL(stopped()), this, TQ_SLOT(slotSynthStopped()));
}
// Create a temp file name for the wave file.
KTempFile tempFile (locateLocal("tmp", "freettsplugin-"), ".wav");
@@ -183,7 +183,7 @@ void FreeTTSConf::slotFreeTTSTest_clicked()
// I think FreeTTS only officialy supports English, but if anyone knows of someone
// whos built up a different language lexicon and has it working with FreeTTS gimme an email at ceruleanblaze@gmail.com
- connect (m_freettsProc, TQT_SIGNAL(synthFinished()), this, TQT_SLOT(slotSynthFinished()));
+ connect (m_freettsProc, TQ_SIGNAL(synthFinished()), this, TQ_SLOT(slotSynthFinished()));
m_freettsProc->synth(
testMsg,
tmpWaveFile,
@@ -192,7 +192,7 @@ void FreeTTSConf::slotFreeTTSTest_clicked()
// Display progress dialog modally. Processing continues when plugin signals synthFinished,
// or if user clicks Cancel button.
m_progressDlg->exec();
- disconnect (m_freettsProc, TQT_SIGNAL(synthFinished()), this, TQT_SLOT(slotSynthFinished()));
+ disconnect (m_freettsProc, TQ_SIGNAL(synthFinished()), this, TQ_SLOT(slotSynthFinished()));
if (m_progressDlg->wasCancelled()) m_freettsProc->stopText();
delete m_progressDlg;
m_progressDlg = 0;
diff --git a/kttsd/plugins/freetts/freettsconf.h b/kttsd/plugins/freetts/freettsconf.h
index 37bbe2c..8337bf6 100644
--- a/kttsd/plugins/freetts/freettsconf.h
+++ b/kttsd/plugins/freetts/freettsconf.h
@@ -32,7 +32,7 @@ class TQStringList;
class KProgressDialog;
class FreeTTSConf : public PlugInConf {
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/kttsd/plugins/freetts/freettsconfigwidget.ui b/kttsd/plugins/freetts/freettsconfigwidget.ui
index e93f3ba..91d9988 100644
--- a/kttsd/plugins/freetts/freettsconfigwidget.ui
+++ b/kttsd/plugins/freetts/freettsconfigwidget.ui
@@ -189,12 +189,8 @@
</customwidgets>
<includes>
<include location="global" impldecl="in declaration">kurlrequester.h</include>
- <include location="global" impldecl="in implementation">kurlrequester.h</include>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
</includes>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>kurlrequester.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kpushbutton.h</includehint>
-</includehints>
</UI>
diff --git a/kttsd/plugins/freetts/freettsproc.cpp b/kttsd/plugins/freetts/freettsproc.cpp
index 95bcd8a..3d5efdb 100644
--- a/kttsd/plugins/freetts/freettsproc.cpp
+++ b/kttsd/plugins/freetts/freettsproc.cpp
@@ -103,14 +103,14 @@ void FreeTTSProc::synth(
}
m_freettsProc = new TDEProcess;
- connect(m_freettsProc, TQT_SIGNAL(processExited(TDEProcess*)),
- this, TQT_SLOT(slotProcessExited(TDEProcess*)));
- connect(m_freettsProc, TQT_SIGNAL(receivedStdout(TDEProcess*, char*, int)),
- this, TQT_SLOT(slotReceivedStdout(TDEProcess*, char*, int)));
- connect(m_freettsProc, TQT_SIGNAL(receivedStderr(TDEProcess*, char*, int)),
- this, TQT_SLOT(slotReceivedStderr(TDEProcess*, char*, int)));
- connect(m_freettsProc, TQT_SIGNAL(wroteStdin(TDEProcess*)),
- this, TQT_SLOT(slotWroteStdin(TDEProcess* )));
+ connect(m_freettsProc, TQ_SIGNAL(processExited(TDEProcess*)),
+ this, TQ_SLOT(slotProcessExited(TDEProcess*)));
+ connect(m_freettsProc, TQ_SIGNAL(receivedStdout(TDEProcess*, char*, int)),
+ this, TQ_SLOT(slotReceivedStdout(TDEProcess*, char*, int)));
+ connect(m_freettsProc, TQ_SIGNAL(receivedStderr(TDEProcess*, char*, int)),
+ this, TQ_SLOT(slotReceivedStderr(TDEProcess*, char*, int)));
+ connect(m_freettsProc, TQ_SIGNAL(wroteStdin(TDEProcess*)),
+ this, TQ_SLOT(slotWroteStdin(TDEProcess* )));
if (synthFilename.isNull())
m_state = psSaying;
else
diff --git a/kttsd/plugins/freetts/freettsproc.h b/kttsd/plugins/freetts/freettsproc.h
index 4a11836..1ea3813 100644
--- a/kttsd/plugins/freetts/freettsproc.h
+++ b/kttsd/plugins/freetts/freettsproc.h
@@ -27,7 +27,7 @@
class TDEProcess;
class FreeTTSProc : public PlugInProc{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/kttsd/plugins/freetts/kttsd_freettsplugin.desktop b/kttsd/plugins/freetts/kttsd_freettsplugin.desktop
index 423baae..f65fb70 100644
--- a/kttsd/plugins/freetts/kttsd_freettsplugin.desktop
+++ b/kttsd/plugins/freetts/kttsd_freettsplugin.desktop
@@ -1,50 +1,8 @@
[Desktop Entry]
Name=FreeTTS
-Name[tr]=Freetts
-Name[vi]=Văn bản sang Tiếng nói Tự do
+
Comment=FreeTTS speech synthesizer
-Comment[bg]=Синтезатор на глас FreeTTS
-Comment[ca]=Sintetitzador de veu FreeTTS
-Comment[cs]=Hlasový syntetizér FreeTTS
-Comment[da]=FreeTTS tale-synthesizer
-Comment[de]=FreeTTS Sprachsynthesizer
-Comment[el]=Συνθέτης ομιλίας FreeTTS
-Comment[es]=Sintetizador de texto a voz FreeTTS
-Comment[et]=Kõnesüntesaator FreeTTS
-Comment[eu]=FreeTTS hizketa-sintetizadorea
-Comment[fa]=ترکیب‌دهندۀ گفتار FreeTTS
-Comment[fi]=FreeTTS puhesyntetisaattori
-Comment[fr]=Synthèse vocale FreeTTS
-Comment[ga]=Sintéiseoir cainte FreeTTS
-Comment[gl]=Sintetizador de voces FreeTTS
-Comment[hu]=FreeTTS beszédszintetizátor
-Comment[is]=FreeTTS talgerfill
-Comment[it]=Sintetizzatore vocale FreeTTS
-Comment[ja]=FreeTTS スピーチシンセサイザ
-Comment[ka]=FreeTTS ხმის სინთეზატორი
-Comment[km]=កម្មវិធី​សង្គ្រោះ​ការនិយាយ FreeTTS
-Comment[mk]=FreeTTS синтетизатор на говор
-Comment[ms]=Pensintesis tutur FreeTTS
-Comment[nb]=FreeTTS talesyntetisering
-Comment[nds]=Blicksnuut FreeTTS
-Comment[ne]=FreeTTS संवाद सिन्थेसाइजर
-Comment[nl]=FreeTTS spraaksynthesizer
-Comment[pa]=FreeTTS ਬੋਲੀ ਸੰਸਲੇਸ਼ਕ
-Comment[pl]=Syntezator mowy FreeTTS
-Comment[pt]=O sintetizador de fala FreeTTS
-Comment[pt_BR]=Sintetizador de fala FreeTTS
-Comment[ru]=Синтезатор речи FreeTTS
-Comment[sk]=Syntetizátor reči FreeTTS
-Comment[sl]=Sintetizator govora FreeTTS
-Comment[sr]=Синтетизатор говора FreeTTS
-Comment[sr@Latn]=Sintetizator govora FreeTTS
-Comment[sv]=FreeTTS talsyntes
-Comment[ta]=FreeTTS பேச்சு கூட்டிணைப்பான்
-Comment[tg]=Таҳлилгари овози FreeTTS
-Comment[tr]=FreeTTS konuşma bireştirici
-Comment[uk]=Синтезатор мовлення FreeTTS
-Comment[vi]=Trình tổng hợp tiếng nói Tự do
-Comment[zh_TW]=FreeTTS 語音合成器
+
Type=Service
X-TDE-ServiceTypes=KTTSD/SynthPlugin
X-TDE-Library=libkttsd_freettsplugin
diff --git a/kttsd/plugins/hadifix/CMakeLists.txt b/kttsd/plugins/hadifix/CMakeLists.txt
new file mode 100644
index 0000000..74398d5
--- /dev/null
+++ b/kttsd/plugins/hadifix/CMakeLists.txt
@@ -0,0 +1,46 @@
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${CMAKE_SOURCE_DIR}/kttsd/libkttsd
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### libkttsd_hadifixplugin (kpart)
+
+tde_add_kpart( libkttsd_hadifixplugin AUTOMOC
+
+ SOURCES
+ hadifixconfigui.ui
+ voicefileui.ui
+ hadifixconf.cpp
+ hadifixproc.cpp
+ hadifixplugin.cpp
+ LINK
+ tdecore-shared
+ kttsd-shared
+
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### other data
+
+tde_create_translated_desktop(
+ SOURCE kttsd_hadifixplugin.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR kttsd-desktops
+)
+
+install(
+ FILES SSMLtoTxt2pho.xsl
+ DESTINATION ${DATA_INSTALL_DIR}/kttsd/hadifix/xslt
+)
diff --git a/kttsd/plugins/hadifix/hadifixconf.cpp b/kttsd/plugins/hadifix/hadifixconf.cpp
index 9b86384..7f0b51f 100644
--- a/kttsd/plugins/hadifix/hadifixconf.cpp
+++ b/kttsd/plugins/hadifix/hadifixconf.cpp
@@ -215,12 +215,12 @@ HadifixConf::HadifixConf( TQWidget* parent, const char* name, const TQStringList
TQString file = locate("data", "LICENSES/LGPL_V2");
i18n("This plugin is distributed under the terms of the GPL v2 or later.");
- connect(d->configWidget->voiceButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(voiceButton_clicked()));
- connect(d->configWidget->testButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(testButton_clicked()));
- connect(d->configWidget, TQT_SIGNAL(changed(bool)), this, TQT_SLOT(configChanged (bool)));
- connect(d->configWidget->characterCodingBox, TQT_SIGNAL(textChanged(const TQString&)),
- this, TQT_SLOT(configChanged()));
- connect(d->configWidget->voiceCombo, TQT_SIGNAL(activated(int)), this, TQT_SLOT(voiceCombo_activated(int)));
+ connect(d->configWidget->voiceButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(voiceButton_clicked()));
+ connect(d->configWidget->testButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(testButton_clicked()));
+ connect(d->configWidget, TQ_SIGNAL(changed(bool)), this, TQ_SLOT(configChanged (bool)));
+ connect(d->configWidget->characterCodingBox, TQ_SIGNAL(textChanged(const TQString&)),
+ this, TQ_SLOT(configChanged()));
+ connect(d->configWidget->voiceCombo, TQ_SIGNAL(activated(int)), this, TQ_SLOT(voiceCombo_activated(int)));
d->initializeCharacterCodes();
d->initializeVoices();
d->setDefaults();
@@ -330,7 +330,7 @@ void HadifixConf::testButton_clicked () {
else
{
d->hadifixProc = new HadifixProc();
- connect (d->hadifixProc, TQT_SIGNAL(stopped()), this, TQT_SLOT(slotSynthStopped()));
+ connect (d->hadifixProc, TQ_SIGNAL(stopped()), this, TQ_SLOT(slotSynthStopped()));
}
// Create a temp file name for the wave file.
KTempFile tempFile (locateLocal("tmp", "hadifixplugin-"), ".wav");
@@ -354,7 +354,7 @@ void HadifixConf::testButton_clicked () {
// TQString testMsg = "K D E ist eine moderne grafische Arbeitsumgebung für UNIX-Computer.";
TQString testMsg = testMessage(d->languageCode);
- connect (d->hadifixProc, TQT_SIGNAL(synthFinished()), this, TQT_SLOT(slotSynthFinished()));
+ connect (d->hadifixProc, TQ_SIGNAL(synthFinished()), this, TQ_SLOT(slotSynthFinished()));
d->hadifixProc->synth (testMsg,
realFilePath(d->configWidget->hadifixURL->url()),
d->configWidget->isMaleVoice(),
@@ -369,7 +369,7 @@ void HadifixConf::testButton_clicked () {
// Display progress dialog modally. Processing continues when plugin signals synthFinished,
// or if user clicks Cancel button.
d->progressDlg->exec();
- disconnect (d->hadifixProc, TQT_SIGNAL(synthFinished()), this, TQT_SLOT(slotSynthFinished()));
+ disconnect (d->hadifixProc, TQ_SIGNAL(synthFinished()), this, TQ_SLOT(slotSynthFinished()));
if (d->progressDlg->wasCancelled()) d->hadifixProc->stopText();
delete d->progressDlg;
d->progressDlg = 0;
diff --git a/kttsd/plugins/hadifix/hadifixconf.h b/kttsd/plugins/hadifix/hadifixconf.h
index 14d56bc..a773a4b 100644
--- a/kttsd/plugins/hadifix/hadifixconf.h
+++ b/kttsd/plugins/hadifix/hadifixconf.h
@@ -11,7 +11,7 @@ class HadifixProc;
class HadifixConfPrivate;
class HadifixConf : public PlugInConf {
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/kttsd/plugins/hadifix/hadifixconfigui.ui b/kttsd/plugins/hadifix/hadifixconfigui.ui
index 367200c..1fbe4ea 100644
--- a/kttsd/plugins/hadifix/hadifixconfigui.ui
+++ b/kttsd/plugins/hadifix/hadifixconfigui.ui
@@ -640,6 +640,11 @@
<include location="global" impldecl="in implementation">tqstringlist.h</include>
<include location="global" impldecl="in implementation">math.h</include>
<include location="global" impldecl="in implementation">kiconloader.h</include>
+ <include location="global" impldecl="in implementation">kcombobox.h</include>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+ <include location="global" impldecl="in implementation">knuminput.h</include>
+ <include location="global" impldecl="in implementation">kurlrequester.h</include>
</includes>
<forwards>
<forward>class TQStringList;</forward>
@@ -651,10 +656,10 @@
<variable>TQPixmap male;</variable>
<variable>TQMap&lt;TQString,int&gt; femaleVoices;</variable>
</variables>
-<Q_SIGNALS>
+<signals>
<signal>changed(bool)</signal>
-</Q_SIGNALS>
-<Q_SLOTS>
+</signals>
+<slots>
<slot access="protected" specifier="non virtual">volumeBox_valueChanged( int percentValue )</slot>
<slot access="protected" specifier="non virtual">timeBox_valueChanged( int percentValue )</slot>
<slot access="protected" specifier="non virtual">frequencyBox_valueChanged( int percentValue )</slot>
@@ -662,7 +667,7 @@
<slot access="protected" specifier="non virtual">timeSlider_valueChanged( int sliderValue )</slot>
<slot access="protected" specifier="non virtual">frequencySlider_valueChanged( int sliderValue )</slot>
<slot access="protected">changed( const TQString &amp; )</slot>
-</Q_SLOTS>
+</slots>
<functions>
<function access="protected" specifier="non virtual" returnType="int">percentToSlider( int percentValue )</function>
<function access="protected" specifier="non virtual" returnType="int">sliderToPercent( int sliderValue )</function>
@@ -674,19 +679,4 @@
<function specifier="non virtual" returnType="bool">isMaleVoice()</function>
</functions>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>kcombobox.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>knuminput.h</includehint>
- <includehint>knuminput.h</includehint>
- <includehint>knuminput.h</includehint>
- <includehint>kurlrequester.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kurlrequester.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kcombobox.h</includehint>
- <includehint>kpushbutton.h</includehint>
-</includehints>
</UI>
diff --git a/kttsd/plugins/hadifix/hadifixproc.cpp b/kttsd/plugins/hadifix/hadifixproc.cpp
index 3f2899f..51b1d24 100644
--- a/kttsd/plugins/hadifix/hadifixproc.cpp
+++ b/kttsd/plugins/hadifix/hadifixproc.cpp
@@ -197,10 +197,10 @@ void HadifixProc::synth(TQString text,
*(d->hadifixProc) << command;
// Connect signals from process.
- connect(d->hadifixProc, TQT_SIGNAL(processExited(TDEProcess *)),
- this, TQT_SLOT(slotProcessExited(TDEProcess *)));
- connect(d->hadifixProc, TQT_SIGNAL(wroteStdin(TDEProcess *)),
- this, TQT_SLOT(slotWroteStdin(TDEProcess *)));
+ connect(d->hadifixProc, TQ_SIGNAL(processExited(TDEProcess *)),
+ this, TQ_SLOT(slotProcessExited(TDEProcess *)));
+ connect(d->hadifixProc, TQ_SIGNAL(wroteStdin(TDEProcess *)),
+ this, TQ_SLOT(slotWroteStdin(TDEProcess *)));
// Store off name of wave file to be generated.
d->synthFilename = waveFilename;
@@ -359,10 +359,10 @@ HadifixProc::VoiceGender HadifixProc::determineGender(TQString mbrola, TQString
HadifixProc speech;
KShellProcess proc;
proc << command;
- connect(&proc, TQT_SIGNAL(receivedStdout(TDEProcess *, char *, int)),
- &speech, TQT_SLOT(receivedStdout(TDEProcess *, char *, int)));
- connect(&proc, TQT_SIGNAL(receivedStderr(TDEProcess *, char *, int)),
- &speech, TQT_SLOT(receivedStderr(TDEProcess *, char *, int)));
+ connect(&proc, TQ_SIGNAL(receivedStdout(TDEProcess *, char *, int)),
+ &speech, TQ_SLOT(receivedStdout(TDEProcess *, char *, int)));
+ connect(&proc, TQ_SIGNAL(receivedStderr(TDEProcess *, char *, int)),
+ &speech, TQ_SLOT(receivedStderr(TDEProcess *, char *, int)));
speech.stdOut = TQString();
speech.stdErr = TQString();
diff --git a/kttsd/plugins/hadifix/hadifixproc.h b/kttsd/plugins/hadifix/hadifixproc.h
index 34039c0..d3f6745 100644
--- a/kttsd/plugins/hadifix/hadifixproc.h
+++ b/kttsd/plugins/hadifix/hadifixproc.h
@@ -26,7 +26,7 @@ class TDEProcess;
class HadifixProcPrivate;
class HadifixProc : public PlugInProc{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/kttsd/plugins/hadifix/kttsd_hadifixplugin.desktop b/kttsd/plugins/hadifix/kttsd_hadifixplugin.desktop
index 0256587..2864dab 100644
--- a/kttsd/plugins/hadifix/kttsd_hadifixplugin.desktop
+++ b/kttsd/plugins/hadifix/kttsd_hadifixplugin.desktop
@@ -1,50 +1,8 @@
[Desktop Entry]
Name=Hadifix
-Name[ne]=ह्याडिफिक्स
+
Comment=German hadifix text-to-speech system
-Comment[bg]=Синтезатор на глас за немски език Hadifix
-Comment[ca]=Sistema de text a veu alemany hadifix
-Comment[cs]=Německý systém hlasové syntézy hadifix
-Comment[da]=Tysk hadifix tekst-til-tale system
-Comment[de]=Deutsches hadifix-Sprachausgabesystem
-Comment[el]=Σύστημα κειμένου-σε-ομιλία γερμανικού hadifix
-Comment[es]=Sintetizador de texto a voz en alemán hadifix
-Comment[et]=Saksa teksti kõneks muutmise süsteem Hadifix
-Comment[eu]=Alemanierazko hadifix testutik hizketarako sistema
-Comment[fa]=سیستم متن به گفتار hadifix آلمانی
-Comment[fi]=Saksalainen hadifix teksti puheeksi -systeemi
-Comment[fr]=Système allemand de synthèse vocale hadifix
-Comment[ga]=Córas téacs-go-caint Gearmáinise hadifix
-Comment[gl]=Sistema alemao de texto-para-fala hadifix
-Comment[hu]=Hadifix szövegfelolvasó (Mbrola-alapú)
-Comment[is]=Þýska hadifix texti-í-tal kerfið
-Comment[it]=Sistema di pronuncia tedesca Hadifix
-Comment[ja]=ドイツ語 hadifix テキスト読み上げシステム
-Comment[ka]=გერმანული hadifix ტექსტის გახმოვანების სისტემა
-Comment[km]=ប្រព័ន្ធ​អត្ថបទ​ដែល​ត្រូវ​និយាយ​ hadifix អាល្លឺម៉ង់
-Comment[mk]=Германски hadifix систем за текст-во-говор
-Comment[ms]=Sistem teks-ke-tutur hadifiks Jerman
-Comment[mt]=Sistema test-għal-vuċi hadifix Ġermaniż
-Comment[nb]=Tysk hadifix system for tekst-til-tale
-Comment[nds]=Düütsch Blicksnuut Hadifix
-Comment[ne]=जर्मनी ह्याडिफिक्स पाठ वाचक प्रणाली
-Comment[nl]=Duits hadifix tekst-tot-spraak-systeem
-Comment[pa]=ਜਰਮਨ hadifix ਪਾਠ ਤੋਂ ਬੋਲੀ ਸਿਸਟਮ
-Comment[pl]=Niemiecki system syntezy mowy hadifix
-Comment[pt]=Sistema alemão de texto-para-voz hadifix
-Comment[pt_BR]=Sistema de conversão de texto para áudio almeão hadifix
-Comment[ru]=Немецкая система синтеза речи Hadifix
-Comment[sk]=Nemecký systém text-na-reč hadifix
-Comment[sl]=Nemški sistem besedila v govor hadifix
-Comment[sr]=Hadifix, немачки систем за текст-у-говор
-Comment[sr@Latn]=Hadifix, nemački sistem za tekst-u-govor
-Comment[sv]=Tyska Hadifix text-till-tal system
-Comment[ta]=ஜெர்மன் ஹாடிஃபிக்ஸ் உரையில் இருந்து பேச்சு அமைப்பு
-Comment[tg]=Системаи олмонии таҳлили овози hadifix
-Comment[tr]=Alman hadifix metinden konuşmaya sistemi
-Comment[uk]=Німецька система синтезу мовлення hadifix
-Comment[vi]=Hệ thống tổng hợp tiếng nói Đức hadifix
-Comment[zh_TW]=德語 hadifix 文字轉語音系統
+
Type=Service
X-TDE-ServiceTypes=KTTSD/SynthPlugin
X-TDE-Library=libkttsd_hadifixplugin
diff --git a/kttsd/plugins/hadifix/voicefileui.ui b/kttsd/plugins/hadifix/voicefileui.ui
index c333670..bb3a232 100644
--- a/kttsd/plugins/hadifix/voicefileui.ui
+++ b/kttsd/plugins/hadifix/voicefileui.ui
@@ -100,20 +100,17 @@
<includes>
<include location="global" impldecl="in implementation">kurlrequesterdlg.h</include>
<include location="global" impldecl="in implementation">tdemessagebox.h</include>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+ <include location="global" impldecl="in implementation">kurlrequester.h</include>
<include location="local" impldecl="in implementation">hadifixproc.h</include>
<include location="local" impldecl="in implementation">voicefileui.ui.h</include>
</includes>
<variables>
- <variable access="public">QString mbrola;</variable>
+ <variable access="public">TQString mbrola;</variable>
</variables>
-<Q_SLOTS>
+<slots>
<slot>genderButton_clicked()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>kurlrequester.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kpushbutton.h</includehint>
-</includehints>
</UI>