diff options
Diffstat (limited to 'kttsd/kcmkttsmgr')
-rw-r--r-- | kttsd/kcmkttsmgr/CMakeLists.txt | 50 | ||||
-rw-r--r-- | kttsd/kcmkttsmgr/addtalker.cpp | 10 | ||||
-rw-r--r-- | kttsd/kcmkttsmgr/addtalker.h | 4 | ||||
-rw-r--r-- | kttsd/kcmkttsmgr/addtalkerwidget.ui | 7 | ||||
-rw-r--r-- | kttsd/kcmkttsmgr/kcmkttsd.desktop | 140 | ||||
-rw-r--r-- | kttsd/kcmkttsmgr/kcmkttsd_testmessage.desktop | 46 | ||||
-rw-r--r-- | kttsd/kcmkttsmgr/kcmkttsmgr.cpp | 184 | ||||
-rw-r--r-- | kttsd/kcmkttsmgr/kcmkttsmgr.h | 4 | ||||
-rw-r--r-- | kttsd/kcmkttsmgr/kcmkttsmgrwidget.ui | 61 | ||||
-rw-r--r-- | kttsd/kcmkttsmgr/selectevent.cpp | 4 | ||||
-rw-r--r-- | kttsd/kcmkttsmgr/selectevent.h | 4 | ||||
-rw-r--r-- | kttsd/kcmkttsmgr/selecteventwidget.ui | 6 |
12 files changed, 184 insertions, 336 deletions
diff --git a/kttsd/kcmkttsmgr/CMakeLists.txt b/kttsd/kcmkttsmgr/CMakeLists.txt new file mode 100644 index 0000000..6c52766 --- /dev/null +++ b/kttsd/kcmkttsmgr/CMakeLists.txt @@ -0,0 +1,50 @@ + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} + ${CMAKE_SOURCE_DIR}/kttsd/libkttsd + ${CMAKE_BINARY_DIR}/kttsd/libkttsd + ${CMAKE_BINARY_DIR}/kspeechsink +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + + +##### kcm_kttsd (kpart) + +tde_add_kpart( kcm_kttsd MODULE AUTOMOC + + SOURCES + kcmkttsmgrwidget.ui + addtalkerwidget.ui + selecteventwidget.ui + kcmkttsmgr.cpp + addtalker.cpp + selectevent.cpp + LINK + tdeio-shared + kttsd-shared + kspeech_stub-static + + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other data + +tde_create_translated_desktop( + SOURCE kcmkttsd_testmessage.desktop + DESTINATION ${DATA_INSTALL_DIR}/kttsd + PO_DIR kttsd-desktops +) + +tde_create_translated_desktop( + SOURCE kcmkttsd.desktop + PO_DIR kttsd-desktops +) diff --git a/kttsd/kcmkttsmgr/addtalker.cpp b/kttsd/kcmkttsmgr/addtalker.cpp index d3fe4d7..170c7a6 100644 --- a/kttsd/kcmkttsmgr/addtalker.cpp +++ b/kttsd/kcmkttsmgr/addtalker.cpp @@ -1,4 +1,4 @@ -/***************************************************** vim:set ts=4 sw=4 sts=4: +/* Dialog to allow user to add a new Talker by selecting a language and synthesizer (button). Uses addtalkerwidget.ui. ------------------- @@ -65,10 +65,10 @@ AddTalker::AddTalker(SynthToLangMap synthToLangMap, TQWidget* parent, const char applyFilter(); // Connect widgets to slots. - connect(languageRadioButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(applyFilter())); - connect(synthesizerRadioButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(applyFilter())); - connect(languageSelection, TQT_SIGNAL(activated(int)), this, TQT_SLOT(applyFilter())); - connect(synthesizerSelection, TQT_SIGNAL(activated(int)), this, TQT_SLOT(applyFilter())); + connect(languageRadioButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(applyFilter())); + connect(synthesizerRadioButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(applyFilter())); + connect(languageSelection, TQ_SIGNAL(activated(int)), this, TQ_SLOT(applyFilter())); + connect(synthesizerSelection, TQ_SIGNAL(activated(int)), this, TQ_SLOT(applyFilter())); } AddTalker::~AddTalker() diff --git a/kttsd/kcmkttsmgr/addtalker.h b/kttsd/kcmkttsmgr/addtalker.h index 43784ba..1d300bd 100644 --- a/kttsd/kcmkttsmgr/addtalker.h +++ b/kttsd/kcmkttsmgr/addtalker.h @@ -1,4 +1,4 @@ -/***************************************************** vim:set ts=4 sw=4 sts=4: +/* Dialog to allow user to add a new Talker by selecting a language and synthesizer (button). Uses addtalkerwidget.ui. ------------------- @@ -35,7 +35,7 @@ typedef TQMap<TQString,TQStringList> LangToSynthMap; class AddTalker : public AddTalkerWidget { - Q_OBJECT + TQ_OBJECT public: diff --git a/kttsd/kcmkttsmgr/addtalkerwidget.ui b/kttsd/kcmkttsmgr/addtalkerwidget.ui index ae48c61..4597a90 100644 --- a/kttsd/kcmkttsmgr/addtalkerwidget.ui +++ b/kttsd/kcmkttsmgr/addtalkerwidget.ui @@ -253,8 +253,7 @@ <tabstop>languageRadioButton</tabstop> </tabstops> <layoutdefaults spacing="6" margin="11"/> -<includehints> - <includehint>kcombobox.h</includehint> - <includehint>kcombobox.h</includehint> -</includehints> +<includes> + <include location="global" impldecl="in implementation">kcombobox.h</include> +</includes> </UI> diff --git a/kttsd/kcmkttsmgr/kcmkttsd.desktop b/kttsd/kcmkttsmgr/kcmkttsd.desktop index 3b5a349..2c627ce 100644 --- a/kttsd/kcmkttsmgr/kcmkttsd.desktop +++ b/kttsd/kcmkttsmgr/kcmkttsd.desktop @@ -1,142 +1,22 @@ [Desktop Entry] -Type=Application Name=Text-to-Speech -Name[bg]=Синтез на глас -Name[bs]=Izgovaranje teksta -Name[ca]=Text a veu -Name[cs]=Hlasová syntéza -Name[cy]=Testun-i-Leferydd -Name[da]=Tekst-til-tale -Name[de]=Sprachausgabe -Name[el]=Κείμενο-σε-ομιλία -Name[es]=Texto a voz -Name[et]=Tekst kõneks -Name[eu]=Testutik hizketara -Name[fa]=متن به گفتار -Name[fi]=Teksti puheeksi -Name[fr]=Synthèse vocale -Name[ga]=Téacs-go-Caint -Name[gl]=Texto-para-Fala -Name[he]=טקסט לדיבור -Name[hu]=Szövegfelolvasó -Name[is]=Texti-í-tal -Name[it]=Pronuncia -Name[ja]=テキスト読み上げ -Name[ka]=ტექსტი-გახმოვანება -Name[km]=អត្ថបទដែលត្រូវនិយាយ -Name[mk]=Текст-во-говор -Name[ms]=Teks-ke-Tutur -Name[nb]=Tekst-til-tale -Name[nds]=Vörleser -Name[ne]=पाठ वाचक -Name[nl]=Tekst-tot-spraak -Name[pa]=ਪਾਠ ਤੋਂ ਬੋਲੀ -Name[pl]=Odczytywanie tekstu -Name[pt]=Texto-para-Fala -Name[pt_BR]=Conversão de texto para fala -Name[ru]=Синтез речи -Name[sk]=Text-na-reč -Name[sl]=Besedilo v govor -Name[sr]=Текст-у-говор -Name[sr@Latn]=Tekst-u-govor -Name[sv]=Text-till-tal -Name[ta]=உரையில் இருந்து பேச்சுக்கு -Name[tg]=Таҳлили овоз -Name[tr]=Metinden Konuşmaya -Name[uk]=Синтез мовлення з тексту -Name[vi]=Văn bản sang Tiếng nói -Name[zh_TW]=文字轉語音 + Comment=Text-to-Speech Control Module -Comment[bg]=Модул за синтез на глас -Comment[bs]=Kontrolni modul za izgovaranje teksta -Comment[ca]=Mòdul de control de text a veu -Comment[cs]=Modul ovládání hlasové syntézy -Comment[da]=Kontrolmodul for tekst-til-tale -Comment[de]=Kontrollmodul für die Sprachausgabe -Comment[el]=Άρθρωμα ελέγχου κειμένου-σε-ομιλία -Comment[es]=Modulo de control del sintetizador texto a voz -Comment[et]=Juhtimiskeskuse teksti kõneks muutmise moodul -Comment[eu]=Testutik hizketarako modulua -Comment[fa]=پیمانۀ کنترل متن به گفتار -Comment[fi]=Teksti puheeksi -hallintamoduuli -Comment[fr]=Module de configuration de la synthèse vocale -Comment[ga]=Modúl Rialaithe Téacs-go-Caint -Comment[gl]=Módulo de Control do Texto-para-Fala -Comment[he]=מודול מרכז בקרה עבור טקסט לדיבור -Comment[hu]=A szövegfelolvasó szolgáltatás beállításai -Comment[is]=Texti-í-tal stjórneining -Comment[it]=Modulo di controllo di pronuncia -Comment[ja]=テキスト読み上げ制御モジュール -Comment[ka]=ტექსტი-სიტყვის მართვის მოდული -Comment[km]=ម៉ូឌុលត្រួតពិនិត្យអត្ថបទដែលត្រូវនិយាយ -Comment[mk]=Контролен модул за текст-во-говор -Comment[ms]=Modul Kawalan Teks-ke-Tutur -Comment[nb]=Styremodul for tekst-til-tale -Comment[nds]=Kuntrullmoduul för den Vörleser -Comment[ne]=पाठ वाचक नियन्त्रण मोड्युल -Comment[nl]=Tekst-tot-spraak configuratiemodule -Comment[pa]=ਪਾਠ ਤੋਂ ਬੋਲੀ ਕੰਟਰੋਲ ਮੈਡੀਊਲ -Comment[pl]=Moduł konfiguracji odczytywania tekstu -Comment[pt]=Módulo de Controlo de Texto-para-Fala -Comment[pt_BR]=Módulo de Controle de conversão de texto para fala -Comment[ru]=Настройка синтеза речи -Comment[sk]=Riadiaci modul text-na-reč -Comment[sl]=Nadzorni modul besedila v govor -Comment[sr]=Контролни модул за текст-у-говор -Comment[sr@Latn]=Kontrolni modul za tekst-u-govor -Comment[sv]=Text-till-tal inställningsmodul -Comment[ta]=உரையில் இருந்து பேச்சு கட்டுப்பாட்டு பகுதி -Comment[tg]=Танзими таҳлили овоз -Comment[tr]=Metinden Konuşmaya Kontrol Modülü -Comment[uk]=Модуль керування синтезом мовлення з тексту -Comment[vi]=Mô đun Điều khiển Văn bản sang Tiếng nói -Comment[zh_TW]=文字轉語音控制模組 -X-TDE-ServiceTypes=Application,TDECModule -X-DocPath=kttsd + +Keywords=kttsd;kcmkttsmgr;kttsmgr;tts;ttsd;ktts;text;to;speech;speak;synthesizer;synth;festival;command;freetts;proklam;via;voice; + +Type=Application +Exec=tdecmshell kcmkttsd +Icon=kttsd NoDisplay=false StartupNotify=false StartupWMClass= -Exec=tdecmshell kcmkttsd -Icon=kttsd +Terminal=false Categories=Qt;TDE;X-TDE-settings-accessibility; -Keywords=kttsd;kcmkttsmgr;kttsmgr;tts;ttsd;ktts;text;to;speech;speak;synthesizer;synth;festival;command;freetts;proklam;via;voice; -Keywords[bg]=синтез; глас; говор; текст; kttsd; kcmkttsmgr; kttsmgr; tts; ttsd; ktts; text; to; speech; speak; synthesizer; synth; festival; command; freetts; proklam; via; voice; -Keywords[br]=kttsd;kcmkttsmgr;kttsmgr;tts;ttsd;ktts;skrid;da;prezegenn;komz;synthesizer;synth;festival;urzhiad;freetts;proklam;via;mouezh; -Keywords[bs]=kttsd;kcmkttsmgr;kttsmgr;tts;ttsd;ktts;text;to;speech;speak;synthesizer;synth;festival;command;freetts;proklam;via;voice;čitanje;izgovaranje; -Keywords[ca]=kttsd;kcmkttsmgr;kttsmgr;tts;ttsd;ktts;text;a;veu;parla;sintetitzador;síntesi;festival;ordre;freetts;proklam;via;veu; -Keywords[cs]=kttsd;kcmkttsmgr;kttsmgr;tts;ttsd;ktts;text;to;speech;mluvit;syntéza;syntetizér;synth;festival;příkaz;freetts;proklam;hlasová;předčítání;čtení; -Keywords[da]=kttsd;kcmkttsmgr;kttsmgr;tts;ttsd;ktts;tekst;til;tale;tal;synthesizer;synth;festival;kommando;freetts;proklam;via;stemme; -Keywords[de]=kttsd;kcmkttsmgr;kttsmgr;tts;ttsd;ktts;text;to;speech;speak;synthesizer;synth;festival;command;freetts;proklam;via;voice;Sprachsynthese;Vorlesen;Sprache;Sprachausgabe; -Keywords[el]=kttsd;kcmkttsmgr;kttsmgr;tts;ttsd;ktts;κείμενο;σε;ομιλία;εκφώνηση;synthesizer;synth;festival;εντολή;freetts;proklam;μέσω;φωνή; -Keywords[es]=kttsd;kcmkttsmgr;kttsmgr;tts;ttsd;ktts;texto;a;voz;habla;sintetizador;festival;orden;freetts;proklam;via;voz; -Keywords[et]=kttsd;kcmkttsmgr;kttsmgr;tts;ttsd;ktts;tekst;kõneks;kõne;süntesaator;festival;käsk;freetts;proklam;hääl; -Keywords[eu]=kttsd;kcmkttsmgr;kttsmgr;tts;ttsd;ktts;testua; hizketa;ahoskatu;sintetizadorea;synth;festival;command; freetts;proklam;via;ahotsa; -Keywords[fa]=kttsd،kcmkttsmgr،kttsmgr،tts،ttsd،ktts،متن، به، گفتار، صحبت کردن دهنده، synth، Festival، فرمان، freetts،proklam، از طریق، صدا; -Keywords[fr]=kttsd;kcmkttsmgr;kttsmgr;tts;ttsd;ktts;texte;to;prononcer;énoncer;synthétiseur;synth;festival;command;freetts;proklam;via;voix; -Keywords[ga]=kttsd;kcmkttsmgr;kttsmgr;tts;ttsd;ktts;téacs;go;caint;abair;sintéiseoir;sintéis;festival;ordú;freetts;proklam;via;guth;glór; -Keywords[gl]=kttsd;kcmkttsmgr;kttsmgr;tts;ttsd;ktts;texto;para;fala;falar;sintetizador;sintetizar;festival;comando;freetts;proklam;via;voz; -Keywords[he]=kttsd;kcmkttsmgr;kttsmgr;tts;ttsd;ktts;text;to;speech;speak;synthesizer;synth;festival;command;freetts;proklam;via;voice;דיבור;טקסט;מקריא; קול;פסטיבל;מסנטז;סינטי;סינטיזייזר; -Keywords[hu]=kttsd;kcmkttsmgr;kttsmgr;tts;ttsd;ktts;szöveg;hang;beszéd;beszél;szintetizátor;szintetizálás;festival;parancs;freetts;proklam;via;voice; -Keywords[is]=kttsd;kcmkttsmgr;kttsmgr;tts;ttsd;ktts;text;to;speech;texti;í;tal;speak;synthesizer;synth;festival;command;freetts;proklam;via;voice; -Keywords[it]=kttsd;kcmkttsmgr;kttsmgr;tts;ttsd;ktts;pronuncia;parlare;sintetizzatore;synth;festival;comando;freetts;proklam;via;voce; -Keywords[mk]=kttsd;kcmkttsmgr;kttsmgr;tts;ttsd;ktts;text;to;speech;speak;synthesizer;synth;festival;command;freetts;proklam;via;voice;текст;во;говор;синтисајзер;фестивал;наредба;команда;глас; -Keywords[nb]=kttsd;kcmkttsmgr;kttsmgr;tts;ttsd;ktts;tekst;til;tale;snakke;synthesizer;synth;festival;kommando;freetts;proklam;via;voice; -Keywords[nds]=kttsd;kcmkttsmgr;kttsmgr;tts;ttsd;ktts;text;Vörleser;vörlesen;Blicksnuut;synth;festival;freetts;proklam;Stimm;Spraakutgaav; -Keywords[nl]=kttsd;tts;ttsd;ktts;text to speech;praten;synthesizer;synth;festival;command;freetts;proklam;via voice;spraakprogramma;geluid;stem;tekst tot spraak;spreken;computerstem; -Keywords[pl]=kttsd;kcmkttsmgr;kttsmgr;tts;ttsd;ktts;text;to;speech;speak;synthesizer;synth;festival;command;freetts;proklam;via;voice;tekst;do;mowa;mówienie; synteza;festival;polecenie;głos;mówienie;odczytywanie tekstu; -Keywords[pt]=kttsd;kcmkttsmgr;kttsmgr;tts;TTS;ttsd;ktts;texto;fala;falar;sintetizador;festival;comandar;freetts;proklam;via;voice; -Keywords[pt_BR]=kttsd;kcmkttsmgr;kttsmgr;tts;ttsd;ktts;texto;fala;conversa; sintentizador;ynth;festival;command;freetts;proklam;via;voz; -Keywords[ru]=kttsd;kcmkttsmgr;kttsmgr;tts;ttsd;ktts;text-to-speech;speak;synthesizer;synth;festival;command;freetts;proklam;via;voice;голос;речь;синтез;синтез речи; -Keywords[sl]=kttsd;kcmkttsmgr;kttsmgr;tts;ttsd;ktts;besedilo;v;govor;govori;sintetizator;;festival;ukaz;freetts;proklam;preko;glas; -Keywords[sr]=kttsd;kcmkttsmgr;kttsmgr;tts;ttsd;ktts;text;to;speech;speak;synthesizer;synth;festival;command;freetts;proklam;via;voice;текст;говор;наредба; -Keywords[sr@Latn]=kttsd;kcmkttsmgr;kttsmgr;tts;ttsd;ktts;text;to;speech;speak;synthesizer;synth;festival;command;freetts;proklam;via;voice;tekst;govor;naredba; -Keywords[sv]=kttsd;kcmkttsmgr;kttsmgr;tts;ttsd;ktts;text;till;tal;läsa;syntes;synt;festival;kommando;freetts;proklam;via;röst; -Keywords[tg]=kttsd;kcmkttsmgr;kttsmgr;tts;ttsd;ktts;text;to;speech;speak;synthesizer;synth;festival;command;freetts;proklam;via;voice;овоз;ибора;таҳлили овоз; -Keywords[uk]=kttsd;kcmkttsmgr;kttsmgr;tts;ttsd;ktts;text;to;speech;speak;synthesizer;synth;festival;command;freetts;proklam;via;voice;мовлення;синтез;голос;текст;команда;через; -Keywords[vi]=kttsd;kcmkttsmgr;kttsmgr;tts;ttsd;ktts;văn bản;sang;tiếng nói;nói;tổng hợp;tạp;festival;lệnh;freets;proklam;qua;giọng nói; +X-DocPath=kttsd +X-TDE-ServiceTypes=Application,TDECModule X-TDE-FactoryName=kttsd X-TDE-ParentApp=kcontrol X-TDE-SubstituteUID=false X-TDE-ModuleType=Library X-TDE-Library=kttsd -Terminal=false diff --git a/kttsd/kcmkttsmgr/kcmkttsd_testmessage.desktop b/kttsd/kcmkttsmgr/kcmkttsd_testmessage.desktop index 7035d35..e0d9c31 100644 --- a/kttsd/kcmkttsmgr/kcmkttsd_testmessage.desktop +++ b/kttsd/kcmkttsmgr/kcmkttsd_testmessage.desktop @@ -1,46 +1,4 @@ [Desktop Entry] -NoDisplay=true Name=The text-to-speech system seems to be functioning properly. -Name[bg]=Системата за синтез на глас изглежда, че функционира нормално. -Name[ca]=El sistema de text a veu sembla que funciona correctament. -Name[cs]=Zdá se, že systém hlasové syntézy funguje správně. -Name[da]=Tekst-til-tale systemet synes at virke rigtigt. -Name[de]=Die Sprachausgabe scheint ordnungsgemäß zu funktionieren. -Name[el]=Το σύστημα κειμένου-σε-ομιλία φαίνεται να λειτουργεί κανονικά. -Name[es]=El sintetizador de texto a voz parece estar funcionando correctamente. -Name[et]=Teksti kõneks muutmise süsteem paistab korralikult töötavat. -Name[eu]=Testutik-hizketarako sistemak ongi funtzionatzen duela dirudi. -Name[fa]=به نظر میرسد که سیستم متن به گفتار درست عمل میکند. -Name[fi]=Teksti puheeksi -järjestelmä näyttää toimivan hyvin. -Name[fr]=Le système de synthèse vocale semble fonctionner correctement. -Name[ga]=Dealraíonn sé go bhfuil an córas téacs-go-caint ag obair mar is ceart. -Name[gl]=O sistema de texto-para-fala parece estar a funcionar correctamente. -Name[he]=נראה כי מערכת הטקסט לדיבור עובדת כהלכה. -Name[hu]=A szövegfelolvasó rendszer megfelelően működik. -Name[is]=Texti-í-tal kerfið virðist virka eðlilega. -Name[it]=Il sistema di pronuncia pare funzionare correttamente. -Name[ja]=テキスト読み上げシステムは正しく動作しているようです。 -Name[ka]=ტექსტი-გახმოვანება სისტემა როგორც ჩანს სწორად მოქმედებს. -Name[km]=ប្រព័ន្ធអត្ថបទដែលត្រូវនិយាយហាក់ដូចជាមានមុខងារត្រឹមត្រូវ ។ -Name[mk]=Изгледа дека системот за текст-во-говор функционира како што треба. -Name[ms]=Sistem teks-ke-Tutur berfungsi dengan baik. -Name[nb]=Tekst-til-tale-systemet ser ut til å virke som det skal. -Name[nds]=As dat lett funkscheneert de Vörleser as he schall. -Name[ne]=पाठ वाचक प्रणालीले ठीक रुपमा कार्य गर्ने देखिन्छ -Name[nl]=Het tekst-tot-spraaksysteem blijkt goed te functioneren. -Name[pa]=ਇੱਕ ਪਾਠ ਤੋਂ ਬੋਲੀ ਸੰਸਲੇਸ਼ਣ ਸਿਸਟਮ, ਜੋ ਕਿ ਠੀਕ ਤਰਾਂ ਕੰਮ ਕਰਦਾ ਜਾਪਦਾ ਹੈ। -Name[pl]=System odczytywania tekstu funkcjonuje prawidłowo. -Name[pt]=O sistema de texto-para-voz parece estar a funcionar correctamente. -Name[pt_BR]=O sistema de fala do TDE parece estar funcionando corretamente. -Name[ru]=Система синтеза речи работает нормально. -Name[sk]=Systém text-na-reč funguje správne. -Name[sl]=Sistem besedila v govor očitno deluje pravilno. -Name[sr]=Систем текст-у-говор изгледа да функционише исправно. -Name[sr@Latn]=Sistem tekst-u-govor izgleda da funkcioniše ispravno. -Name[sv]=Text till tal-systemet verkar fungera som det ska. -Name[ta]=உரையில் இருந்து பேச்சு அமைப்பு சரியாக இயங்குகிறது. -Name[tg]=Системаи таҳлили овоз мӯътадил кор мекунад. -Name[tr]=Metinden Konuşmaya sistemi düzgün çalışıyor. -Name[uk]=Система синтезу мовлення з тексту функціонує правильно. -Name[vi]=Hệ thống văn bản sang tiếng nói có vẻ hoạt động tốt. -Name[zh_TW]=文字轉語音的系統已正常運作。 + +NoDisplay=true diff --git a/kttsd/kcmkttsmgr/kcmkttsmgr.cpp b/kttsd/kcmkttsmgr/kcmkttsmgr.cpp index e261541..8cbd792 100644 --- a/kttsd/kcmkttsmgr/kcmkttsmgr.cpp +++ b/kttsd/kcmkttsmgr/kcmkttsmgr.cpp @@ -1,4 +1,4 @@ -/***************************************************** vim:set ts=4 sw=4 sts=4: +/* KControl module for KTTSD configuration and Job Management ------------------- Copyright : (C) 2002-2003 by José Pablo Ezequiel "Pupeno" Fernández @@ -163,13 +163,13 @@ KCMKttsMgr::KCMKttsMgr(TQWidget *parent, const char *name, const TQStringList &) // Construct a popup menu for the Sentence Boundary Detector buttons on Filter tab. m_sbdPopmenu = new TQPopupMenu( m_kttsmgrw, "SbdPopupMenu" ); - m_sbdPopmenu->insertItem( i18n("&Edit..."), this, TQT_SLOT(slot_configureSbdFilter()), 0, sbdBtnEdit ); + m_sbdPopmenu->insertItem( i18n("&Edit..."), this, TQ_SLOT(slot_configureSbdFilter()), 0, sbdBtnEdit ); m_sbdPopmenu->insertItem( TDEGlobal::iconLoader()->loadIconSet("go-up", TDEIcon::Small), - i18n("U&p"), this, TQT_SLOT(slot_higherSbdFilterPriority()), 0, sbdBtnUp ); + i18n("U&p"), this, TQ_SLOT(slot_higherSbdFilterPriority()), 0, sbdBtnUp ); m_sbdPopmenu->insertItem( TDEGlobal::iconLoader()->loadIconSet("go-down", TDEIcon::Small), - i18n("Do&wn"), this, TQT_SLOT(slot_lowerSbdFilterPriority()), 0, sbdBtnDown ); - m_sbdPopmenu->insertItem( i18n("&Add..."), this, TQT_SLOT(slot_addSbdFilter()), 0, sbdBtnAdd ); - m_sbdPopmenu->insertItem( i18n("&Remove"), this, TQT_SLOT(slot_removeSbdFilter()), 0, sbdBtnRemove ); + i18n("Do&wn"), this, TQ_SLOT(slot_lowerSbdFilterPriority()), 0, sbdBtnDown ); + m_sbdPopmenu->insertItem( i18n("&Add..."), this, TQ_SLOT(slot_addSbdFilter()), 0, sbdBtnAdd ); + m_sbdPopmenu->insertItem( i18n("&Remove"), this, TQ_SLOT(slot_removeSbdFilter()), 0, sbdBtnRemove ); m_kttsmgrw->sbdButton->setPopup( m_sbdPopmenu ); // If aRts is available, enable its radio button. @@ -248,94 +248,94 @@ KCMKttsMgr::KCMKttsMgr(TQWidget *parent, const char *name, const TQStringList &) // Connect the signals from the KCMKtssMgrWidget to this class. // Talker tab. - connect(m_kttsmgrw->addTalkerButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slot_addTalker())); - connect(m_kttsmgrw->higherTalkerPriorityButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slot_higherTalkerPriority())); - connect(m_kttsmgrw->lowerTalkerPriorityButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slot_lowerTalkerPriority())); - connect(m_kttsmgrw->removeTalkerButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slot_removeTalker())); - connect(m_kttsmgrw->configureTalkerButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slot_configureTalker())); - connect(m_kttsmgrw->talkersList, TQT_SIGNAL(selectionChanged()), - this, TQT_SLOT(updateTalkerButtons())); + connect(m_kttsmgrw->addTalkerButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slot_addTalker())); + connect(m_kttsmgrw->higherTalkerPriorityButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slot_higherTalkerPriority())); + connect(m_kttsmgrw->lowerTalkerPriorityButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slot_lowerTalkerPriority())); + connect(m_kttsmgrw->removeTalkerButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slot_removeTalker())); + connect(m_kttsmgrw->configureTalkerButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slot_configureTalker())); + connect(m_kttsmgrw->talkersList, TQ_SIGNAL(selectionChanged()), + this, TQ_SLOT(updateTalkerButtons())); // Filter tab. - connect(m_kttsmgrw->addFilterButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slot_addNormalFilter())); - connect(m_kttsmgrw->higherFilterPriorityButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slot_higherNormalFilterPriority())); - connect(m_kttsmgrw->lowerFilterPriorityButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slot_lowerNormalFilterPriority())); - connect(m_kttsmgrw->removeFilterButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slot_removeNormalFilter())); - connect(m_kttsmgrw->configureFilterButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slot_configureNormalFilter())); - connect(m_kttsmgrw->filtersList, TQT_SIGNAL(selectionChanged()), - this, TQT_SLOT(updateFilterButtons())); - //connect(m_kttsmgrw->filtersList, TQT_SIGNAL(stateChanged()), - // this, TQT_SLOT(configChanged())); - connect(m_kttsmgrw->sbdsList, TQT_SIGNAL(selectionChanged()), - this, TQT_SLOT(updateSbdButtons())); + connect(m_kttsmgrw->addFilterButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slot_addNormalFilter())); + connect(m_kttsmgrw->higherFilterPriorityButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slot_higherNormalFilterPriority())); + connect(m_kttsmgrw->lowerFilterPriorityButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slot_lowerNormalFilterPriority())); + connect(m_kttsmgrw->removeFilterButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slot_removeNormalFilter())); + connect(m_kttsmgrw->configureFilterButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slot_configureNormalFilter())); + connect(m_kttsmgrw->filtersList, TQ_SIGNAL(selectionChanged()), + this, TQ_SLOT(updateFilterButtons())); + //connect(m_kttsmgrw->filtersList, TQ_SIGNAL(stateChanged()), + // this, TQ_SLOT(configChanged())); + connect(m_kttsmgrw->sbdsList, TQ_SIGNAL(selectionChanged()), + this, TQ_SLOT(updateSbdButtons())); // Audio tab. - connect(m_kttsmgrw->gstreamerRadioButton, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotGstreamerRadioButton_toggled(bool))); - connect(m_kttsmgrw->alsaRadioButton, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotAlsaRadioButton_toggled(bool))); - connect(m_kttsmgrw->pcmComboBox, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotPcmComboBox_activated())); - connect(m_kttsmgrw->akodeRadioButton, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotAkodeRadioButton_toggled(bool))); - connect(m_kttsmgrw->timeBox, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(timeBox_valueChanged(int))); - connect(m_kttsmgrw->timeSlider, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(timeSlider_valueChanged(int))); - connect(m_kttsmgrw->timeBox, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(configChanged())); - connect(m_kttsmgrw->timeSlider, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(configChanged())); - connect(m_kttsmgrw->keepAudioCheckBox, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(keepAudioCheckBox_toggled(bool))); - connect(m_kttsmgrw->keepAudioPath, TQT_SIGNAL(textChanged(const TQString&)), - this, TQT_SLOT(configChanged())); + connect(m_kttsmgrw->gstreamerRadioButton, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotGstreamerRadioButton_toggled(bool))); + connect(m_kttsmgrw->alsaRadioButton, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotAlsaRadioButton_toggled(bool))); + connect(m_kttsmgrw->pcmComboBox, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotPcmComboBox_activated())); + connect(m_kttsmgrw->akodeRadioButton, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotAkodeRadioButton_toggled(bool))); + connect(m_kttsmgrw->timeBox, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(timeBox_valueChanged(int))); + connect(m_kttsmgrw->timeSlider, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(timeSlider_valueChanged(int))); + connect(m_kttsmgrw->timeBox, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(configChanged())); + connect(m_kttsmgrw->timeSlider, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(configChanged())); + connect(m_kttsmgrw->keepAudioCheckBox, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(keepAudioCheckBox_toggled(bool))); + connect(m_kttsmgrw->keepAudioPath, TQ_SIGNAL(textChanged(const TQString&)), + this, TQ_SLOT(configChanged())); // General tab. - connect(m_kttsmgrw->enableKttsdCheckBox, TQT_SIGNAL(toggled(bool)), - TQT_SLOT(enableKttsdToggled(bool))); + connect(m_kttsmgrw->enableKttsdCheckBox, TQ_SIGNAL(toggled(bool)), + TQ_SLOT(enableKttsdToggled(bool))); // Notify tab. - connect(m_kttsmgrw->notifyEnableCheckBox, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotNotifyEnableCheckBox_toggled(bool))); - connect(m_kttsmgrw->notifyExcludeEventsWithSoundCheckBox, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(configChanged())); - connect(m_kttsmgrw->notifyAddButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotNotifyAddButton_clicked())); - connect(m_kttsmgrw->notifyRemoveButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotNotifyRemoveButton_clicked())); - connect(m_kttsmgrw->notifyClearButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotNotifyClearButton_clicked())); - connect(m_kttsmgrw->notifyLoadButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotNotifyLoadButton_clicked())); - connect(m_kttsmgrw->notifySaveButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotNotifySaveButton_clicked())); - connect(m_kttsmgrw->notifyListView, TQT_SIGNAL(selectionChanged()), - this, TQT_SLOT(slotNotifyListView_selectionChanged())); - connect(m_kttsmgrw->notifyPresentComboBox, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotNotifyPresentComboBox_activated(int))); - connect(m_kttsmgrw->notifyActionComboBox, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotNotifyActionComboBox_activated(int))); - connect(m_kttsmgrw->notifyTestButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotNotifyTestButton_clicked())); - connect(m_kttsmgrw->notifyMsgLineEdit, TQT_SIGNAL(textChanged(const TQString&)), - this, TQT_SLOT(slotNotifyMsgLineEdit_textChanged(const TQString&))); - connect(m_kttsmgrw->notifyTalkerButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotNotifyTalkerButton_clicked())); + connect(m_kttsmgrw->notifyEnableCheckBox, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotNotifyEnableCheckBox_toggled(bool))); + connect(m_kttsmgrw->notifyExcludeEventsWithSoundCheckBox, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(configChanged())); + connect(m_kttsmgrw->notifyAddButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotNotifyAddButton_clicked())); + connect(m_kttsmgrw->notifyRemoveButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotNotifyRemoveButton_clicked())); + connect(m_kttsmgrw->notifyClearButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotNotifyClearButton_clicked())); + connect(m_kttsmgrw->notifyLoadButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotNotifyLoadButton_clicked())); + connect(m_kttsmgrw->notifySaveButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotNotifySaveButton_clicked())); + connect(m_kttsmgrw->notifyListView, TQ_SIGNAL(selectionChanged()), + this, TQ_SLOT(slotNotifyListView_selectionChanged())); + connect(m_kttsmgrw->notifyPresentComboBox, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotNotifyPresentComboBox_activated(int))); + connect(m_kttsmgrw->notifyActionComboBox, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotNotifyActionComboBox_activated(int))); + connect(m_kttsmgrw->notifyTestButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotNotifyTestButton_clicked())); + connect(m_kttsmgrw->notifyMsgLineEdit, TQ_SIGNAL(textChanged(const TQString&)), + this, TQ_SLOT(slotNotifyMsgLineEdit_textChanged(const TQString&))); + connect(m_kttsmgrw->notifyTalkerButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotNotifyTalkerButton_clicked())); // Others. - connect(m_kttsmgrw, TQT_SIGNAL( configChanged() ), - this, TQT_SLOT( configChanged() ) ); - connect(m_kttsmgrw->mainTab, TQT_SIGNAL(currentChanged(TQWidget*)), - this, TQT_SLOT(slotTabChanged())); + connect(m_kttsmgrw, TQ_SIGNAL( configChanged() ), + this, TQ_SLOT( configChanged() ) ); + connect(m_kttsmgrw->mainTab, TQ_SIGNAL(currentChanged(TQWidget*)), + this, TQ_SLOT(slotTabChanged())); // Connect KTTSD DCOP signals to our slots. if (!connectDCOPSignal("kttsd", "KSpeech", @@ -1835,7 +1835,7 @@ void KCMKttsMgr::kttsdStarted() if (factory) { // Create the Job Manager part - m_jobMgrPart = (KParts::ReadOnlyPart *)factory->create( TQT_TQOBJECT(m_kttsmgrw->mainTab), "kttsjobmgr", + m_jobMgrPart = (KParts::ReadOnlyPart *)factory->create( m_kttsmgrw->mainTab, "kttsjobmgr", "KParts::ReadOnlyPart" ); if (m_jobMgrPart) { @@ -2040,9 +2040,9 @@ void KCMKttsMgr::configureTalker() m_configDlg->setMainWidget(m_loadedTalkerPlugIn); m_configDlg->setHelp("configure-plugin", "kttsd"); m_configDlg->enableButtonOK(false); - connect(m_loadedTalkerPlugIn, TQT_SIGNAL( changed(bool) ), this, TQT_SLOT( slotConfigTalkerDlg_ConfigChanged() )); - connect(m_configDlg, TQT_SIGNAL( defaultClicked() ), this, TQT_SLOT( slotConfigTalkerDlg_DefaultClicked() )); - connect(m_configDlg, TQT_SIGNAL( cancelClicked() ), this, TQT_SLOT (slotConfigTalkerDlg_CancelClicked() )); + connect(m_loadedTalkerPlugIn, TQ_SIGNAL( changed(bool) ), this, TQ_SLOT( slotConfigTalkerDlg_ConfigChanged() )); + connect(m_configDlg, TQ_SIGNAL( defaultClicked() ), this, TQ_SLOT( slotConfigTalkerDlg_DefaultClicked() )); + connect(m_configDlg, TQ_SIGNAL( cancelClicked() ), this, TQ_SLOT (slotConfigTalkerDlg_CancelClicked() )); // Create a Player object for the plugin to use for testing. int playerOption = 0; TQString sinkName; @@ -2063,7 +2063,7 @@ void KCMKttsMgr::configureTalker() } float audioStretchFactor = 1.0/(float(m_kttsmgrw->timeBox->value())/100.0); // kdDebug() << "KCMKttsMgr::configureTalker: playerOption = " << playerOption << " audioStretchFactor = " << audioStretchFactor << " sink name = " << sinkName << endl; - TestPlayer* testPlayer = new TestPlayer(TQT_TQOBJECT(this), "ktts_testplayer", + TestPlayer* testPlayer = new TestPlayer(this, "ktts_testplayer", playerOption, audioStretchFactor, sinkName); m_loadedTalkerPlugIn->setPlayer(testPlayer); // Display the dialog. @@ -2098,9 +2098,9 @@ void KCMKttsMgr::configureFilter() m_configDlg->setMainWidget(m_loadedFilterPlugIn); m_configDlg->setHelp("configure-filter", "kttsd"); m_configDlg->enableButtonOK(false); - connect(m_loadedFilterPlugIn, TQT_SIGNAL( changed(bool) ), this, TQT_SLOT( slotConfigFilterDlg_ConfigChanged() )); - connect(m_configDlg, TQT_SIGNAL( defaultClicked() ), this, TQT_SLOT( slotConfigFilterDlg_DefaultClicked() )); - connect(m_configDlg, TQT_SIGNAL( cancelClicked() ), this, TQT_SLOT (slotConfigFilterDlg_CancelClicked() )); + connect(m_loadedFilterPlugIn, TQ_SIGNAL( changed(bool) ), this, TQ_SLOT( slotConfigFilterDlg_ConfigChanged() )); + connect(m_configDlg, TQ_SIGNAL( defaultClicked() ), this, TQ_SLOT( slotConfigFilterDlg_DefaultClicked() )); + connect(m_configDlg, TQ_SIGNAL( cancelClicked() ), this, TQ_SLOT (slotConfigFilterDlg_CancelClicked() )); // Display the dialog. m_configDlg->exec(); } diff --git a/kttsd/kcmkttsmgr/kcmkttsmgr.h b/kttsd/kcmkttsmgr/kcmkttsmgr.h index ab7b818..527171f 100644 --- a/kttsd/kcmkttsmgr/kcmkttsmgr.h +++ b/kttsd/kcmkttsmgr/kcmkttsmgr.h @@ -1,4 +1,4 @@ -/***************************************************** vim:set ts=4 sw=4 sts=4: +/* KControl module for KTTSD configuration and job management ------------------- Copyright : (C) 2002-2003 by José Pablo Ezequiel "Pupeno" Fernández @@ -54,7 +54,7 @@ class KCMKttsMgr : public KSpeech_stub, virtual public KSpeechSink { - Q_OBJECT + TQ_OBJECT public: diff --git a/kttsd/kcmkttsmgr/kcmkttsmgrwidget.ui b/kttsd/kcmkttsmgr/kcmkttsmgrwidget.ui index 0a4307c..8fc6946 100644 --- a/kttsd/kcmkttsmgr/kcmkttsmgrwidget.ui +++ b/kttsd/kcmkttsmgr/kcmkttsmgrwidget.ui @@ -307,9 +307,6 @@ <property name="text"> <string>Add...</string> </property> - <property name="accel"> - <string></string> - </property> <property name="whatsThis" stdset="0"> <string>Click to add and configure a new Talker (speech synthesizer).</string> <comment>What's this text</comment> @@ -548,9 +545,6 @@ <property name="text"> <string>Add...</string> </property> - <property name="accel"> - <string></string> - </property> <property name="whatsThis" stdset="0"> <string>Click to configure notification for a specific application event.</string> </property> @@ -869,9 +863,6 @@ <property name="text"> <string>Add...</string> </property> - <property name="accel"> - <string></string> - </property> <property name="whatsThis" stdset="0"> <string>Click to add and configure a new Filter.</string> <comment>What's this text</comment> @@ -1567,9 +1558,6 @@ <property name="text"> <string>aKode</string> </property> - <property name="accel"> - <string></string> - </property> <property name="checked"> <bool>false</bool> </property> @@ -1598,9 +1586,6 @@ <property name="text"> <string>ALSA</string> </property> - <property name="accel"> - <string></string> - </property> <property name="checked"> <bool>false</bool> </property> @@ -1884,45 +1869,21 @@ <tabstop>keepAudioPath</tabstop> </tabstops> <includes> - <include location="global" impldecl="in declaration">tdelocale.h</include> <include location="global" impldecl="in implementation">tdelocale.h</include> <include location="global" impldecl="in implementation">kdebug.h</include> + <include location="global" impldecl="in implementation">tdecmodule.h</include> + <include location="global" impldecl="in implementation">tdelistview.h</include> + <include location="global" impldecl="in implementation">kpushbutton.h</include> + <include location="global" impldecl="in implementation">klineedit.h</include> + <include location="global" impldecl="in implementation">kurlrequester.h</include> + <include location="global" impldecl="in implementation">knuminput.h</include> + <include location="global" impldecl="in implementation">kcombobox.h</include> </includes> -<Q_SIGNALS> +<signals> <signal>configChanged()</signal> -</Q_SIGNALS> -<Q_SLOTS> +</signals> +<slots> <slot access="private">slotConfigChanged()</slot> -</Q_SLOTS> +</slots> <layoutdefaults spacing="6" margin="6"/> -<includehints> - <includehint>tdecmodule.h</includehint> - <includehint>tdelistview.h</includehint> - <includehint>kpushbutton.h</includehint> - <includehint>kpushbutton.h</includehint> - <includehint>kpushbutton.h</includehint> - <includehint>tdelistview.h</includehint> - <includehint>klineedit.h</includehint> - <includehint>kpushbutton.h</includehint> - <includehint>tdelistview.h</includehint> - <includehint>kpushbutton.h</includehint> - <includehint>kpushbutton.h</includehint> - <includehint>kpushbutton.h</includehint> - <includehint>tdelistview.h</includehint> - <includehint>kurlrequester.h</includehint> - <includehint>klineedit.h</includehint> - <includehint>kpushbutton.h</includehint> - <includehint>klineedit.h</includehint> - <includehint>kurlrequester.h</includehint> - <includehint>klineedit.h</includehint> - <includehint>kpushbutton.h</includehint> - <includehint>klineedit.h</includehint> - <includehint>kurlrequester.h</includehint> - <includehint>klineedit.h</includehint> - <includehint>kpushbutton.h</includehint> - <includehint>knuminput.h</includehint> - <includehint>kcombobox.h</includehint> - <includehint>kcombobox.h</includehint> - <includehint>kcombobox.h</includehint> -</includehints> </UI> diff --git a/kttsd/kcmkttsmgr/selectevent.cpp b/kttsd/kcmkttsmgr/selectevent.cpp index 46b2205..5b33fc2 100644 --- a/kttsd/kcmkttsmgr/selectevent.cpp +++ b/kttsd/kcmkttsmgr/selectevent.cpp @@ -1,4 +1,4 @@ -/***************************************************** vim:set ts=4 sw=4 sts=4: +/* Dialog to allow user to select a KNotify application and event. ------------------- Copyright: @@ -79,7 +79,7 @@ SelectEvent::SelectEvent(TQWidget* parent, const char* name, WFlags fl, const TQ } } slotEventSrcComboBox_activated(eventSrcComboBox->currentItem()); - connect (eventSrcComboBox, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotEventSrcComboBox_activated(int))); + connect (eventSrcComboBox, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotEventSrcComboBox_activated(int))); } SelectEvent::~SelectEvent() { } diff --git a/kttsd/kcmkttsmgr/selectevent.h b/kttsd/kcmkttsmgr/selectevent.h index e4100ae..29d67de 100644 --- a/kttsd/kcmkttsmgr/selectevent.h +++ b/kttsd/kcmkttsmgr/selectevent.h @@ -1,4 +1,4 @@ -/***************************************************** vim:set ts=4 sw=4 sts=4: +/* Dialog to allow user to select a KNotify application and event. ------------------- Copyright: @@ -28,7 +28,7 @@ class SelectEvent : public SelectEventWidget { - Q_OBJECT + TQ_OBJECT public: diff --git a/kttsd/kcmkttsmgr/selecteventwidget.ui b/kttsd/kcmkttsmgr/selecteventwidget.ui index 3d4281f..14df075 100644 --- a/kttsd/kcmkttsmgr/selecteventwidget.ui +++ b/kttsd/kcmkttsmgr/selecteventwidget.ui @@ -56,7 +56,7 @@ <customwidgets> </customwidgets> <layoutdefaults spacing="6" margin="11"/> -<includehints> - <includehint>tdelistview.h</includehint> -</includehints> +<includes> + <include location="global" impldecl="in implementation">tdelistview.h</include> +</includes> </UI> |