diff options
207 files changed, 1769 insertions, 1941 deletions
diff --git a/CMakeL10n.txt b/CMakeL10n.txt index 2a6b321..daf7381 100644 --- a/CMakeL10n.txt +++ b/CMakeL10n.txt @@ -9,7 +9,11 @@ # ################################################# -cmake_minimum_required( VERSION 3.1 ) + +##### set project version ######################## + +include( TDEVersion ) +cmake_minimum_required( VERSION ${TDE_CMAKE_MINIMUM_VERSION} ) ##### include our cmake modules ################# diff --git a/CMakeLists.txt b/CMakeLists.txt index b111b6d..e855b2b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,7 +7,11 @@ ############################################ -cmake_minimum_required( VERSION 3.1 ) +##### set project version ######################## + +include( TDEVersion ) +cmake_minimum_required( VERSION ${TDE_CMAKE_MINIMUM_VERSION} ) +tde_set_project_version( ) #### general package setup @@ -33,11 +37,6 @@ include( TDEMacros ) enable_testing( ) -##### set version number ######################## - -tde_set_project_version( ) - - ##### setup install paths include( TDESetupPaths ) diff --git a/admin b/admin -Subproject 9fdc22134b3f0ed3c0af126ca8b3a63ebbcaf4d +Subproject c5527c8d97c5c97320ea07d88590ff2c43c76bc diff --git a/config.h.cmake b/config.h.cmake index bfbd018..f365253 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -1,7 +1,7 @@ #define VERSION "@VERSION@" // Defined if you have fvisibility and fvisibility-inlines-hidden support. -#cmakedefine __KDE_HAVE_GCC_VISIBILITY 1 +#cmakedefine __TDE_HAVE_GCC_VISIBILITY 1 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most significant byte first (like Motorola and SPARC, unlike Intel). */ diff --git a/doc/kmouth/CMakeLists.txt b/doc/kmouth/CMakeLists.txt index a0770d4..db17dfc 100644 --- a/doc/kmouth/CMakeLists.txt +++ b/doc/kmouth/CMakeLists.txt @@ -1,6 +1,6 @@ -FILE( GLOB EPS_FILES *.eps) +file( GLOB EPS_FILES *.eps) -INSTALL( +install( FILES ${EPS_FILES} DESTINATION ${HTML_INSTALL_DIR}/en/kmouth ) diff --git a/doc/man/kmag/CMakeLists.txt b/doc/man/kmag/CMakeLists.txt index 1c1513b..8c156c4 100644 --- a/doc/man/kmag/CMakeLists.txt +++ b/doc/man/kmag/CMakeLists.txt @@ -1,4 +1,4 @@ -INSTALL( +install( FILES kmag.1 DESTINATION ${MAN_INSTALL_DIR}/man1 COMPONENT doc diff --git a/doc/man/kmousetool/CMakeLists.txt b/doc/man/kmousetool/CMakeLists.txt index f68b664..355035d 100644 --- a/doc/man/kmousetool/CMakeLists.txt +++ b/doc/man/kmousetool/CMakeLists.txt @@ -1,4 +1,4 @@ -INSTALL( +install( FILES kmousetool.1 DESTINATION ${MAN_INSTALL_DIR}/man1 COMPONENT doc diff --git a/doc/man/kmouth/CMakeLists.txt b/doc/man/kmouth/CMakeLists.txt index 5bed04f..1785a0a 100644 --- a/doc/man/kmouth/CMakeLists.txt +++ b/doc/man/kmouth/CMakeLists.txt @@ -1,4 +1,4 @@ -INSTALL( +install( FILES kmouth.1 DESTINATION ${MAN_INSTALL_DIR}/man1 COMPONENT doc diff --git a/doc/man/ksayit/CMakeLists.txt b/doc/man/ksayit/CMakeLists.txt index 942349d..28474bc 100644 --- a/doc/man/ksayit/CMakeLists.txt +++ b/doc/man/ksayit/CMakeLists.txt @@ -1,4 +1,4 @@ -INSTALL( +install( FILES ksayit.1 DESTINATION ${MAN_INSTALL_DIR}/man1 COMPONENT doc diff --git a/doc/man/kttsd/CMakeLists.txt b/doc/man/kttsd/CMakeLists.txt index ae891e0..39d1d23 100644 --- a/doc/man/kttsd/CMakeLists.txt +++ b/doc/man/kttsd/CMakeLists.txt @@ -1,4 +1,4 @@ -INSTALL( +install( FILES kttsd.1 kttsmgr.1 DESTINATION ${MAN_INSTALL_DIR}/man1 COMPONENT doc diff --git a/kbstateapplet/kbstate.cpp b/kbstateapplet/kbstate.cpp index e0bf552..5cd7e38 100644 --- a/kbstateapplet/kbstate.cpp +++ b/kbstateapplet/kbstate.cpp @@ -34,7 +34,7 @@ #include <knotifyclient.h> #include <tdeshortcut.h> #include <kkeynative.h> -#include <kdemacros.h> +#include <tdemacros.h> #include <kprocess.h> #include "kdeexportfix.h" #include "kbstate.h" @@ -50,7 +50,7 @@ extern "C" #include <X11/keysymdef.h> #include <X11/extensions/XKB.h> - KDE_EXPORT KPanelApplet* init(TQWidget *parent, const TQString& configFile) + TDE_EXPORT KPanelApplet* init(TQWidget *parent, const TQString& configFile) { TDEGlobal::locale()->insertCatalogue("kbstateapplet"); KbStateApplet *applet = new KbStateApplet(configFile, KPanelApplet::Normal, KPanelApplet::About, parent, "kbstateapplet"); @@ -113,7 +113,7 @@ KbStateApplet::KbStateApplet(const TQString& configFile, Type t, int actions, accessxFeatures = 0; //startTimer(100); // ten times a second - connect(kapp, TQT_SIGNAL(tdedisplayPaletteChanged()), TQT_SLOT(paletteChanged())); + connect(kapp, TQ_SIGNAL(tdedisplayPaletteChanged()), TQ_SLOT(paletteChanged())); kapp->installX11EventFilter (this); int opcode_rtn, error_rtn; @@ -139,27 +139,27 @@ void KbStateApplet::buildPopupMenu() sizePopup->insertItem(i18n("Small"), 13); sizePopup->insertItem(i18n("Medium"), 20); sizePopup->insertItem(i18n("Large"), 26); - connect(sizePopup,TQT_SIGNAL(activated(int)), this, TQT_SLOT(setIconDim(int))); + connect(sizePopup,TQ_SIGNAL(activated(int)), this, TQ_SLOT(setIconDim(int))); showPopup=new TDEPopupMenu(this); showPopup->setCheckable( true ); - modifierItem=showPopup->insertItem(i18n("Modifier Keys"), this, TQT_SLOT(toggleModifier())); - lockkeysItem=showPopup->insertItem(i18n("Lock Keys"), this, TQT_SLOT(toggleLockkeys())); - mouseItem=showPopup->insertItem(i18n("Mouse Status"), this, TQT_SLOT(toggleMouse())); - accessxItem=showPopup->insertItem(i18n("AccessX Status"), this, TQT_SLOT(toggleAccessX())); + modifierItem=showPopup->insertItem(i18n("Modifier Keys"), this, TQ_SLOT(toggleModifier())); + lockkeysItem=showPopup->insertItem(i18n("Lock Keys"), this, TQ_SLOT(toggleLockkeys())); + mouseItem=showPopup->insertItem(i18n("Mouse Status"), this, TQ_SLOT(toggleMouse())); + accessxItem=showPopup->insertItem(i18n("AccessX Status"), this, TQ_SLOT(toggleAccessX())); popup = new TDEPopupMenu(this); popup->setCheckable( true ); popup->insertTitle(0, i18n("Keyboard Status Applet")); popup->insertItem(i18n("Set Icon Size"),sizePopup); fillSpaceItem = popup->insertItem(i18n("Fill Available Space"), - this, TQT_SLOT(toggleFillSpace())); + this, TQ_SLOT(toggleFillSpace())); popup->insertItem(i18n("Show"),showPopup); - popup->insertItem(i18n("Configure AccessX Features..."), this, TQT_SLOT(configureAccessX())); - popup->insertItem(i18n("Configure Keyboard..."), this, TQT_SLOT(configureKeyboard())); - popup->insertItem(i18n("Configure Mouse..."), this, TQT_SLOT(configureMouse())); + popup->insertItem(i18n("Configure AccessX Features..."), this, TQ_SLOT(configureAccessX())); + popup->insertItem(i18n("Configure Keyboard..."), this, TQ_SLOT(configureKeyboard())); + popup->insertItem(i18n("Configure Mouse..."), this, TQ_SLOT(configureMouse())); popup->insertSeparator(); - popup->insertItem(i18n("About"), this, TQT_SLOT(about())); + popup->insertItem(i18n("About"), this, TQ_SLOT(about())); setCustomMenu(popup); updateMenu(); } @@ -264,7 +264,7 @@ int KbStateApplet::heightForWidth(int w) const { } void KbStateApplet::mousePressEvent(TQMouseEvent *e) { - if (e->button() == Qt::RightButton) + if (e->button() == TQt::RightButton) popup->popup(e->globalPos()); } @@ -308,7 +308,7 @@ void KbStateApplet::layout() { accessxCount++; } - if (orientation() ==Qt::Vertical) { + if (orientation() ==TQt::Vertical) { calculateSizes (width(), modifierCount, lockkeyCount, accessxCount, showMouse, lines, length, size); @@ -547,8 +547,8 @@ void KbStateApplet::initMasks() { if ((map <= 7) && !(icons[map])) { icons[map] = new KeyIcon (i, instance, this, modifierKeys[i].name); TQToolTip::add (icons[map], i18n (modifierKeys[i].name)); - connect (icons[map], TQT_SIGNAL(stateChangeRequest (KeyIcon*,bool,bool)), - TQT_SLOT(stateChangeRequest (KeyIcon*,bool,bool))); + connect (icons[map], TQ_SIGNAL(stateChangeRequest (KeyIcon*,bool,bool)), + TQ_SLOT(stateChangeRequest (KeyIcon*,bool,bool))); if (modifierKeys[i].isModifier) modifiers.append(icons[map]); else @@ -755,7 +755,7 @@ KeyIcon::KeyIcon (int keyId, TDEInstance *instance, isLocked = false; isLatched = false; updateImages (); - connect (this, TQT_SIGNAL(clicked()), TQT_SLOT(clickedSlot())); + connect (this, TQ_SIGNAL(clicked()), TQ_SLOT(clickedSlot())); } KeyIcon::~KeyIcon () { @@ -862,7 +862,7 @@ MouseIcon::MouseIcon (TDEInstance *instance, TQWidget *parent, const char *name) state = 0; activekey = 0; updateImages (); - connect (this, TQT_SIGNAL(clicked()), TQT_SLOT(clickedSlot())); + connect (this, TQ_SIGNAL(clicked()), TQ_SLOT(clickedSlot())); } MouseIcon::~MouseIcon () { @@ -964,7 +964,7 @@ TimeoutIcon::TimeoutIcon (TDEInstance *instance, const TQString &text, this->featurename = featurename; glyth = " "; setImage (featurename); - connect (&timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(timeout())); + connect (&timer, TQ_SIGNAL(timeout()), this, TQ_SLOT(timeout())); } TimeoutIcon::~TimeoutIcon () { diff --git a/kbstateapplet/kbstate.h b/kbstateapplet/kbstate.h index da09d48..854d61c 100644 --- a/kbstateapplet/kbstate.h +++ b/kbstateapplet/kbstate.h @@ -34,7 +34,7 @@ class TQGridLayout; class TDEPopupMenu; class StatusIcon : public TQPushButton { - Q_OBJECT + TQ_OBJECT public: StatusIcon (const TQString &text, TQWidget *parent, const char *name=0); @@ -45,7 +45,7 @@ public: typedef TQPtrList<StatusIcon> IconList; class TimeoutIcon : public StatusIcon { - Q_OBJECT + TQ_OBJECT public: TimeoutIcon (TDEInstance *instance, const TQString &text, @@ -73,7 +73,7 @@ private slots: }; class KeyIcon : public StatusIcon { - Q_OBJECT + TQ_OBJECT public: KeyIcon (int keyId, TDEInstance *instance, @@ -104,7 +104,7 @@ private: }; class MouseIcon : public StatusIcon { - Q_OBJECT + TQ_OBJECT public: MouseIcon (TDEInstance *instance, TQWidget *parent, const char *name=0); @@ -133,7 +133,7 @@ class MouseIcon : public StatusIcon { }; class KbStateApplet : public KPanelApplet { - Q_OBJECT + TQ_OBJECT public: diff --git a/kbstateapplet/kdeexportfix.h b/kbstateapplet/kdeexportfix.h index 958dd20..8ec6f7b 100644 --- a/kbstateapplet/kdeexportfix.h +++ b/kbstateapplet/kdeexportfix.h @@ -1,5 +1,5 @@ /* - tdelibs < 3.3.2 had a bug in the KDE_EXPORT macro. This file fixes this + tdelibs < 3.3.2 had a bug in the TDE_EXPORT macro. This file fixes this by undefining it. ------------------- Copyright : (C) 2005 by Gary Cramblitt <garycramblitt@comcast.net> @@ -17,6 +17,6 @@ #include <tdeversion.h> #if TDE_VERSION < TDE_MAKE_VERSION (3,3,2) -#undef KDE_EXPORT -#define KDE_EXPORT +#undef TDE_EXPORT +#define TDE_EXPORT #endif diff --git a/kmag/kmag.cpp b/kmag/kmag.cpp index 5195678..bf09401 100644 --- a/kmag/kmag.cpp +++ b/kmag/kmag.cpp @@ -31,12 +31,7 @@ #include <tdeversion.h> // include files for KDE -#if TDE_VERSION > 300 #include <tdeapplication.h> -#else -#include <kapp.h> -#endif // KDE 3.x - #include <kkeydialog.h> #include <kinputdialog.h> #include <kiconloader.h> @@ -126,92 +121,92 @@ KmagApp::~KmagApp() void KmagApp::initActions() { - fileNewWindow = new TDEAction(i18n("New &Window"), "window-new", TDEStdAccel::openNew(), TQT_TQOBJECT(this), - TQT_SLOT(slotFileNewWindow()), actionCollection(),"new_window"); + fileNewWindow = new TDEAction(i18n("New &Window"), "window-new", TDEStdAccel::openNew(), this, + TQ_SLOT(slotFileNewWindow()), actionCollection(),"new_window"); fileNewWindow->setToolTip(i18n("Open a new KMagnifier window")); - refreshSwitch = new TDEAction(i18n("&Stop"), "process-stop", TDEStdAccel::reload(), TQT_TQOBJECT(this), - TQT_SLOT(slotToggleRefresh()), actionCollection(), "start_stop_refresh"); + refreshSwitch = new TDEAction(i18n("&Stop"), "process-stop", TDEStdAccel::reload(), this, + TQ_SLOT(slotToggleRefresh()), actionCollection(), "start_stop_refresh"); refreshSwitch->setToolTip(i18n("Click to stop window refresh")); refreshSwitch->setWhatsThis(i18n("Clicking on this icon will <b>start</b> / <b>stop</b>\ updating of the display. Stopping the update will zero the processing power\ required (CPU usage)")); - m_pSnapshot = new TDEAction(i18n("&Save Snapshot As..."), "ksnapshot", TDEStdAccel::save(), TQT_TQOBJECT(this), - TQT_SLOT(saveZoomPixmap()), actionCollection(),"snapshot"); + m_pSnapshot = new TDEAction(i18n("&Save Snapshot As..."), "ksnapshot", TDEStdAccel::save(), this, + TQ_SLOT(saveZoomPixmap()), actionCollection(),"snapshot"); m_pSnapshot->setWhatsThis(i18n("Saves the zoomed view to an image file.")); m_pSnapshot->setToolTip(i18n("Save image to a file")); - m_pPrint = KStdAction::print(TQT_TQOBJECT(this), TQT_SLOT(slotFilePrint()), actionCollection(), "print"); + m_pPrint = KStdAction::print(this, TQ_SLOT(slotFilePrint()), actionCollection(), "print"); m_pPrint->setWhatsThis(i18n("Click on this button to print the current zoomed view.")); - m_pQuit = KStdAction::quit(TQT_TQOBJECT(this), TQT_SLOT(slotFileQuit()), actionCollection(), "quit"); + m_pQuit = KStdAction::quit(this, TQ_SLOT(slotFileQuit()), actionCollection(), "quit"); m_pQuit->setStatusText(i18n("Quits the application")); m_pQuit->setWhatsThis (i18n("Quits the application")); - m_pCopy = KStdAction::copy(TQT_TQOBJECT(this), TQT_SLOT(copyToClipBoard()), actionCollection(), "copy"); + m_pCopy = KStdAction::copy(this, TQ_SLOT(copyToClipBoard()), actionCollection(), "copy"); m_pCopy->setWhatsThis(i18n("Click on this button to copy the current zoomed view to the clipboard which you can paste in other applications.")); m_pCopy->setToolTip(i18n("Copy zoomed image to clipboard")); - m_pShowMenu = new TDEToggleAction(i18n("Show &Menu"), "showmenu", CTRL+Key_M, TQT_TQOBJECT(this), - TQT_SLOT(slotShowMenu()), actionCollection(),"show_menu"); + m_pShowMenu = new TDEToggleAction(i18n("Show &Menu"), "showmenu", CTRL+Key_M, this, + TQ_SLOT(slotShowMenu()), actionCollection(),"show_menu"); #ifdef havesetCheckedState m_pShowMenu->setCheckedState(i18n("Hide &Menu")); #endif - m_pShowMainToolBar = new TDEToggleAction(i18n("Show Main &Toolbar"), 0, 0, TQT_TQOBJECT(this), - TQT_SLOT(slotShowMainToolBar()), actionCollection(),"show_mainToolBar"); + m_pShowMainToolBar = new TDEToggleAction(i18n("Show Main &Toolbar"), 0, 0, this, + TQ_SLOT(slotShowMainToolBar()), actionCollection(),"show_mainToolBar"); #ifdef havesetCheckedState m_pShowMainToolBar->setCheckedState(i18n("Hide Main &Toolbar")); #endif - m_pShowViewToolBar = new TDEToggleAction(i18n("Show &View Toolbar"), 0, 0, TQT_TQOBJECT(this), - TQT_SLOT(slotShowViewToolBar()), actionCollection(),"show_viewToolBar"); + m_pShowViewToolBar = new TDEToggleAction(i18n("Show &View Toolbar"), 0, 0, this, + TQ_SLOT(slotShowViewToolBar()), actionCollection(),"show_viewToolBar"); #ifdef havesetCheckedState m_pShowViewToolBar->setCheckedState(i18n("Hide &View Toolbar")); #endif - m_pShowSettingsToolBar = new TDEToggleAction(i18n("Show &Settings Toolbar"), 0, 0, TQT_TQOBJECT(this), - TQT_SLOT(slotShowSettingsToolBar()), actionCollection(),"show_settingsToolBar"); + m_pShowSettingsToolBar = new TDEToggleAction(i18n("Show &Settings Toolbar"), 0, 0, this, + TQ_SLOT(slotShowSettingsToolBar()), actionCollection(),"show_settingsToolBar"); #ifdef havesetCheckedState m_pShowSettingsToolBar->setCheckedState(i18n("Hide &Settings Toolbar")); #endif - m_modeFollowMouse = new TDERadioAction(i18n("&Follow Mouse Mode"), "followmouse", Key_F1, TQT_TQOBJECT(this), - TQT_SLOT(slotModeFollowMouse()), actionCollection(), "mode_followmouse"); + m_modeFollowMouse = new TDERadioAction(i18n("&Follow Mouse Mode"), "followmouse", Key_F1, this, + TQ_SLOT(slotModeFollowMouse()), actionCollection(), "mode_followmouse"); m_modeFollowMouse->setToolTip(i18n("Magnify mouse area into window")); m_modeFollowMouse->setWhatsThis(i18n("In this mode the area around the mouse cursor is shown in a normal window.")); - m_modeSelWin = new TDERadioAction(i18n("S&election Window Mode"), "window", Key_F2, TQT_TQOBJECT(this), - TQT_SLOT(slotModeSelWin()), actionCollection(), "mode_selectionwindow"); + m_modeSelWin = new TDERadioAction(i18n("S&election Window Mode"), "window", Key_F2, this, + TQ_SLOT(slotModeSelWin()), actionCollection(), "mode_selectionwindow"); m_modeSelWin->setToolTip(i18n("Magnify selected area into window")); m_modeSelWin->setWhatsThis(i18n("In this mode a selection window is opened. The selected area is shown in a normal window.")); - m_modeEdgeTop = new TDERadioAction(i18n("&Top Screen Edge Mode"), 0, 0, TQT_TQOBJECT(this), - TQT_SLOT(slotModeEdgeTop()), actionCollection(),"mode_edgetop"); + m_modeEdgeTop = new TDERadioAction(i18n("&Top Screen Edge Mode"), 0, 0, this, + TQ_SLOT(slotModeEdgeTop()), actionCollection(),"mode_edgetop"); m_modeEdgeTop->setToolTip(i18n("Magnify mouse area to top screen edge")); m_modeEdgeTop->setWhatsThis(i18n("In this mode the area around the mouse is magnified to the top screen edge.")); - m_modeEdgeLeft = new TDERadioAction(i18n("&Left Screen Edge Mode"), 0, 0, TQT_TQOBJECT(this), - TQT_SLOT(slotModeEdgeLeft()), actionCollection(),"mode_edgeleft"); + m_modeEdgeLeft = new TDERadioAction(i18n("&Left Screen Edge Mode"), 0, 0, this, + TQ_SLOT(slotModeEdgeLeft()), actionCollection(),"mode_edgeleft"); m_modeEdgeLeft->setToolTip(i18n("Magnify mouse area to left screen edge")); m_modeEdgeLeft->setWhatsThis(i18n("In this mode the area around the mouse is magnified to the left screen edge.")); - m_modeEdgeRight = new TDERadioAction(i18n("&Right Screen Edge Mode"), 0, 0, TQT_TQOBJECT(this), - TQT_SLOT(slotModeEdgeRight()), actionCollection(),"mode_edgeright"); + m_modeEdgeRight = new TDERadioAction(i18n("&Right Screen Edge Mode"), 0, 0, this, + TQ_SLOT(slotModeEdgeRight()), actionCollection(),"mode_edgeright"); m_modeEdgeRight->setToolTip(i18n("Magnify mouse area to right screen edge")); m_modeEdgeRight->setWhatsThis(i18n("In this mode the area around the mouse is magnified to the right screen edge.")); - m_modeEdgeBottom = new TDERadioAction(i18n("&Bottom Screen Edge Mode"), 0, 0, TQT_TQOBJECT(this), - TQT_SLOT(slotModeEdgeBottom()), actionCollection(),"mode_edgebottom"); + m_modeEdgeBottom = new TDERadioAction(i18n("&Bottom Screen Edge Mode"), 0, 0, this, + TQ_SLOT(slotModeEdgeBottom()), actionCollection(),"mode_edgebottom"); m_modeEdgeBottom->setToolTip(i18n("Magnify mouse area to bottom screen edge")); m_modeEdgeBottom->setWhatsThis(i18n("In this mode the area around the mouse is magnified to the bottom screen edge.")); - m_hideCursor = new TDEToggleAction(i18n("Hide Mouse &Cursor"), "hidemouse", Key_F4, TQT_TQOBJECT(this), - TQT_SLOT(slotToggleHideCursor()), actionCollection(), "hidecursor"); + m_hideCursor = new TDEToggleAction(i18n("Hide Mouse &Cursor"), "hidemouse", Key_F4, this, + TQ_SLOT(slotToggleHideCursor()), actionCollection(), "hidecursor"); #ifdef havesetCheckedState m_hideCursor->setCheckedState(i18n("Show Mouse &Cursor")); #endif m_hideCursor->setToolTip(i18n("Hide the mouse cursor")); - m_pZoomIn = KStdAction::zoomIn(TQT_TQOBJECT(this), TQT_SLOT(zoomIn()), actionCollection(), "zoom_in"); + m_pZoomIn = KStdAction::zoomIn(this, TQ_SLOT(zoomIn()), actionCollection(), "zoom_in"); m_pZoomIn->setWhatsThis(i18n("Click on this button to <b>zoom-in</b> on the selected region.")); m_pZoomBox = new TDESelectAction(i18n("&Zoom"),0,actionCollection(),"zoom"); @@ -219,11 +214,11 @@ void KmagApp::initActions() m_pZoomBox->setWhatsThis(i18n("Select the zoom factor.")); m_pZoomBox->setToolTip(i18n("Zoom factor")); - m_pZoomOut = KStdAction::zoomOut(TQT_TQOBJECT(this), TQT_SLOT(zoomOut()), actionCollection(), "zoom_out"); + m_pZoomOut = KStdAction::zoomOut(this, TQ_SLOT(zoomOut()), actionCollection(), "zoom_out"); m_pZoomOut->setWhatsThis(i18n("Click on this button to <b>zoom-out</b> on the selected region.")); - m_pInvert = new TDEToggleAction(i18n("&Invert Colors"), 0, Key_F6, TQT_TQOBJECT(this), - TQT_SLOT(slotToggleInvert()), actionCollection(), "invert"); + m_pInvert = new TDEToggleAction(i18n("&Invert Colors"), 0, Key_F6, this, + TQ_SLOT(slotToggleInvert()), actionCollection(), "invert"); m_pRotationBox = new TDESelectAction(i18n("&Rotation"),0,actionCollection(),"rotation"); m_pRotationBox->setItems(rotationArrayString); @@ -232,8 +227,8 @@ void KmagApp::initActions() // KHelpMenu *newHelpMenu = new KHelpMenu(this, TDEGlobal::instance()->aboutData()); - m_keyConf = KStdAction::keyBindings( TQT_TQOBJECT(this), TQT_SLOT( slotConfKeys() ), actionCollection(), "key_conf"); - m_toolConf = KStdAction::configureToolbars( TQT_TQOBJECT(this), TQT_SLOT( slotEditToolbars() ), + m_keyConf = KStdAction::keyBindings( this, TQ_SLOT( slotConfKeys() ), actionCollection(), "key_conf"); + m_toolConf = KStdAction::configureToolbars( this, TQ_SLOT( slotEditToolbars() ), actionCollection(), "toolbar_conf"); m_pFPSBox = new TDESelectAction(i18n("Re&fresh"),0,actionCollection(),"fps_selector"); @@ -260,21 +255,21 @@ void KmagApp::initView() void KmagApp::initConnections() { // change in zoom value -> update the view - connect(this, TQT_SIGNAL(updateZoomValue(float)), m_zoomView, TQT_SLOT(setZoom(float))); - connect(this, TQT_SIGNAL(updateRotationValue(int)), m_zoomView, TQT_SLOT(setRotation(int))); - connect(this, TQT_SIGNAL(updateFPSValue(float)), m_zoomView, TQT_SLOT(setRefreshRate(float))); + connect(this, TQ_SIGNAL(updateZoomValue(float)), m_zoomView, TQ_SLOT(setZoom(float))); + connect(this, TQ_SIGNAL(updateRotationValue(int)), m_zoomView, TQ_SLOT(setRotation(int))); + connect(this, TQ_SIGNAL(updateFPSValue(float)), m_zoomView, TQ_SLOT(setRefreshRate(float))); // change in zoom index -> update the selector - connect(this, TQT_SIGNAL(updateZoomIndex(int)), m_pZoomBox, TQT_SLOT(setCurrentItem(int))); - connect(this, TQT_SIGNAL(updateRotationIndex(int)), m_pRotationBox, TQT_SLOT(setCurrentItem(int))); - connect(this, TQT_SIGNAL(updateFPSIndex(int)), m_pFPSBox, TQT_SLOT(setCurrentItem(int))); + connect(this, TQ_SIGNAL(updateZoomIndex(int)), m_pZoomBox, TQ_SLOT(setCurrentItem(int))); + connect(this, TQ_SIGNAL(updateRotationIndex(int)), m_pRotationBox, TQ_SLOT(setCurrentItem(int))); + connect(this, TQ_SIGNAL(updateFPSIndex(int)), m_pFPSBox, TQ_SLOT(setCurrentItem(int))); // selector selects a zoom index -> set the zoom index - connect(m_pZoomBox, TQT_SIGNAL(activated(int)), TQT_TQOBJECT(this), TQT_SLOT(setZoomIndex(int))); - connect(m_pRotationBox, TQT_SIGNAL(activated(int)), TQT_TQOBJECT(this), TQT_SLOT(setRotationIndex(int))); - connect(m_pFPSBox, TQT_SIGNAL(activated(int)), TQT_TQOBJECT(this), TQT_SLOT(setFPSIndex(int))); + connect(m_pZoomBox, TQ_SIGNAL(activated(int)), this, TQ_SLOT(setZoomIndex(int))); + connect(m_pRotationBox, TQ_SIGNAL(activated(int)), this, TQ_SLOT(setRotationIndex(int))); + connect(m_pFPSBox, TQ_SIGNAL(activated(int)), this, TQ_SLOT(setFPSIndex(int))); - connect(m_zoomView, TQT_SIGNAL(contextMenu(TQPoint)), TQT_TQOBJECT(this), TQT_SLOT(contextMenu(TQPoint))); + connect(m_zoomView, TQ_SIGNAL(contextMenu(TQPoint)), this, TQ_SLOT(contextMenu(TQPoint))); } /** @@ -419,7 +414,7 @@ bool KmagApp::queryExit() ///////////////////////////////////////////////////////////////////// -// TQT_SLOT IMPLEMENTATION +// SLOT IMPLEMENTATION ///////////////////////////////////////////////////////////////////// /** @@ -935,7 +930,7 @@ void KmagApp::slotEditToolbars() { saveMainWindowSettings( TDEGlobal::config(), "MainWindow" ); KEditToolbar dlg( actionCollection() ); - connect( &dlg, TQT_SIGNAL( newToolbarConfig() ), TQT_TQOBJECT(this), TQT_SLOT( slotNewToolbarConfig() ) ); + connect( &dlg, TQ_SIGNAL( newToolbarConfig() ), this, TQ_SLOT( slotNewToolbarConfig() ) ); if ( dlg.exec() ) createGUI(); } diff --git a/kmag/kmag.h b/kmag/kmag.h index c60b86c..e3288aa 100644 --- a/kmag/kmag.h +++ b/kmag/kmag.h @@ -55,7 +55,7 @@ */ class KmagApp : public TDEMainWindow { - Q_OBJECT + TQ_OBJECT public: diff --git a/kmag/kmag.kdevprj b/kmag/kmag.kdevprj deleted file mode 100644 index a02efd9..0000000 --- a/kmag/kmag.kdevprj +++ /dev/null @@ -1,230 +0,0 @@ -[AUTHORS] -dist=true -install=true -install_location=/usr/share/doc/kmag -type=DATA - -[COPYING] -dist=true -install=true -install_location=/usr/share/doc/kmag -type=DATA - -[ChangeLog] -dist=true -install=true -install_location=/usr/share/doc/kmag -type=DATA - -[Config for BinMakefileAm] -addcxxflags= -bin_program=kmag -cflags= -cppflags= -cxxflags=\s-O3 -ldadd=-ltdeprint $(LIB_TDEUI) $(LIB_TDECORE) $(LIB_TQT) -ldflags=\s \s - -[General] -AMChanged=false -author=Sarang Lakare -configure_args=--prefix=/usr\s -email=sarang@users.sourceforge.net -kdevprj_version=1.3 -lfv_open_groups=GNU,Headers,Others,Sources,User Interface -make_options=\s-j1 -makefiles=Makefile.am,kmag/Makefile.am,doc/Makefile.am,doc/en/Makefile.am,po/Makefile.am,doc/en/images/Makefile.am -modifyMakefiles=true -project_name=Kmag -project_type=normal_kde2 -sgml_file= -short_info= -sub_dir=kmag/ -version=0.8 -version_control=CVS -workspace=1 - -[INSTALL] -dist=true -install=false -install_location=/usr/share/doc/kmag -type=DATA - -[KPP] -kpp_appgrp=Multimedia -kpp_bldroot=/usr/ -kpp_icon=0 -kpp_license=5 -kpp_summary=Magnifies a part of the screen! -kpp_url=http://kmag.sourceforge.net -kpp_version=0.6 - -[LFV Groups] -GNU=AUTHORS,COPYING,ChangeLog,INSTALL,README,TODO,NEWS -Headers=*.h,*.hh,*.hxx,*.hpp,*.H -Others=* -Sources=*.cpp,*.c,*.cc,*.C,*.cxx,*.ec,*.ecpp,*.lxx,*.l++,*.ll,*.l -Translations=*.po -User Interface=*.kdevdlg,*.ui,*.rc -groups=Headers,Sources,User Interface,Translations,GNU,Others - -[Makefile.am] -files=kmag.kdevprj,AUTHORS,COPYING,ChangeLog,INSTALL,README,TODO,kmag.lsm,kmag.spec,install-user,install-root -sub_dirs=kmag,po,doc -type=normal - -[README] -dist=true -install=false -install_location=/usr/share/doc/kmag -type=DATA - -[TODO] -dist=true -install=false -install_location= -type=DATA - -[Workspace_1] -browser_file= -cpp_file= -header_file= -openfiles= -show_outputview=true -show_treeview=true - -[doc/Makefile.am] -sub_dirs=en -type=normal - -[doc/en/Makefile.am] -files=doc/en/index.docbook -sub_dirs=images -type=normal - -[doc/en/images/Makefile.am] -files=doc/en/images/screenshot.png -sub_dirs= -type=normal - -[doc/en/images/screenshot.png] -dist=true -install=true -install_location=$$(kde_htmldir)/en/kmag/images/screenshot.png -type=DATA - -[doc/en/index.docbook] -dist=true -install=true -install_location=$$(kde_htmldir)/en/kmag/index.docbook -type=DATA - -[install-root] -dist=true -install=false -install_location= -type=DATA - -[install-user] -dist=true -install=false -install_location= -type=DATA - -[kmag.kdevprj] -dist=true -install=false -install_location= -type=DATA - -[kmag.lsm] -dist=true -install=false -install_location= -type=DATA - -[kmag.spec] -dist=true -install=false -install_location= -type=DATA - -[kmag/Makefile.am] -files=kmag/main.cpp,kmag/kmag.cpp,kmag/kmag.h,kmag/kmagui.rc,kmag/kmag.desktop,kmag/lo32-app-kmag.png,kmag/lo16-app-kmag.png,kmag/kmagselrect.cpp,kmag/kmagselrect.h,kmag/hi16-app-kmag.png,kmag/kmagzoomview.cpp,kmag/kmagzoomview.h -type=prog_main - -[kmag/hi16-app-kmag.png] -dist=true -install=true -install_location=$$(kde_icondir)/hicolor/16x16/apps/kmag.png -type=DATA - -[kmag/kmag.cpp] -dist=true -install=false -install_location= -type=SOURCE - -[kmag/kmag.desktop] -dist=true -install=true -install_location=$$(kde_appsdir)/Applications/Accessibility/kmag.desktop -type=DATA - -[kmag/kmag.h] -dist=true -install=false -install_location= -type=HEADER - -[kmag/kmagselrect.cpp] -dist=true -install=false -install_location= -type=SOURCE - -[kmag/kmagselrect.h] -dist=true -install=false -install_location= -type=HEADER - -[kmag/kmagui.rc] -dist=true -install=false -install_location= -type=DATA - -[kmag/kmagzoomview.cpp] -dist=true -install=false -install_location= -type=SOURCE - -[kmag/kmagzoomview.h] -dist=true -install=false -install_location= -type=HEADER - -[kmag/lo16-app-kmag.png] -dist=true -install=true -install_location=$$(kde_icondir)/locolor/16x16/apps/kmag.png -type=DATA - -[kmag/lo32-app-kmag.png] -dist=true -install=true -install_location=$$(kde_icondir)/locolor/32x32/apps/kmag.png -type=DATA - -[kmag/main.cpp] -dist=true -install=false -install_location= -type=SOURCE - -[po/Makefile.am] -sub_dirs= -type=po diff --git a/kmag/kmag.mdk.spec b/kmag/kmag.mdk.spec deleted file mode 100644 index 1ce7761..0000000 --- a/kmag/kmag.mdk.spec +++ /dev/null @@ -1,108 +0,0 @@ -%define name kmag -%define version 0.8 -%define release 1 - -Name: %{name} -Version: %{version} -Release: %{release} -Summary: KDE Screen Magnifier -Group: Graphical desktop/KDE -License: GPL -Source: %{name}-%{version}.tar.gz -URL: http://kmag.sourceforge.net -Packager: Sarang Lakare <sarang@users.sf.net> -Buildroot: %_tmppath/%{name}-%{version}-buildroot -BuildRequires: gcc-cpp db3 readline pam popt libtermcap2 zlib1 XFree86-devel XFree86-libs Mesa-common -BuildRequires: automake arts autoconf diffutils tdelibs file -BuildRequires: m4 texinfo gettext libjpeg62-devel tdelibs-devel gcc-c++ libbinutils2 libbzip2_1 -BuildRequires: db1 freetype2 libjpeg62 libmng1 libpng libtqt2 libtqt2-devel rpm-build - - -%description -KMagnifier is a screen magnifier for KDE. It is useful for -people with bad sight or others needing to magnify a part of the screen. - -%prep -rm -rf $RPM_BUILD_ROOT - -%setup -n %{name}-%{version} - -%build -CFLAGS="%optflags" CXXFLAGS="%optflags" \ - ./configure --prefix=%_prefix \ - --disable-rpath \ - --disable-debug - -%make - -%install -make DESTDIR=%buildroot install - -install -d $RPM_BUILD_ROOT%_menudir - -kdedesktop2mdkmenu.pl kmag "Applications/Accessibility" %buildroot/%_datadir/applnk/Applications/Accessibility/kmag.desktop %buildroot/%_menudir/kmag - - -%clean -rm -rf $RPM_BUILD_ROOT - -%post -%update_menus - -%postun -%clean_menus - -%files -%defattr(-,root,root) -%_bindir/* -%_menudir/* -# -%_datadir/icons/locolor/16x16/apps/*.png -%_datadir/icons/locolor/32x32/apps/*.png -%_datadir/icons/hicolor/16x16/apps/*.png -# -%_datadir/applnk/Applications/Accessibility/*.desktop -# -%dir %_datadir/apps/kmag/ -%_datadir/apps/kmag/*.rc -# -#%doc README COPYING AUTHORS -#%doc %_docdir/HTML/en/*.docbook -%doc %_docdir/HTML/en/kmag/*.docbook -%doc %_docdir/HTML/en/kmag/images/*.png -#%doc %_docdir/HTML/en/kmag/common - -%changelog -* Sun Apr 21 2002 Sarang Lakare <sarang@users.sf.net> 0.8-1mdk -- Rebuilding ver 0.8 for LM8.2/LM8.1 -- Added KDE documentation and removed GNU documentation - -* Tue Nov 20 2001 Sarang Lakare <sarang@users.sf.net> 0.6-1mdk -- Rebuilding ver 0.6 for LM8.0 - -* Sat Oct 20 2001 Laurent MONTEL <lmontel@mandrakesoft.com> 0.5-2mdk -- Rebuild against libpng3 - -* Wed Sep 19 2001 Laurent MONTEL <lmontel@mandrakesoft.com> 0.5-1mdk -- update code (0.5) - -* Wed Aug 08 2001 Lenny Cartier <lenny@mandrakesoft.com> 0.3-6mdk -- rebuild - -* Tue Apr 10 2001 David BAUDENS <baudens@mandrakesoft.com> 0.3-5mdk -- Move KDE menu entriy in %%_datadir/applnk -- Fix and use optimizations -- Fix BuildRequires for non %%ix86 architectures -- Rebuild against latest GCC - -* Fri Mar 30 2001 Laurent MONTEL <lmontel@mandrakesoft.com> 0.3-4mdk -- Fix typo in menu entry - -* Wed Mar 28 2001 Laurent MONTEL <lmontel@mandrakesoft.com> 0.3-3mdk -- Add build requires - -* Tue Mar 13 2001 Laurent MONTEL <lmontel@mandrakesoft.com> 0.3-2mdk -- REbuild with qt-2.3 - -* Sat Feb 24 2001 Daouda Lo <daouda@mandrakesoft.com> 0.3-1mdk -- first mdk package diff --git a/kmag/kmagselrect.cpp b/kmag/kmagselrect.cpp index ba49fe3..997327b 100644 --- a/kmag/kmagselrect.cpp +++ b/kmag/kmagselrect.cpp @@ -162,7 +162,7 @@ void KMagSelRect::show() { if (selectionwindow == 0) { selectionwindow = new KMagSelWin (selWindowParent, "selectionwindow"); - connect (selectionwindow, TQT_SIGNAL (resized ()), this, TQT_SLOT (selWinResized ())); + connect (selectionwindow, TQ_SIGNAL (resized ()), this, TQ_SLOT (selWinResized ())); update(); selectionwindow->show(); @@ -226,32 +226,32 @@ KMagSelWin::KMagSelWin ( TQWidget * parent, const char * name, WFlags ) : titleBar->setPaletteBackgroundColor (getTitleColor ()); titleBar->setPaletteForegroundColor (getTextColor ()); titleBar->setText(i18n("Selection Window")+" - "+i18n("KMagnifier")); - connect (titleBar, TQT_SIGNAL (startResizing ()), this, TQT_SLOT (startResizing ())); - connect (titleBar, TQT_SIGNAL (resized (TQPoint)), this, TQT_SLOT (titleMoved (TQPoint))); + connect (titleBar, TQ_SIGNAL (startResizing ()), this, TQ_SLOT (startResizing ())); + connect (titleBar, TQ_SIGNAL (resized (TQPoint)), this, TQ_SLOT (titleMoved (TQPoint))); topLeftCorner = new KMagSelWinCorner (this, "topleft"); topLeftCorner->setCursor (TQt::SizeFDiagCursor); topLeftCorner->setPaletteBackgroundColor (getTitleBtnColor ()); - connect (topLeftCorner, TQT_SIGNAL (startResizing ()), this, TQT_SLOT (startResizing ())); - connect (topLeftCorner, TQT_SIGNAL (resized (TQPoint)), this, TQT_SLOT (topLeftResized (TQPoint))); + connect (topLeftCorner, TQ_SIGNAL (startResizing ()), this, TQ_SLOT (startResizing ())); + connect (topLeftCorner, TQ_SIGNAL (resized (TQPoint)), this, TQ_SLOT (topLeftResized (TQPoint))); topRightCorner = new KMagSelWinCorner (this, "topright"); topRightCorner->setCursor (TQt::SizeBDiagCursor); topRightCorner->setPaletteBackgroundColor (getTitleBtnColor ()); - connect (topRightCorner, TQT_SIGNAL (startResizing ()), this, TQT_SLOT (startResizing ())); - connect (topRightCorner, TQT_SIGNAL (resized (TQPoint)), this, TQT_SLOT (topRightResized (TQPoint))); + connect (topRightCorner, TQ_SIGNAL (startResizing ()), this, TQ_SLOT (startResizing ())); + connect (topRightCorner, TQ_SIGNAL (resized (TQPoint)), this, TQ_SLOT (topRightResized (TQPoint))); bottomLeftCorner = new KMagSelWinCorner (this, "bottomleft"); bottomLeftCorner->setCursor (TQt::SizeBDiagCursor); bottomLeftCorner->setPaletteBackgroundColor (getTitleBtnColor ()); - connect (bottomLeftCorner, TQT_SIGNAL (startResizing ()), this, TQT_SLOT (startResizing ())); - connect (bottomLeftCorner, TQT_SIGNAL (resized (TQPoint)), this, TQT_SLOT (bottomLeftResized (TQPoint))); + connect (bottomLeftCorner, TQ_SIGNAL (startResizing ()), this, TQ_SLOT (startResizing ())); + connect (bottomLeftCorner, TQ_SIGNAL (resized (TQPoint)), this, TQ_SLOT (bottomLeftResized (TQPoint))); bottomRightCorner = new KMagSelWinCorner (this, "bottomright"); bottomRightCorner->setCursor (TQt::SizeFDiagCursor); bottomRightCorner->setPaletteBackgroundColor (getTitleBtnColor ()); - connect (bottomRightCorner, TQT_SIGNAL (startResizing ()), this, TQT_SLOT (startResizing ())); - connect (bottomRightCorner, TQT_SIGNAL (resized (TQPoint)), this, TQT_SLOT (bottomRightResized (TQPoint))); + connect (bottomRightCorner, TQ_SIGNAL (startResizing ()), this, TQ_SLOT (startResizing ())); + connect (bottomRightCorner, TQ_SIGNAL (resized (TQPoint)), this, TQ_SLOT (bottomRightResized (TQPoint))); } KMagSelWin::~KMagSelWin() diff --git a/kmag/kmagselrect.h b/kmag/kmagselrect.h index 67c43cb..5da665f 100644 --- a/kmag/kmagselrect.h +++ b/kmag/kmagselrect.h @@ -29,7 +29,7 @@ class KMagSelWinCorner : public TQLabel { - Q_OBJECT + TQ_OBJECT public: @@ -54,7 +54,7 @@ protected: class KMagSelWin : public TQWidget { - Q_OBJECT + TQ_OBJECT public: @@ -99,7 +99,7 @@ protected: */ class KMagSelRect : public TQObject, public TQRect { - Q_OBJECT + TQ_OBJECT public: diff --git a/kmag/kmagzoomview.cpp b/kmag/kmagzoomview.cpp index 644e91a..921465e 100644 --- a/kmag/kmagzoomview.cpp +++ b/kmag/kmagzoomview.cpp @@ -133,10 +133,10 @@ KMagZoomView::KMagZoomView(TQWidget *parent, const char *name) m_invert(false), m_fitToWindow(true) { - TDEApplication::setGlobalMouseTracking(TRUE); - viewport()->setMouseTracking(TRUE); + TDEApplication::setGlobalMouseTracking(true); + viewport()->setMouseTracking(true); viewport()->setBackgroundMode (NoBackground); - viewport()->setFocusPolicy(TQ_StrongFocus); + viewport()->setFocusPolicy(TQWidget::StrongFocus); m_ctrlKeyPressed = false; m_shiftKeyPressed = false; @@ -147,12 +147,12 @@ KMagZoomView::KMagZoomView(TQWidget *parent, const char *name) setRefreshRate(10); // connect it to grabFrame() - connect(&m_grabTimer, TQT_SIGNAL(timeout()), TQT_SLOT(grabFrame())); + connect(&m_grabTimer, TQ_SIGNAL(timeout()), TQ_SLOT(grabFrame())); // start the grabTimer m_grabTimer.start(static_cast<int>(1000.0/m_fps)); // connect it to updateMouseView() - connect(&m_mouseViewTimer, TQT_SIGNAL(timeout()), TQT_SLOT(updateMouseView())); + connect(&m_mouseViewTimer, TQ_SIGNAL(timeout()), TQ_SLOT(updateMouseView())); // start the grabTimer @ 25 frames per second! m_mouseViewTimer.start(25); @@ -167,7 +167,7 @@ KMagZoomView::KMagZoomView(TQWidget *parent, const char *name) KMagZoomView::~KMagZoomView() { - TDEApplication::setGlobalMouseTracking(FALSE); + TDEApplication::setGlobalMouseTracking(false); } /** @@ -246,7 +246,7 @@ void KMagZoomView::drawContents ( TQPainter * p, int clipx, int clipy, int clipw // show the pixel under mouse cursor if(m_showMouse) { // paint the mouse cursor - paintMouseCursor(TQT_TQPAINTDEVICE(&clippedPixmap), calcMousePos (m_refreshSwitch)-TQPoint (areaToPaint.x(), areaToPaint.y())); + paintMouseCursor(&clippedPixmap, calcMousePos (m_refreshSwitch)-TQPoint (areaToPaint.x(), areaToPaint.y())); } TQPixmap zoomedPixmap; @@ -294,8 +294,8 @@ void KMagZoomView::paintMouseCursor(TQPaintDevice *dev, TQPoint mousePos) pz.setPen(TQt::black); pz.setBackgroundColor(TQt::white); - TQBitmap sCursor( 16, 16, left_ptr_bits, TRUE ); - TQBitmap mask( 16, 16, left_ptrmsk_bits, TRUE ); + TQBitmap sCursor( 16, 16, left_ptr_bits, true ); + TQBitmap mask( 16, 16, left_ptrmsk_bits, true ); sCursor.setMask(mask); // since hot spot is at 3,1 @@ -307,7 +307,7 @@ void KMagZoomView::paintMouseCursor(TQPaintDevice *dev, TQPoint mousePos) { // 3. Actual cursor // Get the current cursor type - TQWidget *dummy = TDEApplication::widgetAt(TQCursor::pos(), FALSE); + TQWidget *dummy = TDEApplication::widgetAt(TQCursor::pos(), false); if(!dummy) break; kdDebug() << ">" << dummy->name() << ":" << dummy->cursor().shape() << "-" << endl; @@ -318,8 +318,8 @@ void KMagZoomView::paintMouseCursor(TQPaintDevice *dev, TQPoint mousePos) pz.setPen(TQt::black); pz.setBackgroundColor(TQt::white); - TQBitmap sCursor( 16, 16, left_ptr_bits, TRUE ); - TQBitmap mask( 16, 16, left_ptrmsk_bits, TRUE ); + TQBitmap sCursor( 16, 16, left_ptr_bits, true ); + TQBitmap mask( 16, 16, left_ptrmsk_bits, true ); sCursor.setMask(mask); // since hot spot is at 3,1 @@ -327,8 +327,8 @@ void KMagZoomView::paintMouseCursor(TQPaintDevice *dev, TQPoint mousePos) } break; default: - TQBitmap sCursor( 32, 32, phand_bits, TRUE ); - TQBitmap mask( 32, 32, phandm_bits, TRUE ); + TQBitmap sCursor( 32, 32, phand_bits, true ); + TQBitmap mask( 32, 32, phandm_bits, true ); sCursor.setMask(mask); pz.drawPixmap(mousePos.x(), mousePos.y(), sCursor); @@ -370,7 +370,7 @@ TQPoint KMagZoomView::calcMousePos(bool updateMousePos) void KMagZoomView::mousePressEvent(TQMouseEvent *e) { switch(e->button()) { - case Qt::LeftButton : + case TQt::LeftButton : if(m_ctrlKeyPressed) { // check if currently in resize mode // don't do anything if fitToWindow is enabled @@ -443,7 +443,7 @@ void KMagZoomView::mousePressEvent(TQMouseEvent *e) } break; - case Qt::MidButton : + case TQt::MidButton : // check if currently in move mode // don't do anything if follow mouse is enabled if ((m_mouseMode != MoveSelection) && !m_followMouse) { @@ -484,8 +484,8 @@ void KMagZoomView::mousePressEvent(TQMouseEvent *e) void KMagZoomView::mouseReleaseEvent(TQMouseEvent *e) { switch(e->button()) { - case Qt::LeftButton : - case Qt::MidButton : + case TQt::LeftButton : + case TQt::MidButton : // check if currently in move mode if(m_mouseMode == MoveSelection) { // hide the selection window @@ -521,9 +521,9 @@ void KMagZoomView::mouseReleaseEvent(TQMouseEvent *e) } break; - case Qt::RightButton : + case TQt::RightButton : break; - case Qt::NoButton : + case TQt::NoButton : break; // do nothing @@ -686,7 +686,7 @@ void KMagZoomView::contextMenuEvent (TQContextMenuEvent *e) void KMagZoomView::focusOutEvent(TQFocusEvent *e) { - if(e->lostFocus() == TRUE) { + if (e->lostFocus()) { m_ctrlKeyPressed = false; m_shiftKeyPressed = false; } @@ -889,7 +889,7 @@ TQPixmap KMagZoomView::getPixmap() TQPixmap mousePixmap(m_grabbedPixmap); // paint the mouse cursor w/o updating to a newer position - paintMouseCursor(TQT_TQPAINTDEVICE(&mousePixmap), calcMousePos(false)); + paintMouseCursor(&mousePixmap, calcMousePos(false)); return(mousePixmap); } else { // no mouse cursor diff --git a/kmag/kmagzoomview.h b/kmag/kmagzoomview.h index b82dc47..960c422 100644 --- a/kmag/kmagzoomview.h +++ b/kmag/kmagzoomview.h @@ -45,7 +45,7 @@ */ class KMagZoomView : public TQScrollView { - Q_OBJECT + TQ_OBJECT public: /// Constructor for the main view diff --git a/kmousetool/kmousetool/Xmd_kmousetool.h b/kmousetool/kmousetool/Xmd_kmousetool.h index 2a35eb8..7e22fd1 100644 --- a/kmousetool/kmousetool/Xmd_kmousetool.h +++ b/kmousetool/kmousetool/Xmd_kmousetool.h @@ -146,18 +146,6 @@ typedef unsigned char CARD8; typedef CARD32 BITS32; typedef CARD16 BITS16; -#ifndef __EMX__ -typedef CARD8 BYTE; -typedef CARD8 BOOL; -#else /* __EMX__ */ -/* - * This is bad style, but the central include file <os2.h> declares them - * as well - */ -#define BYTE CARD8 -#define BOOL CARD8 -#endif /* __EMX__ */ - /* * definitions for sign-extending bitfields on 64-bit architectures */ diff --git a/kmousetool/kmousetool/kmousetool.cpp b/kmousetool/kmousetool/kmousetool.cpp index 0dff42e..a165860 100644 --- a/kmousetool/kmousetool/kmousetool.cpp +++ b/kmousetool/kmousetool/kmousetool.cpp @@ -85,10 +85,10 @@ Display *display; void KMouseTool::init_vars() { - continue_timer = 1; + continue_timer = true; tick_count = 0; max_ticks = dwell_time+1; - mouse_is_down = FALSE; + mouse_is_down = false; loadOptions(); @@ -147,7 +147,7 @@ void KMouseTool::timerEvent( TQTimerEvent * ) return; if (!continue_timer) { - TQT_TQOBJECT(this)->killTimers(); + this->killTimers(); return; } @@ -202,13 +202,13 @@ void KMouseTool::normalClick() if (smart_drag_on) { if (!mouse_is_down) { LeftDn(); - mouse_is_down = TRUE; + mouse_is_down = true; tick_count = 0; playTickSound(); } else if (mouse_is_down) { LeftUp(); - mouse_is_down = FALSE; + mouse_is_down = false; tick_count = max_ticks; } } @@ -255,28 +255,28 @@ KMouseTool::KMouseTool(TQWidget *parent, const char *name) : KMouseToolUI(parent init_vars(); resetSettings(); - connect(movementEdit, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(settingsChanged())); - connect(dwellTimeEdit, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(settingsChanged())); - connect(dragTimeEdit, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(settingsChanged())); - connect(cbDrag, TQT_SIGNAL(stateChanged(int)), this, TQT_SLOT(settingsChanged())); - connect(cbStroke, TQT_SIGNAL(stateChanged(int)), this, TQT_SLOT(settingsChanged())); - connect(cbClick, TQT_SIGNAL(stateChanged(int)), this, TQT_SLOT(settingsChanged())); - connect(cbStart, TQT_SIGNAL(stateChanged(int)), this, TQT_SLOT(settingsChanged())); + connect(movementEdit, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(settingsChanged())); + connect(dwellTimeEdit, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(settingsChanged())); + connect(dragTimeEdit, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(settingsChanged())); + connect(cbDrag, TQ_SIGNAL(stateChanged(int)), this, TQ_SLOT(settingsChanged())); + connect(cbStroke, TQ_SIGNAL(stateChanged(int)), this, TQ_SLOT(settingsChanged())); + connect(cbClick, TQ_SIGNAL(stateChanged(int)), this, TQ_SLOT(settingsChanged())); + connect(cbStart, TQ_SIGNAL(stateChanged(int)), this, TQ_SLOT(settingsChanged())); - connect(buttonStartStop, TQT_SIGNAL(clicked()), this, TQT_SLOT(startStopSelected())); + connect(buttonStartStop, TQ_SIGNAL(clicked()), this, TQ_SLOT(startStopSelected())); buttonDefault->setGuiItem(KStdGuiItem::defaults()); - connect(buttonDefault, TQT_SIGNAL(clicked()), this, TQT_SLOT(defaultSelected())); - connect(buttonReset, TQT_SIGNAL(clicked()), this, TQT_SLOT(resetSelected())); + connect(buttonDefault, TQ_SIGNAL(clicked()), this, TQ_SLOT(defaultSelected())); + connect(buttonReset, TQ_SIGNAL(clicked()), this, TQ_SLOT(resetSelected())); buttonApply->setGuiItem(KStdGuiItem::apply()); - connect(buttonApply, TQT_SIGNAL(clicked()), this, TQT_SLOT(applySelected())); + connect(buttonApply, TQ_SIGNAL(clicked()), this, TQ_SLOT(applySelected())); buttonHelp->setGuiItem(KStdGuiItem::help()); - connect(buttonHelp, TQT_SIGNAL(clicked()), this, TQT_SLOT(helpSelected())); + connect(buttonHelp, TQ_SIGNAL(clicked()), this, TQ_SLOT(helpSelected())); buttonClose->setGuiItem(KStdGuiItem::close()); - connect(buttonClose, TQT_SIGNAL(clicked()), this, TQT_SLOT(closeSelected())); + connect(buttonClose, TQ_SIGNAL(clicked()), this, TQ_SLOT(closeSelected())); #if TDE_VERSION >= TDE_MAKE_VERSION (3,1,90) buttonQuit->setGuiItem(KStdGuiItem::quit()); #endif // KDE 3.2 - connect(buttonQuit, TQT_SIGNAL(clicked()), this, TQT_SLOT(quitSelected())); + connect(buttonQuit, TQ_SIGNAL(clicked()), this, TQ_SLOT(quitSelected())); // When we first start, it's nice to not click immediately. // So, tell MT we're just starting @@ -285,11 +285,11 @@ KMouseTool::KMouseTool(TQWidget *parent, const char *name) : KMouseToolUI(parent startTimer(100); trayIcon = new KMouseToolTray (this, "systemTrayIcon"); updateStartStopText (); - connect(trayIcon, TQT_SIGNAL(startStopSelected()), this, TQT_SLOT(startStopSelected())); - connect(trayIcon, TQT_SIGNAL(configureSelected()), this, TQT_SLOT(configureSelected())); - connect(trayIcon, TQT_SIGNAL(aboutSelected()), this, TQT_SLOT(aboutSelected())); - connect(trayIcon, TQT_SIGNAL(helpSelected()), this, TQT_SLOT(helpSelected())); - connect(trayIcon, TQT_SIGNAL(quitSelected()), this, TQT_SLOT(quitSelected())); + connect(trayIcon, TQ_SIGNAL(startStopSelected()), this, TQ_SLOT(startStopSelected())); + connect(trayIcon, TQ_SIGNAL(configureSelected()), this, TQ_SLOT(configureSelected())); + connect(trayIcon, TQ_SIGNAL(aboutSelected()), this, TQ_SLOT(aboutSelected())); + connect(trayIcon, TQ_SIGNAL(helpSelected()), this, TQ_SLOT(helpSelected())); + connect(trayIcon, TQ_SIGNAL(quitSelected()), this, TQ_SLOT(quitSelected())); aboutDlg = new TDEAboutApplication (0, "KMouseToolDlg", false); } @@ -610,15 +610,15 @@ void KMouseTool::aboutSelected() KMouseToolTray::KMouseToolTray (TQWidget *parent, const char *name) : KSystemTray (parent, name) { - startStopId = contextMenu()->insertItem (i18n("&Start"), this, TQT_SIGNAL(startStopSelected())); + startStopId = contextMenu()->insertItem (i18n("&Start"), this, TQ_SIGNAL(startStopSelected())); contextMenu()->insertSeparator(); contextMenu()->insertItem (TDEGlobal::iconLoader()->loadIcon("configure", TDEIcon::Small), - i18n("&Configure KMouseTool..."), this, TQT_SIGNAL(configureSelected())); + i18n("&Configure KMouseTool..."), this, TQ_SIGNAL(configureSelected())); contextMenu()->insertSeparator(); contextMenu()->insertItem (TDEGlobal::iconLoader()->loadIcon("contents", TDEIcon::Small), - i18n("KMousetool &Handbook"), this, TQT_SIGNAL(helpSelected())); + i18n("KMousetool &Handbook"), this, TQ_SIGNAL(helpSelected())); contextMenu()->insertItem (TDEGlobal::iconLoader()->loadIcon("kmousetool", TDEIcon::Small), - i18n("&About KMouseTool"), this, TQT_SIGNAL(aboutSelected())); + i18n("&About KMouseTool"), this, TQ_SIGNAL(aboutSelected())); } KMouseToolTray::~KMouseToolTray() { diff --git a/kmousetool/kmousetool/kmousetool.h b/kmousetool/kmousetool/kmousetool.h index 210aefb..16f7ca3 100644 --- a/kmousetool/kmousetool/kmousetool.h +++ b/kmousetool/kmousetool/kmousetool.h @@ -54,15 +54,15 @@ class KMouseToolTray; class KMouseTool : public KMouseToolUI { - Q_OBJECT + TQ_OBJECT private: MTStroke stroke; // boolean flags to keep track of program states - int mouse_is_down; - int continue_timer; + bool mouse_is_down; + bool continue_timer; int tick_count; int dwell_time; int drag_time; @@ -194,7 +194,7 @@ public: }; class KMouseToolTray : public KSystemTray { - Q_OBJECT + TQ_OBJECT int startStopId; public: diff --git a/kmouth/configwizard.h b/kmouth/configwizard.h index 47054c2..8560e6c 100644 --- a/kmouth/configwizard.h +++ b/kmouth/configwizard.h @@ -34,7 +34,7 @@ class CompletionWizardWidget; */ class ConfigWizard : public KWizard { - Q_OBJECT + TQ_OBJECT public: ConfigWizard (TQWidget *parent, const char *name, TDEConfig *config); diff --git a/kmouth/kmouth.cpp b/kmouth/kmouth.cpp index 4d9faa8..a34e602 100644 --- a/kmouth/kmouth.cpp +++ b/kmouth/kmouth.cpp @@ -51,10 +51,10 @@ KMouthApp::KMouthApp(TQWidget* , const char* name):TDEMainWindow(0, name) initPhraseList(); initActions(); optionsDialog = new OptionsDialog(this); - connect (optionsDialog, TQT_SIGNAL(configurationChanged ()), - this, TQT_SLOT(slotConfigurationChanged ())); - connect (optionsDialog, TQT_SIGNAL(configurationChanged ()), - phraseList, TQT_SLOT(configureCompletion ())); + connect (optionsDialog, TQ_SIGNAL(configurationChanged ()), + this, TQ_SLOT(slotConfigurationChanged ())); + connect (optionsDialog, TQ_SIGNAL(configurationChanged ()), + phraseList, TQ_SLOT(configureCompletion ())); phrases = new TDEActionCollection (this); @@ -95,57 +95,57 @@ bool KMouthApp::configured() { void KMouthApp::initActions() { // The "File" menu - fileOpen = new TDEAction(i18n("&Open as History..."), "phrasehistory_open", TDEStdAccel::open(), TQT_TQOBJECT(this), TQT_SLOT(slotFileOpen()), actionCollection(),"file_open"); + fileOpen = new TDEAction(i18n("&Open as History..."), "phrasehistory_open", TDEStdAccel::open(), this, TQ_SLOT(slotFileOpen()), actionCollection(),"file_open"); fileOpen->setStatusText(i18n("Opens an existing file as history")); fileOpen->setWhatsThis (i18n("Opens an existing file as history")); - fileSaveAs = new TDEAction(i18n("Save &History As..."), "phrasehistory_save", TDEStdAccel::save(), TQT_TQOBJECT(this), TQT_SLOT(slotFileSaveAs()), actionCollection(),"file_save_as"); + fileSaveAs = new TDEAction(i18n("Save &History As..."), "phrasehistory_save", TDEStdAccel::save(), this, TQ_SLOT(slotFileSaveAs()), actionCollection(),"file_save_as"); fileSaveAs->setStatusText(i18n("Saves the actual history as...")); fileSaveAs->setWhatsThis (i18n("Saves the actual history as...")); - filePrint = new TDEAction(i18n("&Print History..."), "phrasehistory_print", TDEStdAccel::print(), TQT_TQOBJECT(this), TQT_SLOT(slotFilePrint()), actionCollection(),"file_print"); + filePrint = new TDEAction(i18n("&Print History..."), "phrasehistory_print", TDEStdAccel::print(), this, TQ_SLOT(slotFilePrint()), actionCollection(),"file_print"); filePrint->setStatusText(i18n("Prints out the actual history")); filePrint->setWhatsThis (i18n("Prints out the actual history")); - fileQuit = KStdAction::quit(TQT_TQOBJECT(this), TQT_SLOT(slotFileQuit()), actionCollection()); + fileQuit = KStdAction::quit(this, TQ_SLOT(slotFileQuit()), actionCollection()); fileQuit->setStatusText(i18n("Quits the application")); fileQuit->setWhatsThis (i18n("Quits the application")); // The "Edit" menu - editCut = KStdAction::cut(TQT_TQOBJECT(phraseList), TQT_SLOT(cut()), actionCollection()); + editCut = KStdAction::cut(phraseList, TQ_SLOT(cut()), actionCollection()); editCut->setStatusText(i18n("Cuts the selected section and puts it to the clipboard")); editCut->setWhatsThis (i18n("Cuts the selected section and puts it to the clipboard. If there is some text selected in the edit field it is placed it on the clipboard. Otherwise the selected sentences in the history (if any) are placed on the clipboard.")); - editCopy = KStdAction::copy(TQT_TQOBJECT(phraseList), TQT_SLOT(copy()), actionCollection()); + editCopy = KStdAction::copy(phraseList, TQ_SLOT(copy()), actionCollection()); editCopy->setStatusText(i18n("Copies the selected section to the clipboard")); editCopy->setWhatsThis (i18n("Copies the selected section to the clipboard. If there is some text selected in the edit field it is copied to the clipboard. Otherwise the selected sentences in the history (if any) are copied to the clipboard.")); - editPaste = KStdAction::paste(TQT_TQOBJECT(phraseList), TQT_SLOT(paste()), actionCollection()); + editPaste = KStdAction::paste(phraseList, TQ_SLOT(paste()), actionCollection()); editPaste->setStatusText(i18n("Pastes the clipboard contents to actual position")); editPaste->setWhatsThis (i18n("Pastes the clipboard contents at the current cursor position into the edit field.")); - editSpeak = new TDEAction (i18n("&Speak"), "speak", 0, TQT_TQOBJECT(phraseList), TQT_SLOT(speak()), actionCollection(),"edit_speak"); + editSpeak = new TDEAction (i18n("&Speak"), "speak", 0, phraseList, TQ_SLOT(speak()), actionCollection(),"edit_speak"); editSpeak->setStatusText(i18n("Speaks the currently active sentence(s)")); editSpeak->setWhatsThis (i18n("Speaks the currently active sentence(s). If there is some text in the edit field it is spoken. Otherwise the selected sentences in the history (if any) are spoken.")); // The "Phrase book" menu - phrasebookEdit = new TDEAction(i18n("&Edit..."), 0, 0, TQT_TQOBJECT(this), TQT_SLOT(slotEditPhrasebook()), actionCollection(),"phrasebook_edit"); + phrasebookEdit = new TDEAction(i18n("&Edit..."), 0, 0, this, TQ_SLOT(slotEditPhrasebook()), actionCollection(),"phrasebook_edit"); // The "Options" menu - viewMenuBar = KStdAction::showMenubar(TQT_TQOBJECT(this), TQT_SLOT(slotViewMenuBar()), actionCollection()); - viewToolBar = KStdAction::showToolbar(TQT_TQOBJECT(this), TQT_SLOT(slotViewToolBar()), actionCollection()); + viewMenuBar = KStdAction::showMenubar(this, TQ_SLOT(slotViewMenuBar()), actionCollection()); + viewToolBar = KStdAction::showToolbar(this, TQ_SLOT(slotViewToolBar()), actionCollection()); viewToolBar->setStatusText(i18n("Enables/disables the toolbar")); viewToolBar->setWhatsThis (i18n("Enables/disables the toolbar")); - viewPhrasebookBar = new TDEToggleAction (i18n("Show P&hrasebook Bar"), 0, 0, TQT_TQOBJECT(this), TQT_SLOT(slotViewPhrasebookBar()), actionCollection(), "showPhrasebookBar"); + viewPhrasebookBar = new TDEToggleAction (i18n("Show P&hrasebook Bar"), 0, 0, this, TQ_SLOT(slotViewPhrasebookBar()), actionCollection(), "showPhrasebookBar"); viewPhrasebookBar->setStatusText(i18n("Enables/disables the phrasebook bar")); viewPhrasebookBar->setWhatsThis (i18n("Enables/disables the phrasebook bar")); - viewStatusBar = KStdAction::showStatusbar(TQT_TQOBJECT(this), TQT_SLOT(slotViewStatusBar()), actionCollection()); + viewStatusBar = KStdAction::showStatusbar(this, TQ_SLOT(slotViewStatusBar()), actionCollection()); viewStatusBar->setStatusText(i18n("Enables/disables the statusbar")); viewStatusBar->setWhatsThis (i18n("Enables/disables the statusbar")); - configureTTS = new TDEAction (i18n("&Configure KMouth..."), "configure", 0, TQT_TQOBJECT(this), TQT_SLOT(slotConfigureTTS()), actionCollection(), "configureTTS"); + configureTTS = new TDEAction (i18n("&Configure KMouth..."), "configure", 0, this, TQ_SLOT(slotConfigureTTS()), actionCollection(), "configureTTS"); configureTTS->setStatusText(i18n("Opens the configuration dialog")); configureTTS->setWhatsThis (i18n("Opens the configuration dialog")); @@ -153,27 +153,27 @@ void KMouthApp::initActions() { // The "Help" menu will automatically get created. // The popup menu of the list of spoken sentences - phraseListSpeak = new TDEAction (i18n("&Speak"), "speak", 0, TQT_TQOBJECT(phraseList), TQT_SLOT(speakListSelection()), actionCollection(), "phraselist_speak"); + phraseListSpeak = new TDEAction (i18n("&Speak"), "speak", 0, phraseList, TQ_SLOT(speakListSelection()), actionCollection(), "phraselist_speak"); phraseListSpeak->setStatusText(i18n("Speaks the currently selected phrases in the history")); phraseListSpeak->setWhatsThis (i18n("Speaks the currently selected phrases in the history")); - phraseListRemove = new TDEAction (i18n("&Delete"), "edit-delete", 0, TQT_TQOBJECT(phraseList), TQT_SLOT(removeListSelection()), actionCollection(), "phraselist_remove"); + phraseListRemove = new TDEAction (i18n("&Delete"), "edit-delete", 0, phraseList, TQ_SLOT(removeListSelection()), actionCollection(), "phraselist_remove"); phraseListRemove->setStatusText(i18n("Deletes the currently selected phrases from the history")); phraseListRemove->setWhatsThis (i18n("Deletes the currently selected phrases from the history")); - phraseListCut = new TDEAction (i18n("Cu&t"), "edit-cut", 0, TQT_TQOBJECT(phraseList), TQT_SLOT(cutListSelection()), actionCollection(), "phraselist_cut"); + phraseListCut = new TDEAction (i18n("Cu&t"), "edit-cut", 0, phraseList, TQ_SLOT(cutListSelection()), actionCollection(), "phraselist_cut"); phraseListCut->setStatusText(i18n("Cuts the currently selected phrases from the history and puts them to the clipboard")); phraseListCut->setWhatsThis (i18n("Cuts the currently selected phrases from the history and puts them to the clipboard")); - phraseListCopy = new TDEAction (i18n("&Copy"), "edit-copy", 0, TQT_TQOBJECT(phraseList), TQT_SLOT(copyListSelection()), actionCollection(), "phraselist_copy"); + phraseListCopy = new TDEAction (i18n("&Copy"), "edit-copy", 0, phraseList, TQ_SLOT(copyListSelection()), actionCollection(), "phraselist_copy"); phraseListCut->setStatusText(i18n("Copies the currently selected phrases from the history to the clipboard")); phraseListCut->setWhatsThis (i18n("Copies the currently selected phrases from the history to the clipboard")); - phraselistSelectAll = new TDEAction (i18n("Select &All Entries"), 0, 0, TQT_TQOBJECT(phraseList), TQT_SLOT(selectAllEntries()), actionCollection(),"phraselist_select_all"); + phraselistSelectAll = new TDEAction (i18n("Select &All Entries"), 0, 0, phraseList, TQ_SLOT(selectAllEntries()), actionCollection(),"phraselist_select_all"); phraselistSelectAll->setStatusText(i18n("Selects all phrases in the history")); phraselistSelectAll->setWhatsThis (i18n("Selects all phrases in the history")); - phraselistDeselectAll = new TDEAction (i18n("D&eselect All Entries"), 0, 0, TQT_TQOBJECT(phraseList), TQT_SLOT(deselectAllEntries()), actionCollection(),"phraselist_deselect_all"); + phraselistDeselectAll = new TDEAction (i18n("D&eselect All Entries"), 0, 0, phraseList, TQ_SLOT(deselectAllEntries()), actionCollection(),"phraselist_deselect_all"); phraselistDeselectAll->setStatusText(i18n("Deselects all phrases in the history")); phraselistDeselectAll->setWhatsThis (i18n("Deselects all phrases in the history")); @@ -302,7 +302,7 @@ void KMouthApp::enableMenuEntries(bool existSelectedEntries, bool existDeselecte } ///////////////////////////////////////////////////////////////////// -// TQT_SLOT IMPLEMENTATION +// SLOT IMPLEMENTATION ///////////////////////////////////////////////////////////////////// void KMouthApp::slotFileOpen() { @@ -358,10 +358,10 @@ void KMouthApp::slotEditPhrasebook () { PhraseBookDialog *phraseBookDialog = PhraseBookDialog::get(); // As we do not know whether the we are already connected to the slot, // we first disconnect and then connect again. - disconnect (phraseBookDialog, TQT_SIGNAL(phrasebookConfirmed (PhraseBook &)), - this, TQT_SLOT(slotPhrasebookConfirmed (PhraseBook &))); - connect (phraseBookDialog, TQT_SIGNAL(phrasebookConfirmed (PhraseBook &)), - this, TQT_SLOT(slotPhrasebookConfirmed (PhraseBook &))); + disconnect (phraseBookDialog, TQ_SIGNAL(phrasebookConfirmed (PhraseBook &)), + this, TQ_SLOT(slotPhrasebookConfirmed (PhraseBook &))); + connect (phraseBookDialog, TQ_SIGNAL(phrasebookConfirmed (PhraseBook &)), + this, TQ_SLOT(slotPhrasebookConfirmed (PhraseBook &))); // As we do not know whether the phrase book edit window is already open, // we first open and then raise it, so that it is surely the top window. @@ -458,7 +458,7 @@ void KMouthApp::slotPhrasebookConfirmed (PhraseBook &book) { delete phrases; phrases = new TDEActionCollection (this, actionCollection()); - book.addToGUI (popup, toolbar, phrases, TQT_TQOBJECT(this), TQT_SLOT(slotPhraseSelected (const TQString &))); + book.addToGUI (popup, toolbar, phrases, this, TQ_SLOT(slotPhraseSelected (const TQString &))); TQString bookLocation = TDEApplication::kApplication()->dirs()->saveLocation ("appdata", "/"); if (!bookLocation.isNull() && !bookLocation.isEmpty()) { diff --git a/kmouth/kmouth.h b/kmouth/kmouth.h index 628128c..4155e96 100644 --- a/kmouth/kmouth.h +++ b/kmouth/kmouth.h @@ -54,7 +54,7 @@ class PhraseBook; */ class KMouthApp : public TDEMainWindow { - Q_OBJECT + TQ_OBJECT public: diff --git a/kmouth/optionsdialog.cpp b/kmouth/optionsdialog.cpp index 0c8e147..be01f0d 100644 --- a/kmouth/optionsdialog.cpp +++ b/kmouth/optionsdialog.cpp @@ -120,7 +120,7 @@ OptionsDialog::OptionsDialog (TQWidget *parent) setHelp ("config-dialog"); TQPixmap iconGeneral = TDEGlobal::iconLoader()->loadIcon("configure", TDEIcon::NoGroup, TDEIcon::SizeMedium); - TQGrid *pageGeneral = addGridPage (1, Qt::Horizontal, i18n("General Options"), TQString(), iconGeneral); + TQGrid *pageGeneral = addGridPage (1, TQt::Horizontal, i18n("General Options"), TQString(), iconGeneral); tabCtl = new TQTabWidget (pageGeneral, "general"); @@ -133,13 +133,13 @@ OptionsDialog::OptionsDialog (TQWidget *parent) tabCtl->addTab (commandWidget, i18n("&Text-to-Speech")); TQPixmap iconCompletion = TDEGlobal::iconLoader()->loadIcon("input-keyboard", TDEIcon::NoGroup, TDEIcon::SizeMedium); - TQGrid *pageCompletion = addGridPage (1, Qt::Horizontal, i18n("Word Completion"), TQString(), iconCompletion); + TQGrid *pageCompletion = addGridPage (1, TQt::Horizontal, i18n("Word Completion"), TQString(), iconCompletion); completionWidget = new WordCompletionWidget(pageCompletion, "Word Completion widget"); kttsd = loadKttsd(); if (kttsd != 0) { TQPixmap iconKttsd = TDEGlobal::iconLoader()->loadIcon("multimedia", TDEIcon::NoGroup, TDEIcon::SizeMedium); - TQGrid *pageKttsd = addGridPage (1, Qt::Horizontal, i18n("KTTSD Speech Service"), + TQGrid *pageKttsd = addGridPage (1, TQt::Horizontal, i18n("KTTSD Speech Service"), i18n("TDE Text-to-Speech Daemon Configuration"), iconKttsd); kttsd->reparent(pageKttsd,0,TQPoint(0,0),true); diff --git a/kmouth/optionsdialog.h b/kmouth/optionsdialog.h index 6955b34..d5fc7f3 100644 --- a/kmouth/optionsdialog.h +++ b/kmouth/optionsdialog.h @@ -32,7 +32,7 @@ class WordCompletionWidget; */ class PreferencesWidget : public PreferencesUI { - Q_OBJECT + TQ_OBJECT public: PreferencesWidget(TQWidget *parent, const char *name); @@ -56,7 +56,7 @@ private: */ class OptionsDialog : public KDialogBase { - Q_OBJECT + TQ_OBJECT public: OptionsDialog(TQWidget *parent); diff --git a/kmouth/phrasebook/phrasebook.cpp b/kmouth/phrasebook/phrasebook.cpp index c095e6d..1fc4f9f 100644 --- a/kmouth/phrasebook/phrasebook.cpp +++ b/kmouth/phrasebook/phrasebook.cpp @@ -339,7 +339,7 @@ bool PhraseBook::open (const KURL &url) { // First: try to load it as a normal phrase book TQFile file(tempFile); - TQXmlInputSource source (TQT_TQIODEVICE(&file)); + TQXmlInputSource source (&file); bool error = !decode (source); // Second: if the file does not contain a phrase book, load it as diff --git a/kmouth/phrasebook/phrasebook.h b/kmouth/phrasebook/phrasebook.h index 4fee8cc..92fabeb 100644 --- a/kmouth/phrasebook/phrasebook.h +++ b/kmouth/phrasebook/phrasebook.h @@ -147,7 +147,7 @@ public: * @author Gunnar Schmi Dt */ class PhraseBookDrag: public TQDragObject { - Q_OBJECT + TQ_OBJECT public: PhraseBookDrag (PhraseBook *book, TQWidget *dragSource = 0, const char *name = 0); @@ -170,13 +170,13 @@ private: }; class PhraseAction : public TDEAction { - Q_OBJECT + TQ_OBJECT public: PhraseAction (const TQString& phrase, const TQString& cut, const TQObject* receiver, const char* slot, TDEActionCollection* parent) : TDEAction (phrase, "phrase", TDEShortcut(cut), 0, 0, parent, phrase.latin1()) { this->phrase = phrase; - connect (this, TQT_SIGNAL(slotActivated (const TQString &)), receiver, slot); + connect (this, TQ_SIGNAL(slotActivated (const TQString &)), receiver, slot); }; ~PhraseAction () { } diff --git a/kmouth/phrasebook/phrasebookdialog.cpp b/kmouth/phrasebook/phrasebookdialog.cpp index 3525ce7..c26c7d5 100644 --- a/kmouth/phrasebook/phrasebookdialog.cpp +++ b/kmouth/phrasebook/phrasebookdialog.cpp @@ -303,17 +303,17 @@ void PhraseBookDialog::initGUI () { treeView->setAllColumnsShowFocus (true); treeView->setSelectionMode (TQListView::Extended); TQWhatsThis::add (treeView, i18n("This list contains the current phrase book in a tree structure. You can select and modify individual phrases and sub phrase books")); - connect (treeView, TQT_SIGNAL(selectionChanged()), TQT_TQOBJECT(this), TQT_SLOT(selectionChanged())); - connect (treeView, TQT_SIGNAL(contextMenuRequested (TQListViewItem *, const TQPoint &, int)), TQT_TQOBJECT(this), TQT_SLOT(contextMenuRequested (TQListViewItem *, const TQPoint &, int))); - connect (treeView, TQT_SIGNAL(dropped (TQDropEvent *, TQListViewItem *, TQListViewItem *)), TQT_TQOBJECT(this), TQT_SLOT(slotDropped (TQDropEvent *, TQListViewItem *, TQListViewItem *))); - connect (treeView, TQT_SIGNAL(moved (TQListViewItem *, TQListViewItem *, TQListViewItem *)), TQT_TQOBJECT(this), TQT_SLOT(slotMoved (TQListViewItem *, TQListViewItem *, TQListViewItem *))); + connect (treeView, TQ_SIGNAL(selectionChanged()), this, TQ_SLOT(selectionChanged())); + connect (treeView, TQ_SIGNAL(contextMenuRequested (TQListViewItem *, const TQPoint &, int)), this, TQ_SLOT(contextMenuRequested (TQListViewItem *, const TQPoint &, int))); + connect (treeView, TQ_SIGNAL(dropped (TQDropEvent *, TQListViewItem *, TQListViewItem *)), this, TQ_SLOT(slotDropped (TQDropEvent *, TQListViewItem *, TQListViewItem *))); + connect (treeView, TQ_SIGNAL(moved (TQListViewItem *, TQListViewItem *, TQListViewItem *)), this, TQ_SLOT(slotMoved (TQListViewItem *, TQListViewItem *, TQListViewItem *))); mainLayout->addWidget (treeView); buttonBox = new ButtonBoxWidget (page, "buttonbox"); - connect (buttonBox->lineEdit, TQT_SIGNAL(textChanged(const TQString &)), TQT_SLOT(slotTextChanged(const TQString &))); - connect (buttonBox->noKey, TQT_SIGNAL(clicked()), TQT_SLOT(slotNoKey())); - connect (buttonBox->customKey, TQT_SIGNAL(clicked()), TQT_SLOT(slotCustomKey())); - connect (buttonBox->keyButton, TQT_SIGNAL(capturedShortcut(const TDEShortcut&)), TQT_SLOT(capturedShortcut(const TDEShortcut&))); + connect (buttonBox->lineEdit, TQ_SIGNAL(textChanged(const TQString &)), TQ_SLOT(slotTextChanged(const TQString &))); + connect (buttonBox->noKey, TQ_SIGNAL(clicked()), TQ_SLOT(slotNoKey())); + connect (buttonBox->customKey, TQ_SIGNAL(clicked()), TQ_SLOT(slotCustomKey())); + connect (buttonBox->keyButton, TQ_SIGNAL(capturedShortcut(const TDEShortcut&)), TQ_SLOT(capturedShortcut(const TDEShortcut&))); mainLayout->addWidget (buttonBox); treeView->setFocus(); @@ -322,23 +322,23 @@ void PhraseBookDialog::initGUI () { void PhraseBookDialog::initActions() { // The file menu - fileNewPhrase = new TDEAction (i18n("&New Phrase"), "phrase_new", 0, TQT_TQOBJECT(this), TQT_SLOT(slotAddPhrase()), actionCollection(),"file_new_phrase"); + fileNewPhrase = new TDEAction (i18n("&New Phrase"), "phrase_new", 0, this, TQ_SLOT(slotAddPhrase()), actionCollection(),"file_new_phrase"); fileNewPhrase->setStatusText(i18n("Adds a new phrase")); fileNewPhrase->setWhatsThis (i18n("Adds a new phrase")); - fileNewBook = new TDEAction (i18n("New Phrase &Book"), "phrasebook_new", 0, TQT_TQOBJECT(this), TQT_SLOT(slotAddPhrasebook()), actionCollection(),"file_new_book"); + fileNewBook = new TDEAction (i18n("New Phrase &Book"), "phrasebook_new", 0, this, TQ_SLOT(slotAddPhrasebook()), actionCollection(),"file_new_book"); fileNewBook->setStatusText(i18n("Adds a new phrase book into which other books and phrases can be placed")); fileNewBook->setWhatsThis (i18n("Adds a new phrase book into which other books and phrases can be placed")); - fileSave = KStdAction::save(TQT_TQOBJECT(this), TQT_SLOT(slotSave()), actionCollection()); + fileSave = KStdAction::save(this, TQ_SLOT(slotSave()), actionCollection()); fileSave->setStatusText(i18n("Saves the phrase book onto the hard disk")); fileSave->setWhatsThis (i18n("Saves the phrase book onto the hard disk")); - fileImport = new TDEAction (i18n("&Import..."), "phrasebook_open", 0, TQT_TQOBJECT(this), TQT_SLOT(slotImportPhrasebook()), actionCollection(),"file_import"); + fileImport = new TDEAction (i18n("&Import..."), "phrasebook_open", 0, this, TQ_SLOT(slotImportPhrasebook()), actionCollection(),"file_import"); fileImport->setStatusText(i18n("Imports a file and adds its contents to the phrase book")); fileImport->setWhatsThis (i18n("Imports a file and adds its contents to the phrase book")); - toolbarImport = new TDEToolBarPopupAction (i18n("&Import..."), "phrasebook_open", 0, TQT_TQOBJECT(this), TQT_SLOT(slotImportPhrasebook()), actionCollection(),"toolbar_import"); + toolbarImport = new TDEToolBarPopupAction (i18n("&Import..."), "phrasebook_open", 0, this, TQ_SLOT(slotImportPhrasebook()), actionCollection(),"toolbar_import"); toolbarImport->setStatusText(i18n("Imports a file and adds its contents to the phrase book")); toolbarImport->setWhatsThis (i18n("Imports a file and adds its contents to the phrase book")); @@ -346,32 +346,32 @@ void PhraseBookDialog::initActions() { fileImportStandardBook->setStatusText(i18n("Imports a standard phrase book and adds its contents to the phrase book")); fileImportStandardBook->setWhatsThis (i18n("Imports a standard phrase book and adds its contents to the phrase book")); - fileExport = new TDEAction (i18n("&Export..."), "phrasebook_save", 0, TQT_TQOBJECT(this), TQT_SLOT(slotExportPhrasebook()), actionCollection(),"file_export"); + fileExport = new TDEAction (i18n("&Export..."), "phrasebook_save", 0, this, TQ_SLOT(slotExportPhrasebook()), actionCollection(),"file_export"); fileExport->setStatusText(i18n("Exports the currently selected phrase(s) or phrase book(s) into a file")); fileExport->setWhatsThis (i18n("Exports the currently selected phrase(s) or phrase book(s) into a file")); - filePrint = KStdAction::print(TQT_TQOBJECT(this), TQT_SLOT(slotPrint()), actionCollection()); + filePrint = KStdAction::print(this, TQ_SLOT(slotPrint()), actionCollection()); filePrint->setStatusText(i18n("Prints the currently selected phrase(s) or phrase book(s)")); filePrint->setWhatsThis (i18n("Prints the currently selected phrase(s) or phrase book(s)")); - fileClose = KStdAction::close(TQT_TQOBJECT(this), TQT_SLOT(close()), actionCollection()); + fileClose = KStdAction::close(this, TQ_SLOT(close()), actionCollection()); fileClose->setStatusText(i18n("Closes the window")); fileClose->setWhatsThis (i18n("Closes the window")); // The edit menu - editCut = KStdAction::cut(TQT_TQOBJECT(this), TQT_SLOT(slotCut()), actionCollection()); + editCut = KStdAction::cut(this, TQ_SLOT(slotCut()), actionCollection()); editCut->setStatusText(i18n("Cuts the currently selected entries from the phrase book and puts it to the clipboard")); editCut->setWhatsThis (i18n("Cuts the currently selected entries from the phrase book and puts it to the clipboard")); - editCopy = KStdAction::copy(TQT_TQOBJECT(this), TQT_SLOT(slotCopy()), actionCollection()); + editCopy = KStdAction::copy(this, TQ_SLOT(slotCopy()), actionCollection()); editCopy->setStatusText(i18n("Copies the currently selected entry from the phrase book to the clipboard")); editCopy->setWhatsThis (i18n("Copies the currently selected entry from the phrase book to the clipboard")); - editPaste = KStdAction::paste(TQT_TQOBJECT(this), TQT_SLOT(slotPaste()), actionCollection()); + editPaste = KStdAction::paste(this, TQ_SLOT(slotPaste()), actionCollection()); editPaste->setStatusText(i18n("Pastes the clipboard contents to actual position")); editPaste->setWhatsThis (i18n("Pastes the clipboard contents to actual position")); - editDelete = new TDEAction (i18n("&Delete"), "edit-delete", 0, TQT_TQOBJECT(this), TQT_SLOT(slotRemove()), actionCollection(),"edit_delete"); + editDelete = new TDEAction (i18n("&Delete"), "edit-delete", 0, this, TQ_SLOT(slotRemove()), actionCollection(),"edit_delete"); editDelete->setStatusText(i18n("Deletes the selected entries from the phrase book")); editDelete->setWhatsThis (i18n("Deletes the selected entries from the phrase book")); @@ -462,7 +462,7 @@ void PhraseBookDialog::initStandardPhraseBooks () { currentNamePath = dirs; TDEAction *book = new StandardPhraseBookInsertAction ( - url, (*it).name, TQT_TQOBJECT(this), TQT_SLOT(slotImportPhrasebook (const KURL &)), actionCollection()); + url, (*it).name, this, TQ_SLOT(slotImportPhrasebook (const KURL &)), actionCollection()); parent->insert(book); if (parent == fileImportStandardBook) book->plug(toolbarImport->popupMenu()); diff --git a/kmouth/phrasebook/phrasebookdialog.h b/kmouth/phrasebook/phrasebookdialog.h index 0665281..96260f9 100644 --- a/kmouth/phrasebook/phrasebookdialog.h +++ b/kmouth/phrasebook/phrasebookdialog.h @@ -73,7 +73,7 @@ private: */ class InitialPhraseBookWidget : public TQWidget { - Q_OBJECT + TQ_OBJECT public: InitialPhraseBookWidget(TQWidget *parent, const char *name); @@ -94,13 +94,13 @@ private: * @author Gunnar Schmi Dt */ class StandardPhraseBookInsertAction : public TDEAction { - Q_OBJECT + TQ_OBJECT public: StandardPhraseBookInsertAction (const KURL &url, const TQString& name, const TQObject* receiver, const char* slot, TDEActionCollection* parent) : TDEAction (name, "phrasebook", 0, 0, 0, parent, 0) { this->url = url; - connect (this, TQT_SIGNAL(slotActivated (const KURL &)), receiver, slot); + connect (this, TQ_SIGNAL(slotActivated (const KURL &)), receiver, slot); }; ~StandardPhraseBookInsertAction () { }; @@ -142,7 +142,7 @@ protected: class PhraseBookDialog : public TDEMainWindow { friend class InitialPhraseBookWidget; - Q_OBJECT + TQ_OBJECT private: /** Constructor. It is private because this class implements the singleton diff --git a/kmouth/phrasebook/phrasetree.cpp b/kmouth/phrasebook/phrasetree.cpp index 6a2bac2..f08e95a 100644 --- a/kmouth/phrasebook/phrasetree.cpp +++ b/kmouth/phrasebook/phrasetree.cpp @@ -81,8 +81,8 @@ PhraseTree::PhraseTree (TQWidget *parent, const char *name) phrasebook_closed = TDEGlobal::iconLoader()->loadIcon("phrasebook_closed", TDEIcon::Small); phrase = TDEGlobal::iconLoader()->loadIcon("phrase", TDEIcon::Small); - connect (this, TQT_SIGNAL(expanded (TQListViewItem *)), this, TQT_SLOT(itemExpanded (TQListViewItem *))); - connect (this, TQT_SIGNAL(collapsed (TQListViewItem *)), this, TQT_SLOT(itemCollapsed (TQListViewItem *))); + connect (this, TQ_SIGNAL(expanded (TQListViewItem *)), this, TQ_SLOT(itemExpanded (TQListViewItem *))); + connect (this, TQ_SIGNAL(collapsed (TQListViewItem *)), this, TQ_SLOT(itemCollapsed (TQListViewItem *))); } PhraseTree::~PhraseTree (){ diff --git a/kmouth/phrasebook/phrasetree.h b/kmouth/phrasebook/phrasetree.h index a4936f4..b8d578e 100644 --- a/kmouth/phrasebook/phrasetree.h +++ b/kmouth/phrasebook/phrasetree.h @@ -59,7 +59,7 @@ private: class PhraseTree : public TDEListView { friend class PhraseTreeItem; - Q_OBJECT + TQ_OBJECT public: PhraseTree (TQWidget *parent = 0, const char *name = 0); diff --git a/kmouth/phraselist.cpp b/kmouth/phraselist.cpp index 24df32f..cbef4fd 100644 --- a/kmouth/phraselist.cpp +++ b/kmouth/phraselist.cpp @@ -51,7 +51,7 @@ PhraseList::PhraseList(TQWidget *parent, const char *name) : TQWidget(parent,nam TQVBoxLayout *layout = new TQVBoxLayout (this); listBox = new TDEListBox (this); - listBox->setFocusPolicy(TQ_NoFocus); + listBox->setFocusPolicy(TQWidget::NoFocus); listBox->setSelectionMode (TQListBox::Extended); TQWhatsThis::add (listBox, i18n("This list contains the history of spoken sentences. You can select sentences and press the speak button for re-speaking.")); layout->addWidget(listBox); @@ -66,7 +66,7 @@ PhraseList::PhraseList(TQWidget *parent, const char *name) : TQWidget(parent,nam rowLayout->addWidget(dictionaryCombo); lineEdit = new PhraseEdit ("", this); - lineEdit->setFocusPolicy(TQ_StrongFocus); + lineEdit->setFocusPolicy(TQWidget::StrongFocus); lineEdit->setFrame(true); lineEdit->setEchoMode(TQLineEdit::Normal); lineEdit->setCompletionObject (completion); @@ -77,18 +77,18 @@ PhraseList::PhraseList(TQWidget *parent, const char *name) : TQWidget(parent,nam TQIconSet icon = TDEGlobal::iconLoader()->loadIconSet("speak", TDEIcon::Small); speakButton = new TQPushButton (icon, i18n("&Speak"), this); - speakButton->setFocusPolicy(TQ_NoFocus); + speakButton->setFocusPolicy(TQWidget::NoFocus); speakButton->setAutoDefault(false); TQWhatsThis::add (speakButton, i18n("Speaks the currently active sentence(s). If there is some text in the edit field it is spoken. Otherwise the selected sentences in the history (if any) are spoken.")); rowLayout->addWidget(speakButton); - connect(dictionaryCombo, TQT_SIGNAL (activated (const TQString &)), completion, TQT_SLOT (setWordList(const TQString &))); - connect(completion, TQT_SIGNAL (wordListsChanged (const TQStringList &)), this, TQT_SLOT (configureCompletionCombo (const TQStringList &))); - connect(listBox, TQT_SIGNAL(selectionChanged()), TQT_SLOT(selectionChanged())); - connect(listBox, TQT_SIGNAL(contextMenuRequested (TQListBoxItem *, const TQPoint &)), TQT_SLOT(contextMenuRequested (TQListBoxItem *, const TQPoint &))); - connect(lineEdit, TQT_SIGNAL(returnPressed(const TQString &)), TQT_SLOT(lineEntered(const TQString &))); - connect(lineEdit, TQT_SIGNAL(textChanged (const TQString &)), TQT_SLOT(textChanged(const TQString &))); - connect(speakButton, TQT_SIGNAL( clicked ()), TQT_SLOT(speak())); + connect(dictionaryCombo, TQ_SIGNAL (activated (const TQString &)), completion, TQ_SLOT (setWordList(const TQString &))); + connect(completion, TQ_SIGNAL (wordListsChanged (const TQStringList &)), this, TQ_SLOT (configureCompletionCombo (const TQStringList &))); + connect(listBox, TQ_SIGNAL(selectionChanged()), TQ_SLOT(selectionChanged())); + connect(listBox, TQ_SIGNAL(contextMenuRequested (TQListBoxItem *, const TQPoint &)), TQ_SLOT(contextMenuRequested (TQListBoxItem *, const TQPoint &))); + connect(lineEdit, TQ_SIGNAL(returnPressed(const TQString &)), TQ_SLOT(lineEntered(const TQString &))); + connect(lineEdit, TQ_SIGNAL(textChanged (const TQString &)), TQ_SLOT(textChanged(const TQString &))); + connect(speakButton, TQ_SIGNAL( clicked ()), TQ_SLOT(speak())); } PhraseList::~PhraseList() { diff --git a/kmouth/phraselist.h b/kmouth/phraselist.h index 492082e..d27a74e 100644 --- a/kmouth/phraselist.h +++ b/kmouth/phraselist.h @@ -39,7 +39,7 @@ class WordCompletion; */ class PhraseList : public TQWidget { - Q_OBJECT + TQ_OBJECT public: PhraseList(TQWidget *parent=0, const char *name=0); diff --git a/kmouth/phraselistitem.cpp b/kmouth/phraselistitem.cpp index 10d29ae..721e893 100644 --- a/kmouth/phraselistitem.cpp +++ b/kmouth/phraselistitem.cpp @@ -46,7 +46,7 @@ void PhraseListItem::paint (TQPainter *p) { if (drawCursor()) { TQRect r (0, 0, listBox()->maxItemWidth(), height (listBox())); - listBox()->style().tqdrawPrimitive (TQStyle::PE_FocusRect, p, r, + listBox()->style().drawPrimitive (TQStyle::PE_FocusRect, p, r, listBox()->colorGroup()); } } diff --git a/kmouth/speech.cpp b/kmouth/speech.cpp index ae68838..ad80946 100644 --- a/kmouth/speech.cpp +++ b/kmouth/speech.cpp @@ -206,10 +206,10 @@ void Speech::speak(TQString command, bool stdIn, const TQString &text, const TQS // 3. create a new process process << command; - connect(&process, TQT_SIGNAL(processExited(TDEProcess *)), this, TQT_SLOT(processExited(TDEProcess *))); - connect(&process, TQT_SIGNAL(wroteStdin(TDEProcess *)), this, TQT_SLOT(wroteStdin(TDEProcess *))); - connect(&process, TQT_SIGNAL(receivedStdout(TDEProcess *, char *, int)), this, TQT_SLOT(receivedStdout(TDEProcess *, char *, int))); - connect(&process, TQT_SIGNAL(receivedStderr(TDEProcess *, char *, int)), this, TQT_SLOT(receivedStderr(TDEProcess *, char *, int))); + connect(&process, TQ_SIGNAL(processExited(TDEProcess *)), this, TQ_SLOT(processExited(TDEProcess *))); + connect(&process, TQ_SIGNAL(wroteStdin(TDEProcess *)), this, TQ_SLOT(wroteStdin(TDEProcess *))); + connect(&process, TQ_SIGNAL(receivedStdout(TDEProcess *, char *, int)), this, TQ_SLOT(receivedStdout(TDEProcess *, char *, int))); + connect(&process, TQ_SIGNAL(receivedStderr(TDEProcess *, char *, int)), this, TQ_SLOT(receivedStderr(TDEProcess *, char *, int))); // 4. start the process if (stdIn) { diff --git a/kmouth/speech.h b/kmouth/speech.h index 145b032..87fa3fd 100644 --- a/kmouth/speech.h +++ b/kmouth/speech.h @@ -28,7 +28,7 @@ */ class Speech : public TQObject { - Q_OBJECT + TQ_OBJECT public: enum CharacterCodec { diff --git a/kmouth/texttospeechconfigurationui.ui b/kmouth/texttospeechconfigurationui.ui index afbcfd6..babf3a6 100644 --- a/kmouth/texttospeechconfigurationui.ui +++ b/kmouth/texttospeechconfigurationui.ui @@ -157,9 +157,9 @@ </widget> </vbox> </widget> -<Q_SIGNALS> +<signals> <signal>configurationChanged()</signal> -</Q_SIGNALS> +</signals> <layoutdefaults spacing="6" margin="11"/> <includes> <include location="global" impldecl="in implementation">kurlrequester.h</include> diff --git a/kmouth/texttospeechsystem.h b/kmouth/texttospeechsystem.h index 8ad7782..67ae00e 100644 --- a/kmouth/texttospeechsystem.h +++ b/kmouth/texttospeechsystem.h @@ -30,7 +30,7 @@ class TDEConfig; */ class TextToSpeechSystem : public TQObject{ - Q_OBJECT + TQ_OBJECT friend class TextToSpeechConfigurationWidget; public: diff --git a/kmouth/wordcompletion/creationsourcedetailsui.ui b/kmouth/wordcompletion/creationsourcedetailsui.ui index 1efd8bd..838f5e2 100644 --- a/kmouth/wordcompletion/creationsourcedetailsui.ui +++ b/kmouth/wordcompletion/creationsourcedetailsui.ui @@ -169,9 +169,9 @@ <variables> <variable access="public">KLanguageButton *languageButton;</variable> </variables> -<Q_SLOTS> +<slots> <slot access="protected" specifier="non virtual">languageButton_activated( int index )</slot> -</Q_SLOTS> +</slots> <functions> <function access="private" specifier="non virtual">init()</function> </functions> diff --git a/kmouth/wordcompletion/creationsourcedetailsui.ui.h b/kmouth/wordcompletion/creationsourcedetailsui.ui.h index 12869aa..384cd1f 100644 --- a/kmouth/wordcompletion/creationsourcedetailsui.ui.h +++ b/kmouth/wordcompletion/creationsourcedetailsui.ui.h @@ -17,7 +17,7 @@ void CreationSourceDetailsUI::init() { loadLanguageList(languageButton); languageButton->insertLanguage("??", i18n("Other"), TQString::fromLatin1("l10n/"), TQString()); - connect (languageButton, TQT_SIGNAL(activated(int)), this, TQT_SLOT(languageButton_activated(int))); + connect (languageButton, TQ_SIGNAL(activated(int)), this, TQ_SLOT(languageButton_activated(int))); } void CreationSourceDetailsUI::languageButton_activated (int) { diff --git a/kmouth/wordcompletion/dictionarycreationwizard.cpp b/kmouth/wordcompletion/dictionarycreationwizard.cpp index 7211768..920fdd1 100644 --- a/kmouth/wordcompletion/dictionarycreationwizard.cpp +++ b/kmouth/wordcompletion/dictionarycreationwizard.cpp @@ -72,11 +72,11 @@ DictionaryCreationWizard::DictionaryCreationWizard (TQWidget *parent, const char mergeWidget = new MergeWidget (this, "merge source page", dictionaryNames, dictionaryFiles, dictionaryLanguages); addPage (mergeWidget, i18n("Source of New Dictionary (2)")); - connect (creationSource->fileButton, TQT_SIGNAL (toggled(bool)), this, TQT_SLOT(calculateAppropriate(bool)) ); - connect (creationSource->directoryButton,TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(calculateAppropriate(bool)) ); - connect (creationSource->kdeDocButton, TQT_SIGNAL (toggled(bool)), this, TQT_SLOT(calculateAppropriate(bool)) ); - connect (creationSource->mergeButton, TQT_SIGNAL (toggled(bool)), this, TQT_SLOT(calculateAppropriate(bool)) ); - connect (creationSource->emptyButton, TQT_SIGNAL (toggled(bool)), this, TQT_SLOT(calculateAppropriate(bool)) ); + connect (creationSource->fileButton, TQ_SIGNAL (toggled(bool)), this, TQ_SLOT(calculateAppropriate(bool)) ); + connect (creationSource->directoryButton,TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(calculateAppropriate(bool)) ); + connect (creationSource->kdeDocButton, TQ_SIGNAL (toggled(bool)), this, TQ_SLOT(calculateAppropriate(bool)) ); + connect (creationSource->mergeButton, TQ_SIGNAL (toggled(bool)), this, TQ_SLOT(calculateAppropriate(bool)) ); + connect (creationSource->emptyButton, TQ_SIGNAL (toggled(bool)), this, TQ_SLOT(calculateAppropriate(bool)) ); calculateAppropriate (true); } @@ -301,7 +301,7 @@ MergeWidget::MergeWidget(KWizard *parent, const char *name, checkbox->setChecked (true); numInput->setRange (1, 100, 10, true); numInput->setValue (100); - connect (checkbox, TQT_SIGNAL (toggled(bool)), numInput, TQT_SLOT(setEnabled(bool))); + connect (checkbox, TQ_SIGNAL (toggled(bool)), numInput, TQ_SLOT(setEnabled(bool))); dictionaries.insert(*fIt, checkbox); weights.insert(*fIt, numInput); diff --git a/kmouth/wordcompletion/dictionarycreationwizard.h b/kmouth/wordcompletion/dictionarycreationwizard.h index fb82fcd..0e589ad 100644 --- a/kmouth/wordcompletion/dictionarycreationwizard.h +++ b/kmouth/wordcompletion/dictionarycreationwizard.h @@ -41,7 +41,7 @@ class MergeWidget; * completion. */ class DictionaryCreationWizard : public KWizard { - Q_OBJECT + TQ_OBJECT public: DictionaryCreationWizard (TQWidget *parent, const char *name, @@ -76,7 +76,7 @@ private: * @author Gunnar Schmi Dt */ class MergeWidget : public TQScrollView { - Q_OBJECT + TQ_OBJECT public: MergeWidget(KWizard *parent, const char *name, @@ -100,7 +100,7 @@ private: * @author Gunnar Schmi Dt */ class CompletionWizardWidget : public KDEDocSourceUI { - Q_OBJECT + TQ_OBJECT friend class ConfigWizard; public: diff --git a/kmouth/wordcompletion/klanguagebutton.cpp b/kmouth/wordcompletion/klanguagebutton.cpp index ffb6715..9d72f3a 100644 --- a/kmouth/wordcompletion/klanguagebutton.cpp +++ b/kmouth/wordcompletion/klanguagebutton.cpp @@ -123,10 +123,10 @@ void KLanguageButton::insertSubmenu( const TQString &text, const TQString &tag, checkInsertPos( pi, text, index ); pi->insertItem( text, p, count(), index ); m_tags->append( tag ); - connect( p, TQT_SIGNAL( activated( int ) ), - TQT_SLOT( slotActivated( int ) ) ); - connect( p, TQT_SIGNAL( highlighted( int ) ), this, - TQT_SIGNAL( highlighted( int ) ) ); + connect( p, TQ_SIGNAL( activated( int ) ), + TQ_SLOT( slotActivated( int ) ) ); + connect( p, TQ_SIGNAL( highlighted( int ) ), this, + TQ_SIGNAL( highlighted( int ) ) ); } void KLanguageButton::insertLanguage( const TQString& path, const TQString& name, @@ -169,10 +169,10 @@ void KLanguageButton::clear() setPopup( m_popup ); - connect( m_popup, TQT_SIGNAL( activated( int ) ), - TQT_SLOT( slotActivated( int ) ) ); - connect( m_popup, TQT_SIGNAL( highlighted( int ) ), - TQT_SIGNAL( highlighted( int ) ) ); + connect( m_popup, TQ_SIGNAL( activated( int ) ), + TQ_SLOT( slotActivated( int ) ) ); + connect( m_popup, TQ_SIGNAL( highlighted( int ) ), + TQ_SIGNAL( highlighted( int ) ) ); setText( TQString() ); setIconSet( TQIconSet() ); diff --git a/kmouth/wordcompletion/klanguagebutton.h b/kmouth/wordcompletion/klanguagebutton.h index 385e363..d061b7e 100644 --- a/kmouth/wordcompletion/klanguagebutton.h +++ b/kmouth/wordcompletion/klanguagebutton.h @@ -39,7 +39,7 @@ */ class KLanguageButton : public TQPushButton { - Q_OBJECT + TQ_OBJECT public: diff --git a/kmouth/wordcompletion/wordcompletion.h b/kmouth/wordcompletion/wordcompletion.h index c7304f8..ff87820 100644 --- a/kmouth/wordcompletion/wordcompletion.h +++ b/kmouth/wordcompletion/wordcompletion.h @@ -8,7 +8,7 @@ */ class WordCompletion : public TDECompletion { friend class WordListWidget; - Q_OBJECT + TQ_OBJECT public: WordCompletion(); diff --git a/kmouth/wordcompletion/wordcompletionui.ui b/kmouth/wordcompletion/wordcompletionui.ui index c195cf0..92e4909 100644 --- a/kmouth/wordcompletion/wordcompletionui.ui +++ b/kmouth/wordcompletion/wordcompletionui.ui @@ -277,9 +277,9 @@ <variables> <variable access="public">KLanguageButton *languageButton;</variable> </variables> -<Q_SLOTS> +<slots> <slot access="protected" specifier="non virtual">languageButton_activated( int index )</slot> -</Q_SLOTS> +</slots> <functions> <function access="private" specifier="non virtual">init()</function> </functions> diff --git a/kmouth/wordcompletion/wordcompletionui.ui.h b/kmouth/wordcompletion/wordcompletionui.ui.h index 6ce5e75..f1c3728 100644 --- a/kmouth/wordcompletion/wordcompletionui.ui.h +++ b/kmouth/wordcompletion/wordcompletionui.ui.h @@ -17,7 +17,7 @@ void WordCompletionUI::init() { loadLanguageList(languageButton); languageButton->insertLanguage("??", i18n("Other"), TQString::fromLatin1("l10n/"), TQString()); - connect (languageButton, TQT_SIGNAL(activated(int)), this, TQT_SLOT(languageButton_activated(int))); + connect (languageButton, TQ_SIGNAL(activated(int)), this, TQ_SLOT(languageButton_activated(int))); } void WordCompletionUI::languageButton_activated (int) { diff --git a/kmouth/wordcompletion/wordcompletionwidget.cpp b/kmouth/wordcompletion/wordcompletionwidget.cpp index 6e6002d..2ba1fb2 100644 --- a/kmouth/wordcompletion/wordcompletionwidget.cpp +++ b/kmouth/wordcompletion/wordcompletionwidget.cpp @@ -95,15 +95,15 @@ WordCompletionWidget::WordCompletionWidget(TQWidget *parent, const char *name) : dictionaryList->setSorting (-1); // no sorted list // Connect the signals from hte KCMKTTSDWidget to this class - connect (addButton, TQT_SIGNAL (clicked()), this, TQT_SLOT(addDictionary()) ); - connect (deleteButton, TQT_SIGNAL (clicked()), this, TQT_SLOT (deleteDictionary()) ); - connect (moveUpButton, TQT_SIGNAL (clicked()), this, TQT_SLOT (moveUp()) ); - connect (moveDownButton, TQT_SIGNAL (clicked()), this, TQT_SLOT (moveDown()) ); - connect (exportButton, TQT_SIGNAL (clicked()), this, TQT_SLOT (exportDictionary()) ); - - connect (dictionaryList, TQT_SIGNAL (selectionChanged()), this, TQT_SLOT (selectionChanged()) ); - connect (dictionaryName, TQT_SIGNAL (textChanged (const TQString &)), this, TQT_SLOT (nameChanged (const TQString &)) ); - connect (languageButton, TQT_SIGNAL (activated (int)), this, TQT_SLOT (languageSelected(int)) ); + connect (addButton, TQ_SIGNAL (clicked()), this, TQ_SLOT(addDictionary()) ); + connect (deleteButton, TQ_SIGNAL (clicked()), this, TQ_SLOT (deleteDictionary()) ); + connect (moveUpButton, TQ_SIGNAL (clicked()), this, TQ_SLOT (moveUp()) ); + connect (moveDownButton, TQ_SIGNAL (clicked()), this, TQ_SLOT (moveDown()) ); + connect (exportButton, TQ_SIGNAL (clicked()), this, TQ_SLOT (exportDictionary()) ); + + connect (dictionaryList, TQ_SIGNAL (selectionChanged()), this, TQ_SLOT (selectionChanged()) ); + connect (dictionaryName, TQ_SIGNAL (textChanged (const TQString &)), this, TQ_SLOT (nameChanged (const TQString &)) ); + connect (languageButton, TQ_SIGNAL (activated (int)), this, TQ_SLOT (languageSelected(int)) ); // Object for the KCMKTTSD configuration config = new TDEConfig("kmouthrc"); diff --git a/kmouth/wordcompletion/wordcompletionwidget.h b/kmouth/wordcompletion/wordcompletionwidget.h index a3f5088..80532b0 100644 --- a/kmouth/wordcompletion/wordcompletionwidget.h +++ b/kmouth/wordcompletion/wordcompletionwidget.h @@ -29,7 +29,7 @@ class KLanguageButton; * @author Gunnar Schmi Dt */ class WordCompletionWidget : public WordCompletionUI { - Q_OBJECT + TQ_OBJECT public: WordCompletionWidget(TQWidget *parent, const char *name); diff --git a/kmouth/wordcompletion/wordlist.cpp b/kmouth/wordcompletion/wordlist.cpp index adf73cb..2031c8e 100644 --- a/kmouth/wordcompletion/wordlist.cpp +++ b/kmouth/wordcompletion/wordlist.cpp @@ -160,7 +160,7 @@ void addWords (WordMap &map, WordMap add) { void addWordsFromFile (WordMap &map, TQString filename, TQTextStream::Encoding encoding, TQTextCodec *codec) { TQFile xmlfile(filename); - TQXmlInputSource source (TQT_TQIODEVICE(&xmlfile)); + TQXmlInputSource source (&xmlfile); XMLParser parser; TQXmlSimpleReader reader; reader.setFeature ("http://trolltech.com/xml/features/report-start-end-entity", true); diff --git a/ksayit/Freeverb_plugin/freeverb_setup.ui b/ksayit/Freeverb_plugin/freeverb_setup.ui index 5474e16..c34a642 100644 --- a/ksayit/Freeverb_plugin/freeverb_setup.ui +++ b/ksayit/Freeverb_plugin/freeverb_setup.ui @@ -653,14 +653,14 @@ <slot>slotOKwasClicked()</slot> </connection> </connections> -<Q_SLOTS> +<slots> <slot>sliderRoomChanged(int)</slot> <slot>sliderDampChanged(int)</slot> <slot>sliderWetChanged(int)</slot> <slot>sliderDryChanged(int)</slot> <slot>sliderWidthChanged(int)</slot> <slot>slotOKwasClicked()</slot> -</Q_SLOTS> +</slots> <layoutdefaults spacing="6" margin="11"/> <includes> <include location="global" impldecl="in implementation">kpushbutton.h</include> diff --git a/ksayit/Freeverb_plugin/freeverbsetupimpl.h b/ksayit/Freeverb_plugin/freeverbsetupimpl.h index 6e2eab3..1831ad3 100644 --- a/ksayit/Freeverb_plugin/freeverbsetupimpl.h +++ b/ksayit/Freeverb_plugin/freeverbsetupimpl.h @@ -32,7 +32,7 @@ */ class FreeverbSetupImpl : public Freeverb_Setup { - Q_OBJECT + TQ_OBJECT public: FreeverbSetupImpl(TQWidget *parent=0, const char *name=0, bool modal=true, TDEConfig *config=0); diff --git a/ksayit/Freeverb_plugin/kdeexportfix.h b/ksayit/Freeverb_plugin/kdeexportfix.h index 958dd20..8ec6f7b 100644 --- a/ksayit/Freeverb_plugin/kdeexportfix.h +++ b/ksayit/Freeverb_plugin/kdeexportfix.h @@ -1,5 +1,5 @@ /* - tdelibs < 3.3.2 had a bug in the KDE_EXPORT macro. This file fixes this + tdelibs < 3.3.2 had a bug in the TDE_EXPORT macro. This file fixes this by undefining it. ------------------- Copyright : (C) 2005 by Gary Cramblitt <garycramblitt@comcast.net> @@ -17,6 +17,6 @@ #include <tdeversion.h> #if TDE_VERSION < TDE_MAKE_VERSION (3,3,2) -#undef KDE_EXPORT -#define KDE_EXPORT +#undef TDE_EXPORT +#define TDE_EXPORT #endif diff --git a/ksayit/Freeverb_plugin/ksayitfreeverblib.cpp b/ksayit/Freeverb_plugin/ksayitfreeverblib.cpp index 1141e68..418bae3 100644 --- a/ksayit/Freeverb_plugin/ksayitfreeverblib.cpp +++ b/ksayit/Freeverb_plugin/ksayitfreeverblib.cpp @@ -17,7 +17,7 @@ // KDE includes #include <kdebug.h> #include <tdelocale.h> -#include <kdemacros.h> +#include <tdemacros.h> #include <arts/artsmodules.h> // App specific includes diff --git a/ksayit/Freeverb_plugin/ksayitfreeverblib.h b/ksayit/Freeverb_plugin/ksayitfreeverblib.h index a8ef9c3..ede1dc2 100644 --- a/ksayit/Freeverb_plugin/ksayitfreeverblib.h +++ b/ksayit/Freeverb_plugin/ksayitfreeverblib.h @@ -20,13 +20,13 @@ #include <ksimpleconfig.h> #include <tdeapplication.h> #include <klibloader.h> -#include <kinstance.h> +#include <tdeinstance.h> #include "ksayit_fxplugin.h" class FreeverbPluginFactory : public KLibFactory { -Q_OBJECT +TQ_OBJECT public: // Consturctor @@ -50,7 +50,7 @@ private: class FreeverbPlugin : public FXPlugin { -Q_OBJECT +TQ_OBJECT public: // Constructor diff --git a/ksayit/KTTSD_Lib/KTTSDlibSetup.ui b/ksayit/KTTSD_Lib/KTTSDlibSetup.ui index 395ad86..fc35ff5 100644 --- a/ksayit/KTTSD_Lib/KTTSDlibSetup.ui +++ b/ksayit/KTTSD_Lib/KTTSDlibSetup.ui @@ -114,8 +114,8 @@ <slot>slotLaunchControlcenter()</slot> </connection> </connections> -<Q_SLOTS> +<slots> <slot access="protected">slotLaunchControlcenter()</slot> -</Q_SLOTS> +</slots> <layoutdefaults spacing="6" margin="11"/> </UI> diff --git a/ksayit/KTTSD_Lib/kdeexportfix.h b/ksayit/KTTSD_Lib/kdeexportfix.h index 958dd20..8ec6f7b 100644 --- a/ksayit/KTTSD_Lib/kdeexportfix.h +++ b/ksayit/KTTSD_Lib/kdeexportfix.h @@ -1,5 +1,5 @@ /* - tdelibs < 3.3.2 had a bug in the KDE_EXPORT macro. This file fixes this + tdelibs < 3.3.2 had a bug in the TDE_EXPORT macro. This file fixes this by undefining it. ------------------- Copyright : (C) 2005 by Gary Cramblitt <garycramblitt@comcast.net> @@ -17,6 +17,6 @@ #include <tdeversion.h> #if TDE_VERSION < TDE_MAKE_VERSION (3,3,2) -#undef KDE_EXPORT -#define KDE_EXPORT +#undef TDE_EXPORT +#define TDE_EXPORT #endif diff --git a/ksayit/KTTSD_Lib/kttsdlib.cpp b/ksayit/KTTSD_Lib/kttsdlib.cpp index 32e66e4..31be41d 100644 --- a/ksayit/KTTSD_Lib/kttsdlib.cpp +++ b/ksayit/KTTSD_Lib/kttsdlib.cpp @@ -32,12 +32,12 @@ KTTSDLib::KTTSDLib(TQObject *parent, const char *name, TDEApplication *Appl) { TDEGlobal::locale()->insertCatalogue("libKTTSD"); m_talker = new kttsdlibtalker2(static_cast<TQObject*>(this), "kttsdlibtalker"); - connect(m_talker, TQT_SIGNAL(signalTextFinished(const uint)), - this, TQT_SLOT(slotTextFinished(const uint)) ); - connect(m_talker, TQT_SIGNAL(signalTextStopped(const uint)), - this, TQT_SLOT(slotTextStopped(const uint)) ); - connect(m_talker, TQT_SIGNAL(signalTextStarted(const uint)), - this, TQT_SLOT(slotTextStarted(const uint)) ); + connect(m_talker, TQ_SIGNAL(signalTextFinished(const uint)), + this, TQ_SLOT(slotTextFinished(const uint)) ); + connect(m_talker, TQ_SIGNAL(signalTextStopped(const uint)), + this, TQ_SLOT(slotTextStopped(const uint)) ); + connect(m_talker, TQ_SIGNAL(signalTextStarted(const uint)), + this, TQ_SLOT(slotTextStarted(const uint)) ); // reset list of currently processed jobs while ( !jobList.empty() ){ diff --git a/ksayit/KTTSD_Lib/kttsdlib.h b/ksayit/KTTSD_Lib/kttsdlib.h index 73e7240..b2d2663 100644 --- a/ksayit/KTTSD_Lib/kttsdlib.h +++ b/ksayit/KTTSD_Lib/kttsdlib.h @@ -21,7 +21,7 @@ using namespace std; #include <tqwidget.h> #include <tqframe.h> -#include <kdemacros.h> +#include <tdemacros.h> #include "kdeexportfix.h" // KDE includes @@ -45,9 +45,9 @@ class kttsdlibtalker2; /** @author Robert Vogl */ -class KDE_EXPORT KTTSDLib : public TQObject +class TDE_EXPORT KTTSDLib : public TQObject { -Q_OBJECT +TQ_OBJECT signals: /** Emitted when the plugin has been finished speeking. diff --git a/ksayit/KTTSD_Lib/kttsdlibsetupimpl.cpp b/ksayit/KTTSD_Lib/kttsdlibsetupimpl.cpp index 1dc4196..7228768 100644 --- a/ksayit/KTTSD_Lib/kttsdlibsetupimpl.cpp +++ b/ksayit/KTTSD_Lib/kttsdlibsetupimpl.cpp @@ -55,8 +55,8 @@ void KTTSDlibSetupImpl::slotLaunchControlcenter() // invoke the Control Center Module TDEProcess *kcmproc = new TDEProcess(); - connect(kcmproc, TQT_SIGNAL(processExited(TDEProcess*)), - this, TQT_SLOT(slotKCMProcessExited(TDEProcess*)) ); + connect(kcmproc, TQ_SIGNAL(processExited(TDEProcess*)), + this, TQ_SLOT(slotKCMProcessExited(TDEProcess*)) ); (*kcmproc) << "tdecmshell"; (*kcmproc) << "kcmkttsd"; kcmproc->start(TDEProcess::NotifyOnExit); diff --git a/ksayit/KTTSD_Lib/kttsdlibsetupimpl.h b/ksayit/KTTSD_Lib/kttsdlibsetupimpl.h index c2b4add..7b1df15 100644 --- a/ksayit/KTTSD_Lib/kttsdlibsetupimpl.h +++ b/ksayit/KTTSD_Lib/kttsdlibsetupimpl.h @@ -25,7 +25,7 @@ */ class KTTSDlibSetupImpl : public KTTSDlibSetup { -Q_OBJECT +TQ_OBJECT public: KTTSDlibSetupImpl(TQWidget *parent = 0, const char *name = 0); diff --git a/ksayit/KTTSD_Lib/kttsdlibtalker2.h b/ksayit/KTTSD_Lib/kttsdlibtalker2.h index fe33161..641b26e 100644 --- a/ksayit/KTTSD_Lib/kttsdlibtalker2.h +++ b/ksayit/KTTSD_Lib/kttsdlibtalker2.h @@ -28,7 +28,7 @@ */ class kttsdlibtalker2 : public TQObject, public KSpeech_stub, virtual public KSpeechSink { -Q_OBJECT +TQ_OBJECT signals: diff --git a/ksayit/ksayit.tdevelop b/ksayit/ksayit.tdevelop deleted file mode 100644 index 2d66eb5..0000000 --- a/ksayit/ksayit.tdevelop +++ /dev/null @@ -1,196 +0,0 @@ -<?xml version = '1.0'?> -<tdevelop> - <general> - <author>Robert Vogl</author> - <email>voglrobe@web.de</email> - <version>0.8.3</version> - <projectmanagement>KDevKDEAutoProject</projectmanagement> - <primarylanguage>C++</primarylanguage> - <keywords> - <keyword>C++</keyword> - <keyword>Code</keyword> - <keyword>Qt</keyword> - <keyword>KDE</keyword> - </keywords> - <projectdirectory>.</projectdirectory> - <absoluteprojectpath>false</absoluteprojectpath> - <description/> - <ignoreparts> - <part>KDevCTags2</part> - <part>Unterstützung für Perforce (KDevelop)</part> - <part>Unterstützung für Subversion (KDevelop)</part> - <part>Unterstützung für CTags (KDevelop)</part> - <part>Unterstützung für CVSService (KDevelop)</part> - </ignoreparts> - <secondaryLanguages/> - </general> - <tdevautoproject> - <general> - <activetarget>KTTSD_Lib/libKTTSD_Lib.la</activetarget> - <useconfiguration>debug</useconfiguration> - </general> - <run> - <mainprogram>src/ksayit</mainprogram> - <directoryradio>executable</directoryradio> - <runarguments> - <ksayit/> - </runarguments> - <customdirectory>/</customdirectory> - <programargs/> - <terminal>false</terminal> - <autocompile>true</autocompile> - <envvars/> - </run> - <configurations> - <optimized> - <builddir>optimized</builddir> - <ccompiler>tdevgccoptions</ccompiler> - <cxxcompiler>tdevgppoptions</cxxcompiler> - <f77compiler>tdevg77options</f77compiler> - <cxxflags>-O2 -g0</cxxflags> - </optimized> - <debug> - <configargs>--enable-debug=full</configargs> - <builddir>debug</builddir> - <ccompiler>tdevgccoptions</ccompiler> - <cxxcompiler>tdevgppoptions</cxxcompiler> - <f77compiler>tdevg77options</f77compiler> - <cxxflags>-O0</cxxflags> - <topsourcedir/> - <cppflags/> - <ldflags/> - <ccompilerbinary/> - <cxxcompilerbinary/> - <f77compilerbinary/> - <cflags/> - <f77flags/> - <envvars/> - </debug> - </configurations> - <make> - <envvars> - <envvar value="1" name="WANT_AUTOCONF_2_5" /> - <envvar value="1" name="WANT_AUTOMAKE_1_6" /> - </envvars> - <abortonerror>true</abortonerror> - <numberofjobs>1</numberofjobs> - <dontact>false</dontact> - <makebin/> - <prio>0</prio> - </make> - </tdevautoproject> - <tdevfileview> - <groups> - <group pattern="*.cpp;*.cxx;*.h" name="Sources" /> - <group pattern="*.ui" name="User Interface" /> - <group pattern="*.png" name="Icons" /> - <group pattern="*.po;*.ts" name="Translations" /> - <group pattern="*" name="Others" /> - <hidenonprojectfiles>false</hidenonprojectfiles> - <hidenonlocation>false</hidenonlocation> - </groups> - <tree> - <hidepatterns>*.o,*.lo,CVS</hidepatterns> - <hidenonprojectfiles>false</hidenonprojectfiles> - </tree> - </tdevfileview> - <tdevdoctreeview> - <ignoretocs> - <toc>ada</toc> - <toc>ada_bugs_gcc</toc> - <toc>bash</toc> - <toc>bash_bugs</toc> - <toc>clanlib</toc> - <toc>w3c-dom-level2-html</toc> - <toc>fortran_bugs_gcc</toc> - <toc>gnome1</toc> - <toc>gnustep</toc> - <toc>gtk</toc> - <toc>gtk_bugs</toc> - <toc>haskell</toc> - <toc>haskell_bugs_ghc</toc> - <toc>java_bugs_gcc</toc> - <toc>java_bugs_sun</toc> - <toc>pascal_bugs_fp</toc> - <toc>php</toc> - <toc>php_bugs</toc> - <toc>perl</toc> - <toc>perl_bugs</toc> - <toc>python</toc> - <toc>python_bugs</toc> - <toc>ruby</toc> - <toc>ruby_bugs</toc> - <toc>sdl</toc> - <toc>w3c-svg</toc> - <toc>sw</toc> - <toc>w3c-uaag10</toc> - <toc>wxwidgets_bugs</toc> - <toc>opengl</toc> - <toc>wxwindows_bugs</toc> - </ignoretocs> - <ignoreqt_xml> - <toc>qmake User Guide</toc> - </ignoreqt_xml> - <projectdoc> - <userdocDir>html/</userdocDir> - <apidocDir>html/</apidocDir> - </projectdoc> - <ignoredoxygen/> - <ignorekdocs/> - <ignoredevhelp/> - </tdevdoctreeview> - <tdevdebugger> - <general> - <dbgshell>libtool</dbgshell> - <programargs/> - <gdbpath/> - <configGdbScript/> - <runShellScript/> - <runGdbScript/> - <breakonloadinglibs>true</breakonloadinglibs> - <separatetty>false</separatetty> - <floatingtoolbar>false</floatingtoolbar> - </general> - <display> - <staticmembers>false</staticmembers> - <demanglenames>true</demanglenames> - <outputradix>10</outputradix> - </display> - </tdevdebugger> - <tdevfilecreate> - <filetypes/> - <useglobaltypes> - <type ext="ui" /> - <type ext="cpp" /> - <type ext="h" /> - </useglobaltypes> - </tdevfilecreate> - <tdevcppsupport> - <references/> - <codecompletion> - <includeGlobalFunctions>true</includeGlobalFunctions> - <includeTypes>true</includeTypes> - <includeEnums>true</includeEnums> - <includeTypedefs>false</includeTypedefs> - <automaticCodeCompletion>true</automaticCodeCompletion> - <automaticArgumentsHint>true</automaticArgumentsHint> - <automaticHeaderCompletion>true</automaticHeaderCompletion> - <codeCompletionDelay>250</codeCompletionDelay> - <argumentsHintDelay>400</argumentsHintDelay> - <headerCompletionDelay>250</headerCompletionDelay> - </codecompletion> - </tdevcppsupport> - <cppsupportpart> - <filetemplates> - <interfacesuffix>.h</interfacesuffix> - <implementationsuffix>.cpp</implementationsuffix> - </filetemplates> - </cppsupportpart> - <tdevdocumentation> - <projectdoc> - <docsystem/> - <docurl/> - <usermanualurl/> - </projectdoc> - </tdevdocumentation> -</tdevelop> diff --git a/ksayit/src/DocTreeView.ui b/ksayit/src/DocTreeView.ui index d66454e..d1240cd 100644 --- a/ksayit/src/DocTreeView.ui +++ b/ksayit/src/DocTreeView.ui @@ -123,7 +123,7 @@ <include location="local" impldecl="in implementation">DocTreeView.ui.h</include> <include location="global" impldecl="in implementation">tdelistview.h</include> </includes> -<Q_SIGNALS> +<signals> <signal>signalContentChanged(const TQString &)</signal> <signal>signalAllNodesProcessed()</signal> <signal>signalSetText(const TQString &)</signal> @@ -132,8 +132,8 @@ <signal>signalSetBookmarkFilename(const TQString&)</signal> <signal>signalChangeBookmarkFilename(const TQString &)</signal> <signal>signalDeleteBookmark(const TQString&, const TQString&)</signal> -</Q_SIGNALS> -<Q_SLOTS> +</signals> +<slots> <slot>slotItemClicked( TQListViewItem * )</slot> <slot access="protected">slotRenameItem()</slot> <slot access="protected">slotDeleteItem()</slot> @@ -154,6 +154,6 @@ <slot access="protected">slotNewSection_4()</slot> <slot access="protected">slotNewSection_5()</slot> <slot>slotRightButtonPressed( TQListViewItem * i, const TQPoint &, int )</slot> -</Q_SLOTS> +</slots> <layoutdefaults spacing="6" margin="11"/> </UI> diff --git a/ksayit/src/KSayItView.ui b/ksayit/src/KSayItView.ui index a01f0af..876ca04 100644 --- a/ksayit/src/KSayItView.ui +++ b/ksayit/src/KSayItView.ui @@ -58,10 +58,10 @@ <tabstops> <tabstop>TextEdit</tabstop> </tabstops> -<Q_SLOTS> +<slots> <slot>slotCopyAvailable(bool)</slot> <slot>slotTextChanged()</slot> -</Q_SLOTS> +</slots> <layoutdefaults spacing="6" margin="11"/> <includes> <include location="global" impldecl="in implementation">ktextedit.h</include> diff --git a/ksayit/src/contextmenuhandler.cpp b/ksayit/src/contextmenuhandler.cpp index d6c5ddb..69cb5a2 100644 --- a/ksayit/src/contextmenuhandler.cpp +++ b/ksayit/src/contextmenuhandler.cpp @@ -158,75 +158,75 @@ void ContextMenuHandler::initActions() // User defined actions renameItem = new TDEAction (i18n("Rename..."), 0, - m_DocTreeView, TQT_SLOT (slotRenameItem()), NULL ); + m_DocTreeView, TQ_SLOT (slotRenameItem()), NULL ); deleteItem = new TDEAction (i18n("Delete..."), 0, - m_DocTreeView, TQT_SLOT (slotDeleteItem()), NULL ); + m_DocTreeView, TQ_SLOT (slotDeleteItem()), NULL ); newBookInfo = new TDEAction ( i18n("Overview"), 0, - m_DocTreeView, TQT_SLOT (slotNewBookInfo()), NULL ); + m_DocTreeView, TQ_SLOT (slotNewBookInfo()), NULL ); newChapter = new TDEAction ( i18n("Chapter"), 0, - m_DocTreeView, TQT_SLOT (slotNewChapter()), NULL ); + m_DocTreeView, TQ_SLOT (slotNewChapter()), NULL ); newKeywordSet = new TDEAction ( i18n("Keywords"), 0, - m_DocTreeView, TQT_SLOT (slotNewKeywordSet()), NULL ); + m_DocTreeView, TQ_SLOT (slotNewKeywordSet()), NULL ); newKeyword = new TDEAction ( i18n("Keyword"), 0, - m_DocTreeView, TQT_SLOT (slotNewKeyword()), NULL ); + m_DocTreeView, TQ_SLOT (slotNewKeyword()), NULL ); newAbstract = new TDEAction ( i18n("Abstract"), 0, - m_DocTreeView, TQT_SLOT (slotNewAbstract()), NULL ); + m_DocTreeView, TQ_SLOT (slotNewAbstract()), NULL ); newAuthorGroup = new TDEAction ( i18n("Authors"), 0, - m_DocTreeView, TQT_SLOT (slotNewAuthorGroup()), NULL ); + m_DocTreeView, TQ_SLOT (slotNewAuthorGroup()), NULL ); newAuthor = new TDEAction ( i18n("Author"), 0, - m_DocTreeView, TQT_SLOT (slotNewAuthor()), NULL ); + m_DocTreeView, TQ_SLOT (slotNewAuthor()), NULL ); newDate = new TDEAction ( i18n("Date"), 0, - m_DocTreeView, TQT_SLOT (slotNewDate()), NULL ); + m_DocTreeView, TQ_SLOT (slotNewDate()), NULL ); newReleaseInfo = new TDEAction ( i18n("Release Info"), 0, - m_DocTreeView, TQT_SLOT (slotNewReleaseInfo()), NULL ); + m_DocTreeView, TQ_SLOT (slotNewReleaseInfo()), NULL ); newTitle = new TDEAction ( i18n("Title"), 0, - m_DocTreeView, TQT_SLOT (slotNewTitle()), NULL ); + m_DocTreeView, TQ_SLOT (slotNewTitle()), NULL ); newParagraph = new TDEAction ( i18n("Paragraph"), 0, - m_DocTreeView, TQT_SLOT (slotNewParagraph()), NULL ); + m_DocTreeView, TQ_SLOT (slotNewParagraph()), NULL ); newSection_1 = new TDEAction ( i18n("Section Level 1"), 0, - m_DocTreeView, TQT_SLOT (slotNewSection_1()), NULL ); + m_DocTreeView, TQ_SLOT (slotNewSection_1()), NULL ); newSection_2 = new TDEAction ( i18n("Section Level 2"), 0, - m_DocTreeView, TQT_SLOT (slotNewSection_2()), NULL ); + m_DocTreeView, TQ_SLOT (slotNewSection_2()), NULL ); newSection_3 = new TDEAction ( i18n("Section Level 3"), 0, - m_DocTreeView, TQT_SLOT (slotNewSection_3()), NULL ); + m_DocTreeView, TQ_SLOT (slotNewSection_3()), NULL ); newSection_4 = new TDEAction ( i18n("Section Level 4"), 0, - m_DocTreeView, TQT_SLOT (slotNewSection_4()), NULL ); + m_DocTreeView, TQ_SLOT (slotNewSection_4()), NULL ); newSection_5 = new TDEAction ( i18n("Section Level 5"), 0, - m_DocTreeView, TQT_SLOT (slotNewSection_5()), NULL ); + m_DocTreeView, TQ_SLOT (slotNewSection_5()), NULL ); } @@ -293,7 +293,7 @@ bool ContextMenuHandler::parseXmlFile(const TQString &xmlID) ContextActionHandler handler(this); handler.setSearchID(xmlID); parser.setContentHandler( &handler ); - return parser.parse( TQT_TQIODEVICE(&xmlFile) ); + return parser.parse( &xmlFile ); } diff --git a/ksayit/src/contextmenuhandler.h b/ksayit/src/contextmenuhandler.h index 104b76c..17b9688 100644 --- a/ksayit/src/contextmenuhandler.h +++ b/ksayit/src/contextmenuhandler.h @@ -66,7 +66,7 @@ private: */ class ContextMenuHandler : public TQObject { -Q_OBJECT +TQ_OBJECT public: ContextMenuHandler(TQObject *parent = 0, const char *name = 0); diff --git a/ksayit/src/doctreeviewimpl.cpp b/ksayit/src/doctreeviewimpl.cpp index f72a717..295098d 100644 --- a/ksayit/src/doctreeviewimpl.cpp +++ b/ksayit/src/doctreeviewimpl.cpp @@ -86,7 +86,7 @@ DocTreeViewImpl::~DocTreeViewImpl() void DocTreeViewImpl::enableContextMenus( bool enabled ) { if ( enabled ){ - m_contextmenuhandler = new ContextMenuHandler(TQT_TQOBJECT(this), "contextmenuhandler"); + m_contextmenuhandler = new ContextMenuHandler(this, "contextmenuhandler"); } else { if ( m_contextmenuhandler ) delete m_contextmenuhandler; @@ -927,7 +927,7 @@ void DocTreeViewImpl::slotNewDate() date->setText(3, TQString("%1").arg(newIndex).rightJustify(8,'0') ); // get current date TQString today; - today = TDEGlobal::locale()->formatDate(TQDate::currentDate(Qt::LocalTime), true); + today = TDEGlobal::locale()->formatDate(TQDate::currentDate(TQt::LocalTime), true); date->setText( 1, today); date->setValue( KSayItGlobal::RAWDATA, today ); date->setValue( KSayItGlobal::RTFDATA, today ); diff --git a/ksayit/src/fx_setup.ui b/ksayit/src/fx_setup.ui index 4e9e975..f41944e 100644 --- a/ksayit/src/fx_setup.ui +++ b/ksayit/src/fx_setup.ui @@ -242,11 +242,11 @@ <slot>slotConfigureEffect(TQListBoxItem*)</slot> </connection> </connections> -<Q_SLOTS> +<slots> <slot>slotAdd()</slot> <slot>slotRemove()</slot> <slot>slotRemoveAll()</slot> <slot>slotConfigureEffect(TQListBoxItem*)</slot> -</Q_SLOTS> +</slots> <layoutdefaults spacing="6" margin="11"/> </UI> diff --git a/ksayit/src/fxpluginhandler.h b/ksayit/src/fxpluginhandler.h index 92db2da..bffc6ef 100644 --- a/ksayit/src/fxpluginhandler.h +++ b/ksayit/src/fxpluginhandler.h @@ -46,7 +46,7 @@ typedef struct { class FXPluginHandler : public TQObject { -Q_OBJECT +TQ_OBJECT public: FXPluginHandler(TQObject *parent = 0, const char *name = 0, TDEConfig *config=0); diff --git a/ksayit/src/fxsetupimpl.h b/ksayit/src/fxsetupimpl.h index 422368e..51286c9 100644 --- a/ksayit/src/fxsetupimpl.h +++ b/ksayit/src/fxsetupimpl.h @@ -36,7 +36,7 @@ class FXPluginHandler; *@author voglrobe */ class FX_SetupImpl : public FX_Setup { - Q_OBJECT + TQ_OBJECT public: diff --git a/ksayit/src/ksayit.cpp b/ksayit/src/ksayit.cpp index 8181a87..67c466f 100644 --- a/ksayit/src/ksayit.cpp +++ b/ksayit/src/ksayit.cpp @@ -70,7 +70,7 @@ KSayItApp::KSayItApp(TQWidget* parent, const char* name, WFlags f, m_currentBookmarkFile = TQString(); config=kapp->config(); - m_kttslib = new KTTSDLib(TQT_TQOBJECT(this), "KTTSD-Library", kapp); + m_kttslib = new KTTSDLib(this, "KTTSD-Library", kapp); initView(); initStatusBar(); @@ -83,32 +83,32 @@ KSayItApp::KSayItApp(TQWidget* parent, const char* name, WFlags f, readOptions(); // connect TTS plugin handler to this object - connect(m_kttslib, TQT_SIGNAL(signalFinished()), - TQT_TQOBJECT(this), TQT_SLOT(slotTTSFinished()) ); + connect(m_kttslib, TQ_SIGNAL(signalFinished()), + this, TQ_SLOT(slotTTSFinished()) ); // only used if library thinks it has to call the preferences dialog. // e.g. when it detects a bad configuration. - connect(m_kttslib, TQT_SIGNAL(signalCallPreferences()), - TQT_TQOBJECT(this), TQT_SLOT(slotPreferences()) ); + connect(m_kttslib, TQ_SIGNAL(signalCallPreferences()), + this, TQ_SLOT(slotPreferences()) ); // init Clipboard cb = TQApplication::clipboard(); - connect(cb, TQT_SIGNAL(dataChanged()), TQT_TQOBJECT(this), TQT_SLOT(slotClipboardChanged()) ); + connect(cb, TQ_SIGNAL(dataChanged()), this, TQ_SLOT(slotClipboardChanged()) ); // create SystemTray object tray = new KSayItSystemTray(this, "system_tray"); - connect(tray, TQT_SIGNAL(signalCallPreferences()), TQT_TQOBJECT(this), TQT_SLOT(slotPreferences()) ); - connect(tray, TQT_SIGNAL(signalSayActivated()), TQT_TQOBJECT(this), TQT_SLOT(slotSayText()) ); - connect(tray, TQT_SIGNAL(signalSayClipboard()), TQT_TQOBJECT(this), TQT_SLOT(slotSayClipboard()) ); - connect(tray, TQT_SIGNAL(signalShutUpActivated()), TQT_TQOBJECT(this), TQT_SLOT(slotStopActivated()) ); - connect(tray, TQT_SIGNAL(signalPauseActivated()), TQT_TQOBJECT(this), TQT_SLOT(slotPauseActivated()) ); - connect(tray, TQT_SIGNAL(signalNextActivated()), TQT_TQOBJECT(this), TQT_SLOT(slotNextSentenceActivated()) ); - connect(tray, TQT_SIGNAL(signalPrevActivated()), TQT_TQOBJECT(this), TQT_SLOT(slotPrevSentenceActivated()) ); + connect(tray, TQ_SIGNAL(signalCallPreferences()), this, TQ_SLOT(slotPreferences()) ); + connect(tray, TQ_SIGNAL(signalSayActivated()), this, TQ_SLOT(slotSayText()) ); + connect(tray, TQ_SIGNAL(signalSayClipboard()), this, TQ_SLOT(slotSayClipboard()) ); + connect(tray, TQ_SIGNAL(signalShutUpActivated()), this, TQ_SLOT(slotStopActivated()) ); + connect(tray, TQ_SIGNAL(signalPauseActivated()), this, TQ_SLOT(slotPauseActivated()) ); + connect(tray, TQ_SIGNAL(signalNextActivated()), this, TQ_SLOT(slotNextSentenceActivated()) ); + connect(tray, TQ_SIGNAL(signalPrevActivated()), this, TQ_SLOT(slotPrevSentenceActivated()) ); tray->show(); tray->setEnabled(true); // create the FX plugin handler - m_fxpluginhandler = new FXPluginHandler(TQT_TQOBJECT(this), "fxpluginhandler", config); + m_fxpluginhandler = new FXPluginHandler(this, "fxpluginhandler", config); m_fxpluginhandler->searchPlugins(); // create object for effectstack @@ -141,61 +141,61 @@ KSayItApp::~KSayItApp() void KSayItApp::initActions() { // Standard-Actions - open = KStdAction::open(TQT_TQOBJECT(this), TQT_SLOT(slotFileOpen()), actionCollection()); - save = KStdAction::save(TQT_TQOBJECT(this), TQT_SLOT(slotFileSave()), actionCollection()); - saveAs = KStdAction::saveAs(TQT_TQOBJECT(this), TQT_SLOT(slotFileSaveAs()), actionCollection()); - KStdAction::quit(TQT_TQOBJECT(this), TQT_SLOT(slotFileQuit()), actionCollection()); - KStdAction::close(TQT_TQOBJECT(this), TQT_SLOT(slotCloseMainWindow()), actionCollection()); - cut = KStdAction::cut(TQT_TQOBJECT(view), TQT_SLOT(slotCut()), actionCollection()); - copy = KStdAction::copy(TQT_TQOBJECT(view), TQT_SLOT(slotCopy()), actionCollection()); - paste = KStdAction::paste(TQT_TQOBJECT(view), TQT_SLOT(slotPaste()), actionCollection()); - preferences = KStdAction::preferences(TQT_TQOBJECT(this), TQT_SLOT(slotPreferences()), actionCollection()); - KStdAction::keyBindings(TQT_TQOBJECT(this), TQT_SLOT(slotEditKeys()), actionCollection()); - KStdAction::configureToolbars(TQT_TQOBJECT(this), TQT_SLOT(slotConfigureToolbar()), actionCollection()); + open = KStdAction::open(this, TQ_SLOT(slotFileOpen()), actionCollection()); + save = KStdAction::save(this, TQ_SLOT(slotFileSave()), actionCollection()); + saveAs = KStdAction::saveAs(this, TQ_SLOT(slotFileSaveAs()), actionCollection()); + KStdAction::quit(this, TQ_SLOT(slotFileQuit()), actionCollection()); + KStdAction::close(this, TQ_SLOT(slotCloseMainWindow()), actionCollection()); + cut = KStdAction::cut(view, TQ_SLOT(slotCut()), actionCollection()); + copy = KStdAction::copy(view, TQ_SLOT(slotCopy()), actionCollection()); + paste = KStdAction::paste(view, TQ_SLOT(slotPaste()), actionCollection()); + preferences = KStdAction::preferences(this, TQ_SLOT(slotPreferences()), actionCollection()); + KStdAction::keyBindings(this, TQ_SLOT(slotEditKeys()), actionCollection()); + KStdAction::configureToolbars(this, TQ_SLOT(slotConfigureToolbar()), actionCollection()); KStdAction::showToolbar("mainToolBar", actionCollection()); - statusBarAction = KStdAction::showStatusbar(TQT_TQOBJECT(this), TQT_SLOT(slotToggleStatusBar()), actionCollection()); + statusBarAction = KStdAction::showStatusbar(this, TQ_SLOT(slotToggleStatusBar()), actionCollection()); // User defined actions say = new TDEAction (i18n("Say"), TQt::Key_F9, - TQT_TQOBJECT(this), TQT_SLOT (slotSayText()), + this, TQ_SLOT (slotSayText()), actionCollection(), "say_it"); pause = new TDEAction (i18n("Pause"), TQt::Key_Pause, - TQT_TQOBJECT(this), TQT_SLOT (slotPauseActivated()), + this, TQ_SLOT (slotPauseActivated()), actionCollection(), "pause"); shutup = new TDEAction (i18n("Shut Up"), TQt::Key_F10, - TQT_TQOBJECT(this), TQT_SLOT (slotStopActivated()), + this, TQ_SLOT (slotStopActivated()), actionCollection(), "shut_up"); next_sentence = new TDEAction (i18n("Next Sentence"), TQt::Key_Next, - TQT_TQOBJECT(this), TQT_SLOT (slotNextSentenceActivated()), + this, TQ_SLOT (slotNextSentenceActivated()), actionCollection(), "next_sentence"); prev_sentence = new TDEAction (i18n("Previous Sentence"), TQt::Key_Prior, - TQT_TQOBJECT(this), TQT_SLOT(slotPrevSentenceActivated()), + this, TQ_SLOT(slotPrevSentenceActivated()), actionCollection(), "prev_sentence"); clear = new TDEAction (i18n("Clear"), TQt::Key_F12, - TQT_TQOBJECT(this), TQT_SLOT(slotClear()), + this, TQ_SLOT(slotClear()), actionCollection(), "clear"); edit = new TDEToggleAction( i18n("Edit Text"), 0, - TQT_TQOBJECT(this), TQT_SLOT(slotEditToggled()), + this, TQ_SLOT(slotEditToggled()), actionCollection(), "edittext"); @@ -325,14 +325,14 @@ void KSayItApp::initView() view->setMinimumSize(view->sizeHint()); setCentralWidget(view); // connections - connect( view, TQT_SIGNAL(signalEnableCopyCut(bool)), - TQT_TQOBJECT(this), TQT_SLOT(slotEnableCopyCut(bool))); - connect( view, TQT_SIGNAL(signalShowStatus(const TQString &)), - TQT_TQOBJECT(this), TQT_SLOT(slotStatusMsg(const TQString &))); - connect( view, TQT_SIGNAL(signalSetCaption(const TQString &)), - TQT_TQOBJECT(this), TQT_SLOT(slotSetCaption(const TQString &))); - connect( view, TQT_SIGNAL(signalTextChanged(bool)), - TQT_TQOBJECT(this), TQT_SLOT(slotTextChanged(bool)) ); + connect( view, TQ_SIGNAL(signalEnableCopyCut(bool)), + this, TQ_SLOT(slotEnableCopyCut(bool))); + connect( view, TQ_SIGNAL(signalShowStatus(const TQString &)), + this, TQ_SLOT(slotStatusMsg(const TQString &))); + connect( view, TQ_SIGNAL(signalSetCaption(const TQString &)), + this, TQ_SLOT(slotSetCaption(const TQString &))); + connect( view, TQ_SIGNAL(signalTextChanged(bool)), + this, TQ_SLOT(slotTextChanged(bool)) ); // DockWindow TQDockWindow *docview = new TQDockWindow(TQDockWindow::InDock, this, "docview"); @@ -344,22 +344,22 @@ void KSayItApp::initView() this->setDockEnabled(docview, TQt::DockTop, false); this->setDockEnabled(docview, TQt::DockBottom, false); this->moveDockWindow(docview, TQt::DockLeft); - connect( treeview, TQT_SIGNAL(signalContentChanged(const TQString&)), - TQT_TQOBJECT(this), TQT_SLOT(slotTreeViewChanged(const TQString&)) ); - connect( treeview, TQT_SIGNAL(signalSetText(const TQString&)), - TQT_TQOBJECT(this), TQT_SLOT(slotSetText(const TQString&)) ); - connect( treeview, TQT_SIGNAL(signalAllNodesProcessed()), - TQT_TQOBJECT(this), TQT_SLOT(slotSayNode()) ); - connect( treeview, TQT_SIGNAL(signalEnableTextedit(bool)), - TQT_TQOBJECT(this), TQT_SLOT(slotEnableTextedit(bool)) ); - connect( treeview, TQT_SIGNAL(signalNotifyBookmarkManager(const TQString&, const TQString&)), - TQT_TQOBJECT(this), TQT_SLOT(slotNotifyBookmarkHandler(const TQString&, const TQString&)) ); - connect( treeview, TQT_SIGNAL(signalSetBookmarkFilename(const TQString&)), - TQT_TQOBJECT(this), TQT_SLOT(slotSetBookmarkFilename(const TQString&)) ); - connect( treeview, TQT_SIGNAL(signalChangeBookmarkFilename(const TQString&)), - TQT_TQOBJECT(this), TQT_SLOT(slotChangeBookmarkFilename(const TQString&)) ); - connect( treeview, TQT_SIGNAL(signalDeleteBookmark(const TQString&, const TQString&)), - TQT_TQOBJECT(this), TQT_SLOT(slotDeleteBookmark(const TQString&, const TQString&)) ); + connect( treeview, TQ_SIGNAL(signalContentChanged(const TQString&)), + this, TQ_SLOT(slotTreeViewChanged(const TQString&)) ); + connect( treeview, TQ_SIGNAL(signalSetText(const TQString&)), + this, TQ_SLOT(slotSetText(const TQString&)) ); + connect( treeview, TQ_SIGNAL(signalAllNodesProcessed()), + this, TQ_SLOT(slotSayNode()) ); + connect( treeview, TQ_SIGNAL(signalEnableTextedit(bool)), + this, TQ_SLOT(slotEnableTextedit(bool)) ); + connect( treeview, TQ_SIGNAL(signalNotifyBookmarkManager(const TQString&, const TQString&)), + this, TQ_SLOT(slotNotifyBookmarkHandler(const TQString&, const TQString&)) ); + connect( treeview, TQ_SIGNAL(signalSetBookmarkFilename(const TQString&)), + this, TQ_SLOT(slotSetBookmarkFilename(const TQString&)) ); + connect( treeview, TQ_SIGNAL(signalChangeBookmarkFilename(const TQString&)), + this, TQ_SLOT(slotChangeBookmarkFilename(const TQString&)) ); + connect( treeview, TQ_SIGNAL(signalDeleteBookmark(const TQString&, const TQString&)), + this, TQ_SLOT(slotDeleteBookmark(const TQString&, const TQString&)) ); } @@ -425,7 +425,7 @@ ASYNC KSayItApp::dcopSayXmlFile(KURL url) ///////////////////////////////////////////////////////////////////// -// TQT_SLOT IMPLEMENTATION +// SLOT IMPLEMENTATION ///////////////////////////////////////////////////////////////////// void KSayItApp::slotEditToggled() @@ -451,7 +451,7 @@ void KSayItApp::slotConfigureToolbar() { saveMainWindowSettings( config, "MainWindow" ); KEditToolbar dlg(actionCollection(), KSAYITUI); - connect(&dlg,TQT_SIGNAL(newToolbarConfig()),this,TQT_SLOT(slotNewToolbarConfig())); + connect(&dlg,TQ_SIGNAL(newToolbarConfig()),this,TQ_SLOT(slotNewToolbarConfig())); if (dlg.exec()) { createGUI(KSAYITUI); diff --git a/ksayit/src/ksayit.h b/ksayit/src/ksayit.h index 85788c9..d1f28af 100644 --- a/ksayit/src/ksayit.h +++ b/ksayit/src/ksayit.h @@ -67,7 +67,7 @@ class KSayItBookmarkHandler; */ class KSayItApp : public TDEMainWindow, public DCOPObject { - Q_OBJECT + TQ_OBJECT // K_DCOP diff --git a/ksayit/src/ksayit_fxplugin.h b/ksayit/src/ksayit_fxplugin.h index b9ef351..b50b9da 100644 --- a/ksayit/src/ksayit_fxplugin.h +++ b/ksayit/src/ksayit_fxplugin.h @@ -35,7 +35,7 @@ using namespace Arts; */ class FXPlugin : public TQObject { -// Q_OBJECT +// TQ_OBJECT public: FXPlugin(TQObject *parent=0, const char* name=0){}; diff --git a/ksayit/src/ksayitsystemtray.cpp b/ksayit/src/ksayitsystemtray.cpp index 43452ca..42971a5 100644 --- a/ksayit/src/ksayitsystemtray.cpp +++ b/ksayit/src/ksayitsystemtray.cpp @@ -46,36 +46,36 @@ void KSayItSystemTray::initActions() menu = this->contextMenu(); help = new KHelpMenu(this, kapp->aboutData(), false, actionCollection()); // Standard actions - settings = KStdAction::preferences(TQT_TQOBJECT(this), TQT_SLOT(slotPreferences()), actionCollection()); - help_about = KStdAction::aboutApp(help, TQT_SLOT(aboutApplication()), actionCollection()); - help_kde = KStdAction::aboutKDE(help, TQT_SLOT(aboutKDE()), actionCollection()); + settings = KStdAction::preferences(this, TQ_SLOT(slotPreferences()), actionCollection()); + help_about = KStdAction::aboutApp(help, TQ_SLOT(aboutApplication()), actionCollection()); + help_kde = KStdAction::aboutKDE(help, TQ_SLOT(aboutKDE()), actionCollection()); // User defined actions say = new TDEAction(i18n("Say"), "media-playback-start", 0, - TQT_TQOBJECT(this), TQT_SLOT (slotSayActivated()), + this, TQ_SLOT (slotSayActivated()), actionCollection(), "say_it"); shutup = new TDEAction(i18n("Shut Up"), "media-playback-stop", 0, - TQT_TQOBJECT(this), TQT_SLOT (slotStopActivated()), + this, TQ_SLOT (slotStopActivated()), actionCollection(), "shut_up"); pause = new TDEAction (i18n("Pause"), "media-playback-pause", 0, - TQT_TQOBJECT(this), TQT_SLOT (slotPauseActivated()), + this, TQ_SLOT (slotPauseActivated()), actionCollection(), "pause"); next_sentence = new TDEAction (i18n("Next Sentence"), "2rightarrow", 0, - TQT_TQOBJECT(this), TQT_SLOT (slotNextSentenceActivated()), + this, TQ_SLOT (slotNextSentenceActivated()), actionCollection(), "next_sentence"); @@ -83,7 +83,7 @@ void KSayItSystemTray::initActions() prev_sentence = new TDEAction (i18n("Previous Sentence"), "2leftarrow", 0, - TQT_TQOBJECT(this), TQT_SLOT(slotPrevSentenceActivated()), + this, TQ_SLOT(slotPrevSentenceActivated()), actionCollection(), "prev_sentence"); @@ -253,7 +253,7 @@ void StateWAIT::setContext(KSayItSystemTray *caller) void StateWAIT::mousePressEvent(KSayItSystemTray *caller, TQMouseEvent *e) { - if (e->button()==Qt::LeftButton){ // left Mouse-button pressed + if (e->button()==TQt::LeftButton){ // left Mouse-button pressed TQWidget::mousePressEvent(e); // do nothing (see mouseReleaseEvent) } else { mousePressEventCall(caller, e); // normal mouse-handling @@ -262,7 +262,7 @@ void StateWAIT::mousePressEvent(KSayItSystemTray *caller, TQMouseEvent *e) void StateWAIT::mouseReleaseEvent(KSayItSystemTray *caller, TQMouseEvent *e) { - if (e->button()==Qt::LeftButton){ // left Mouse-button released + if (e->button()==TQt::LeftButton){ // left Mouse-button released say(caller); } else { mouseReleaseEventCall(caller, e); // normal mouse-handling @@ -294,7 +294,7 @@ void StateSAY::setContext(KSayItSystemTray *caller) void StateSAY::mousePressEvent(KSayItSystemTray *caller, TQMouseEvent *e) { - if (e->button()==Qt::LeftButton){ // left Mouse-button pressed + if (e->button()==TQt::LeftButton){ // left Mouse-button pressed TQWidget::mousePressEvent(e); // do nothing (see mouseReleaseEvent) } else { mousePressEventCall(caller, e); // normal mouse-handling @@ -303,7 +303,7 @@ void StateSAY::mousePressEvent(KSayItSystemTray *caller, TQMouseEvent *e) void StateSAY::mouseReleaseEvent(KSayItSystemTray *caller, TQMouseEvent *e) { - if (e->button()==Qt::LeftButton){ // left Mouse-button released + if (e->button()==TQt::LeftButton){ // left Mouse-button released TQWidget::mouseReleaseEvent(e); // do nothing (see mouseReleaseEvent) } else { mouseReleaseEventCall(caller, e); // normal mouse-handling @@ -336,7 +336,7 @@ void StateCLIPEMPTY::setContext(KSayItSystemTray *caller) void StateCLIPEMPTY::mousePressEvent(KSayItSystemTray *caller, TQMouseEvent *e) { - if (e->button()==Qt::LeftButton){ // left Mouse-button pressed + if (e->button()==TQt::LeftButton){ // left Mouse-button pressed TQWidget::mousePressEvent(e); // do nothing (see mouseReleaseEvent) } else { mousePressEventCall(caller, e); // normal mouse-handling @@ -345,7 +345,7 @@ void StateCLIPEMPTY::mousePressEvent(KSayItSystemTray *caller, TQMouseEvent *e) void StateCLIPEMPTY::mouseReleaseEvent(KSayItSystemTray *caller, TQMouseEvent *e) { - if (e->button()==Qt::LeftButton){ // left Mouse-button released + if (e->button()==TQt::LeftButton){ // left Mouse-button released TQWidget::mouseReleaseEvent(e); // do nothing (see mouseReleaseEvent) } else { mouseReleaseEventCall(caller, e); // normal mouse-handling diff --git a/ksayit/src/ksayitsystemtray.h b/ksayit/src/ksayitsystemtray.h index 02e35bd..05cc962 100644 --- a/ksayit/src/ksayitsystemtray.h +++ b/ksayit/src/ksayitsystemtray.h @@ -38,7 +38,7 @@ class State; *@author Robert Vogl */ class KSayItSystemTray : public KSystemTray { - Q_OBJECT + TQ_OBJECT friend class State; @@ -149,7 +149,7 @@ private: class State : public KSystemTray { - Q_OBJECT + TQ_OBJECT public: State(); diff --git a/ksayit/src/ksayitviewimpl.h b/ksayit/src/ksayitviewimpl.h index 745bd3a..d124996 100644 --- a/ksayit/src/ksayitviewimpl.h +++ b/ksayit/src/ksayitviewimpl.h @@ -32,7 +32,7 @@ */ class KSayItViewImpl : public KSayItView { - Q_OBJECT + TQ_OBJECT public: diff --git a/ksayit/src/voicesetupdlg.cpp b/ksayit/src/voicesetupdlg.cpp index 6b1a270..d04aabc 100644 --- a/ksayit/src/voicesetupdlg.cpp +++ b/ksayit/src/voicesetupdlg.cpp @@ -51,7 +51,7 @@ VoiceSetupDlg::VoiceSetupDlg(TQWidget *parent, const char *name, const TQString { setIconListAllVisible(true); - connect (this, TQT_SIGNAL(aboutToShowPage(TQWidget*)), this, TQT_SLOT(slotPageChanged(TQWidget*))); + connect (this, TQ_SIGNAL(aboutToShowPage(TQWidget*)), this, TQ_SLOT(slotPageChanged(TQWidget*))); initVoicePage(); initFXPage(); @@ -83,9 +83,9 @@ void VoiceSetupDlg::initFXPage() FX_SetupImpl *fxDialog = new FX_SetupImpl(m_fxPage, "fxsetup", m_config, m_fxpluginhandler); fxLayout->addWidget(fxDialog); - connect( this, TQT_SIGNAL(signalOKWasClicked()), fxDialog, TQT_SLOT(slotSaveWasClicked()) ); - connect( this, TQT_SIGNAL(signalRemoveAllFX()), fxDialog, TQT_SLOT(slotRemoveAll()) ); - connect( this, TQT_SIGNAL(signalReloadFX()), fxDialog, TQT_SLOT(slotReload()) ); + connect( this, TQ_SIGNAL(signalOKWasClicked()), fxDialog, TQ_SLOT(slotSaveWasClicked()) ); + connect( this, TQ_SIGNAL(signalRemoveAllFX()), fxDialog, TQ_SLOT(slotRemoveAll()) ); + connect( this, TQ_SIGNAL(signalReloadFX()), fxDialog, TQ_SLOT(slotReload()) ); // Disable/enable FX-Setup depending on TTS-libs capability int status = m_kttslib->getStatus() & TTS::AUDIOFILE; diff --git a/ksayit/src/voicesetupdlg.h b/ksayit/src/voicesetupdlg.h index f2ddc38..f200101 100644 --- a/ksayit/src/voicesetupdlg.h +++ b/ksayit/src/voicesetupdlg.h @@ -32,7 +32,7 @@ class KTTSDLib; *@author Robert Vogl */ class VoiceSetupDlg : public KDialogBase { - Q_OBJECT + TQ_OBJECT public: diff --git a/kttsd/app-plugins/kate/katekttsd.cpp b/kttsd/app-plugins/kate/katekttsd.cpp index fbb56ac..d5ca9d9 100644 --- a/kttsd/app-plugins/kate/katekttsd.cpp +++ b/kttsd/app-plugins/kate/katekttsd.cpp @@ -74,7 +74,7 @@ KateKttsdPluginView::KateKttsdPluginView( KTextEditor::View *view, const char *n view->insertChildClient( this ); setInstance( KGenericFactory<KateKttsdPlugin>::instance() ); TDEGlobal::locale()->insertCatalogue("kttsd"); - (void) new TDEAction( i18n("Speak Text"), "kttsd", 0, this, TQT_SLOT(slotReadOut()), actionCollection(), "tools_kttsd" ); + (void) new TDEAction( i18n("Speak Text"), "kttsd", 0, this, TQ_SLOT(slotReadOut()), actionCollection(), "tools_kttsd" ); setXMLFile( "tdetexteditor_kttsdui.rc" ); } diff --git a/kttsd/app-plugins/kate/katekttsd.h b/kttsd/app-plugins/kate/katekttsd.h index e137aee..53bded1 100644 --- a/kttsd/app-plugins/kate/katekttsd.h +++ b/kttsd/app-plugins/kate/katekttsd.h @@ -27,7 +27,7 @@ class KateKttsdPlugin : public KTextEditor::Plugin, public KTextEditor::PluginViewInterface { - Q_OBJECT + TQ_OBJECT public: @@ -45,7 +45,7 @@ class KateKttsdPlugin : public KTextEditor::Plugin, public KTextEditor::PluginVi class KateKttsdPluginView : public TQObject, public KXMLGUIClient { - Q_OBJECT + TQ_OBJECT public: diff --git a/kttsd/filters/sbd/sbdconf.cpp b/kttsd/filters/sbd/sbdconf.cpp index f718664..005f8c3 100644 --- a/kttsd/filters/sbd/sbdconf.cpp +++ b/kttsd/filters/sbd/sbdconf.cpp @@ -73,24 +73,24 @@ SbdConf::SbdConf( TQWidget *parent, const char *name, const TQStringList& /*args m_widget->reButton->setEnabled( m_reEditorInstalled ); if ( m_reEditorInstalled ) - connect( m_widget->reButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotReButton_clicked()) ); + connect( m_widget->reButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotReButton_clicked()) ); - connect( m_widget->reLineEdit, TQT_SIGNAL(textChanged(const TQString&)), - this, TQT_SLOT(configChanged()) ); - connect( m_widget->sbLineEdit, TQT_SIGNAL(textChanged(const TQString&)), - this, TQT_SLOT(configChanged()) ); - connect( m_widget->nameLineEdit, TQT_SIGNAL(textChanged(const TQString&)), - this, TQT_SLOT(configChanged()) ); - connect( m_widget->appIdLineEdit, TQT_SIGNAL(textChanged(const TQString&)), - this, TQT_SLOT(configChanged()) ); - connect(m_widget->languageBrowseButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotLanguageBrowseButton_clicked())); - connect(m_widget->loadButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotLoadButton_clicked())); - connect(m_widget->saveButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotSaveButton_clicked())); - connect(m_widget->clearButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotClearButton_clicked())); + connect( m_widget->reLineEdit, TQ_SIGNAL(textChanged(const TQString&)), + this, TQ_SLOT(configChanged()) ); + connect( m_widget->sbLineEdit, TQ_SIGNAL(textChanged(const TQString&)), + this, TQ_SLOT(configChanged()) ); + connect( m_widget->nameLineEdit, TQ_SIGNAL(textChanged(const TQString&)), + this, TQ_SLOT(configChanged()) ); + connect( m_widget->appIdLineEdit, TQ_SIGNAL(textChanged(const TQString&)), + this, TQ_SLOT(configChanged()) ); + connect(m_widget->languageBrowseButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotLanguageBrowseButton_clicked())); + connect(m_widget->loadButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotLoadButton_clicked())); + connect(m_widget->saveButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotSaveButton_clicked())); + connect(m_widget->clearButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotClearButton_clicked())); // Set up defaults. defaults(); diff --git a/kttsd/filters/sbd/sbdconf.h b/kttsd/filters/sbd/sbdconf.h index 3c44419..169fa66 100644 --- a/kttsd/filters/sbd/sbdconf.h +++ b/kttsd/filters/sbd/sbdconf.h @@ -42,7 +42,7 @@ class EditReplacementWidget; class SbdConf : public KttsFilterConf { - Q_OBJECT + TQ_OBJECT public: diff --git a/kttsd/filters/sbd/sbdproc.cpp b/kttsd/filters/sbd/sbdproc.cpp index ba4f3b7..357a95b 100644 --- a/kttsd/filters/sbd/sbdproc.cpp +++ b/kttsd/filters/sbd/sbdproc.cpp @@ -567,7 +567,7 @@ SbdProc::SbdProc( TQObject *parent, const char *name, const TQStringList& /*args { // kdDebug() << "SbdProc::SbdProc: Running" << endl; m_sbdThread = new SbdThread( parent, *name + "_thread" ); - connect( m_sbdThread, TQT_SIGNAL(filteringFinished()), this, TQT_SLOT(slotSbdThreadFilteringFinished()) ); + connect( m_sbdThread, TQ_SIGNAL(filteringFinished()), this, TQ_SLOT(slotSbdThreadFilteringFinished()) ); } /** @@ -753,7 +753,7 @@ bool SbdProc::init(TDEConfig* config, const TQString& configGroup){ delete m_sbdThread; m_sbdThread = new SbdThread(); m_sbdThread->setConfiguredSbRegExp( m_configuredRe ); - connect( m_sbdThread, TQT_SIGNAL(filteringFinished()), this, TQT_SLOT(slotSbdThreadFilteringFinished()) ); + connect( m_sbdThread, TQ_SIGNAL(filteringFinished()), this, TQ_SLOT(slotSbdThreadFilteringFinished()) ); m_state = fsIdle; emit filteringStopped(); } diff --git a/kttsd/filters/sbd/sbdproc.h b/kttsd/filters/sbd/sbdproc.h index 228f018..78ad2ae 100644 --- a/kttsd/filters/sbd/sbdproc.h +++ b/kttsd/filters/sbd/sbdproc.h @@ -62,7 +62,7 @@ class TQDomNode; class SbdThread: public TQObject, public TQThread { - Q_OBJECT + TQ_OBJECT public: @@ -240,7 +240,7 @@ class SbdThread: public TQObject, public TQThread class SbdProc : virtual public KttsFilterProc { - Q_OBJECT + TQ_OBJECT public: diff --git a/kttsd/filters/stringreplacer/stringreplacerconf.cpp b/kttsd/filters/stringreplacer/stringreplacerconf.cpp index a57b5c8..e226f68 100644 --- a/kttsd/filters/stringreplacer/stringreplacerconf.cpp +++ b/kttsd/filters/stringreplacer/stringreplacerconf.cpp @@ -74,30 +74,30 @@ StringReplacerConf::StringReplacerConf( TQWidget *parent, const char *name, cons layout->addWidget(m_widget); m_widget->substLView->setSortColumn(-1); - connect(m_widget->nameLineEdit, TQT_SIGNAL(textChanged(const TQString&)), - this, TQT_SLOT(configChanged())); - connect(m_widget->languageBrowseButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotLanguageBrowseButton_clicked())); - connect(m_widget->addButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotAddButton_clicked())); - connect(m_widget->upButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotUpButton_clicked())); - connect(m_widget->downButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotDownButton_clicked())); - connect(m_widget->editButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotEditButton_clicked())); - connect(m_widget->removeButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotRemoveButton_clicked())); - connect(m_widget->loadButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotLoadButton_clicked())); - connect(m_widget->saveButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotSaveButton_clicked())); - connect(m_widget->clearButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotClearButton_clicked())); - connect(m_widget->substLView, TQT_SIGNAL(selectionChanged()), - this, TQT_SLOT(enableDisableButtons())); - connect(m_widget->appIdLineEdit, TQT_SIGNAL(textChanged(const TQString&)), - this, TQT_SLOT(configChanged())); + connect(m_widget->nameLineEdit, TQ_SIGNAL(textChanged(const TQString&)), + this, TQ_SLOT(configChanged())); + connect(m_widget->languageBrowseButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotLanguageBrowseButton_clicked())); + connect(m_widget->addButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotAddButton_clicked())); + connect(m_widget->upButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotUpButton_clicked())); + connect(m_widget->downButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotDownButton_clicked())); + connect(m_widget->editButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotEditButton_clicked())); + connect(m_widget->removeButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotRemoveButton_clicked())); + connect(m_widget->loadButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotLoadButton_clicked())); + connect(m_widget->saveButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotSaveButton_clicked())); + connect(m_widget->clearButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotClearButton_clicked())); + connect(m_widget->substLView, TQ_SIGNAL(selectionChanged()), + this, TQ_SLOT(enableDisableButtons())); + connect(m_widget->appIdLineEdit, TQ_SIGNAL(textChanged(const TQString&)), + this, TQ_SLOT(configChanged())); // Determine if tdeutils Regular Expression Editor is installed. m_reEditorInstalled = !TDETrader::self()->query("KRegExpEditor/KRegExpEditor").isEmpty(); @@ -581,14 +581,14 @@ void StringReplacerConf::addOrEditSubstitution(bool isAdd) m_editWidget->substLineEdit->setText( item->text(3) ); } // The match box may not be blank. - connect( m_editWidget->matchLineEdit, TQT_SIGNAL(textChanged(const TQString&)), - this, TQT_SLOT(slotMatchLineEdit_textChanged(const TQString&)) ); - connect( m_editWidget->regexpRadioButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotTypeButtonGroup_clicked()) ); - connect( m_editWidget->wordRadioButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotTypeButtonGroup_clicked()) ); - connect( m_editWidget->matchButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotMatchButton_clicked()) ); + connect( m_editWidget->matchLineEdit, TQ_SIGNAL(textChanged(const TQString&)), + this, TQ_SLOT(slotMatchLineEdit_textChanged(const TQString&)) ); + connect( m_editWidget->regexpRadioButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotTypeButtonGroup_clicked()) ); + connect( m_editWidget->wordRadioButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotTypeButtonGroup_clicked()) ); + connect( m_editWidget->matchButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotMatchButton_clicked()) ); // Display the box in a dialog. m_editDlg = new KDialogBase( KDialogBase::Swallow, diff --git a/kttsd/filters/stringreplacer/stringreplacerconf.h b/kttsd/filters/stringreplacer/stringreplacerconf.h index 8b67039..e369e26 100644 --- a/kttsd/filters/stringreplacer/stringreplacerconf.h +++ b/kttsd/filters/stringreplacer/stringreplacerconf.h @@ -42,7 +42,7 @@ class EditReplacementWidget; class StringReplacerConf : public KttsFilterConf { - Q_OBJECT + TQ_OBJECT public: diff --git a/kttsd/filters/stringreplacer/stringreplacerproc.h b/kttsd/filters/stringreplacer/stringreplacerproc.h index 23ed5a2..bd7559f 100644 --- a/kttsd/filters/stringreplacer/stringreplacerproc.h +++ b/kttsd/filters/stringreplacer/stringreplacerproc.h @@ -37,7 +37,7 @@ class StringReplacerProc : virtual public KttsFilterProc { - Q_OBJECT + TQ_OBJECT public: diff --git a/kttsd/filters/talkerchooser/talkerchooserconf.cpp b/kttsd/filters/talkerchooser/talkerchooserconf.cpp index 676a25d..350c77d 100644 --- a/kttsd/filters/talkerchooser/talkerchooserconf.cpp +++ b/kttsd/filters/talkerchooser/talkerchooserconf.cpp @@ -65,23 +65,23 @@ TalkerChooserConf::TalkerChooserConf( TQWidget *parent, const char *name, const m_reEditorInstalled = !TDETrader::self()->query("KRegExpEditor/KRegExpEditor").isEmpty(); m_widget->reEditorButton->setEnabled(m_reEditorInstalled); - connect(m_widget->nameLineEdit, TQT_SIGNAL(textChanged(const TQString&)), - this, TQT_SLOT(configChanged())); - connect(m_widget->reLineEdit, TQT_SIGNAL(textChanged(const TQString&)), - this, TQT_SLOT(configChanged())); - connect(m_widget->reEditorButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotReEditorButton_clicked())); - connect(m_widget->appIdLineEdit, TQT_SIGNAL(textChanged(const TQString&)), - this, TQT_SLOT(configChanged())); - connect(m_widget->talkerButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotTalkerButton_clicked())); + connect(m_widget->nameLineEdit, TQ_SIGNAL(textChanged(const TQString&)), + this, TQ_SLOT(configChanged())); + connect(m_widget->reLineEdit, TQ_SIGNAL(textChanged(const TQString&)), + this, TQ_SLOT(configChanged())); + connect(m_widget->reEditorButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotReEditorButton_clicked())); + connect(m_widget->appIdLineEdit, TQ_SIGNAL(textChanged(const TQString&)), + this, TQ_SLOT(configChanged())); + connect(m_widget->talkerButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotTalkerButton_clicked())); - connect(m_widget->loadButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotLoadButton_clicked())); - connect(m_widget->saveButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotSaveButton_clicked())); - connect(m_widget->clearButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotClearButton_clicked())); + connect(m_widget->loadButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotLoadButton_clicked())); + connect(m_widget->saveButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotSaveButton_clicked())); + connect(m_widget->clearButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotClearButton_clicked())); // Set up defaults. defaults(); diff --git a/kttsd/filters/talkerchooser/talkerchooserconf.h b/kttsd/filters/talkerchooser/talkerchooserconf.h index 9db6266..8b302ae 100644 --- a/kttsd/filters/talkerchooser/talkerchooserconf.h +++ b/kttsd/filters/talkerchooser/talkerchooserconf.h @@ -44,7 +44,7 @@ class EditReplacementWidget; class TalkerChooserConf : public KttsFilterConf { - Q_OBJECT + TQ_OBJECT public: diff --git a/kttsd/filters/talkerchooser/talkerchooserproc.h b/kttsd/filters/talkerchooser/talkerchooserproc.h index 8434d95..8e836f7 100644 --- a/kttsd/filters/talkerchooser/talkerchooserproc.h +++ b/kttsd/filters/talkerchooser/talkerchooserproc.h @@ -30,7 +30,7 @@ class TalkerChooserProc : virtual public KttsFilterProc { - Q_OBJECT + TQ_OBJECT public: diff --git a/kttsd/filters/xhtml2ssml/xhtml2ssml.tdevelop b/kttsd/filters/xhtml2ssml/xhtml2ssml.tdevelop deleted file mode 100644 index 172caca..0000000 --- a/kttsd/filters/xhtml2ssml/xhtml2ssml.tdevelop +++ /dev/null @@ -1,112 +0,0 @@ -<?xml version = '1.0'?> -<tdevelop> - <general> - <author>Paul Giannaros</author> - <email>ceruleanblaze@gmail.com</email> - <version>$VERSION$</version> - <projectmanagement>KDevTrollProject</projectmanagement> - <primarylanguage>C++</primarylanguage> - <keywords> - <keyword>Qt</keyword> - </keywords> - </general> - <tdevfileview> - <groups> - <group pattern="*.cpp;*.cxx;*.h" name="Sources" /> - <group pattern="*.ui" name="User Interface" /> - <group pattern="*.png" name="Icons" /> - <group pattern="*" name="Others" /> - <hidenonprojectfiles>false</hidenonprojectfiles> - <hidenonlocation>false</hidenonlocation> - </groups> - <tree> - <hidepatterns>*.o,*.lo,CVS</hidepatterns> - <hidenonprojectfiles>false</hidenonprojectfiles> - </tree> - </tdevfileview> - <tdevdoctreeview> - <ignoretocs> - <toc>bash</toc> - <toc>bash_bugs</toc> - <toc>clanlib</toc> - <toc>w3c-dom-level2-html</toc> - <toc>fortran_bugs_gcc</toc> - <toc>gnome1</toc> - <toc>gnustep</toc> - <toc>gtk</toc> - <toc>gtk_bugs</toc> - <toc>haskell</toc> - <toc>haskell_bugs_ghc</toc> - <toc>java_bugs_gcc</toc> - <toc>java_bugs_sun</toc> - <toc>kde2book</toc> - <toc>opengl</toc> - <toc>pascal_bugs_fp</toc> - <toc>php</toc> - <toc>php_bugs</toc> - <toc>perl</toc> - <toc>perl_bugs</toc> - <toc>python</toc> - <toc>python_bugs</toc> - <toc>qt-kdev3</toc> - <toc>ruby</toc> - <toc>ruby_bugs</toc> - <toc>sdl</toc> - <toc>stl</toc> - <toc>w3c-svg</toc> - <toc>sw</toc> - <toc>w3c-uaag10</toc> - <toc>wxwidgets_bugs</toc> - </ignoretocs> - <ignoredoxygen> - <toc>KDE Libraries (Doxygen)</toc> - </ignoredoxygen> - </tdevdoctreeview> - <tdevdebugger> - <general> - <dbgshell/> - </general> - </tdevdebugger> - <tdevfilecreate> - <useglobaltypes> - <type ext="ui" /> - <type ext="cpp" /> - <type ext="h" /> - </useglobaltypes> - </tdevfilecreate> - <tdevtrollproject> - <general> - <activedir></activedir> - </general> - <run> - <directoryradio>executable</directoryradio> - </run> - </tdevtrollproject> - <tdevcppsupport> - <references> - <pcs>kdeincludedb</pcs> - <pcs>qtincludedb</pcs> - <pcs>qtincludesdb</pcs> - <pcs>kgmailtoincludedb</pcs> - </references> - <codecompletion> - <includeGlobalFunctions>true</includeGlobalFunctions> - <includeTypes>true</includeTypes> - <includeEnums>true</includeEnums> - <includeTypedefs>false</includeTypedefs> - <automaticCodeCompletion>true</automaticCodeCompletion> - <automaticArgumentsHint>true</automaticArgumentsHint> - <automaticHeaderCompletion>true</automaticHeaderCompletion> - <codeCompletionDelay>250</codeCompletionDelay> - <argumentsHintDelay>400</argumentsHintDelay> - <headerCompletionDelay>250</headerCompletionDelay> - </codecompletion> - </tdevcppsupport> - <tdevcvsservice> - <recursivewhenupdate>true</recursivewhenupdate> - <prunedirswhenupdate>true</prunedirswhenupdate> - <createdirswhenupdate>true</createdirswhenupdate> - <recursivewhencommitremove>true</recursivewhencommitremove> - <revertoptions>-C</revertoptions> - </tdevcvsservice> -</tdevelop> diff --git a/kttsd/filters/xhtml2ssml/xhtml2ssml.tdevelop.pcs b/kttsd/filters/xhtml2ssml/xhtml2ssml.tdevelop.pcs Binary files differdeleted file mode 100644 index 4cdb884..0000000 --- a/kttsd/filters/xhtml2ssml/xhtml2ssml.tdevelop.pcs +++ /dev/null diff --git a/kttsd/filters/xmltransformer/xmltransformerconf.cpp b/kttsd/filters/xmltransformer/xmltransformerconf.cpp index 0a27174..2f3538f 100644 --- a/kttsd/filters/xmltransformer/xmltransformerconf.cpp +++ b/kttsd/filters/xmltransformer/xmltransformerconf.cpp @@ -59,18 +59,18 @@ XmlTransformerConf::XmlTransformerConf( TQWidget *parent, const char *name, cons defaults(); // Connect signals. - connect( m_widget->nameLineEdit, TQT_SIGNAL(textChanged(const TQString&)), - this, TQT_SLOT(configChanged())); - connect( m_widget->xsltPath, TQT_SIGNAL(textChanged(const TQString&)), - this, TQT_SLOT(configChanged()) ); - connect( m_widget->xsltprocPath, TQT_SIGNAL(textChanged(const TQString&)), - this, TQT_SLOT(configChanged()) ); - connect( m_widget->rootElementLineEdit, TQT_SIGNAL(textChanged(const TQString&)), - this, TQT_SLOT(configChanged()) ); - connect( m_widget->doctypeLineEdit, TQT_SIGNAL(textChanged(const TQString&)), - this, TQT_SLOT(configChanged()) ); - connect( m_widget->appIdLineEdit, TQT_SIGNAL(textChanged(const TQString&)), - this, TQT_SLOT(configChanged()) ); + connect( m_widget->nameLineEdit, TQ_SIGNAL(textChanged(const TQString&)), + this, TQ_SLOT(configChanged())); + connect( m_widget->xsltPath, TQ_SIGNAL(textChanged(const TQString&)), + this, TQ_SLOT(configChanged()) ); + connect( m_widget->xsltprocPath, TQ_SIGNAL(textChanged(const TQString&)), + this, TQ_SLOT(configChanged()) ); + connect( m_widget->rootElementLineEdit, TQ_SIGNAL(textChanged(const TQString&)), + this, TQ_SLOT(configChanged()) ); + connect( m_widget->doctypeLineEdit, TQ_SIGNAL(textChanged(const TQString&)), + this, TQ_SLOT(configChanged()) ); + connect( m_widget->appIdLineEdit, TQ_SIGNAL(textChanged(const TQString&)), + this, TQ_SLOT(configChanged()) ); } /** diff --git a/kttsd/filters/xmltransformer/xmltransformerconf.h b/kttsd/filters/xmltransformer/xmltransformerconf.h index 34bee27..a818032 100644 --- a/kttsd/filters/xmltransformer/xmltransformerconf.h +++ b/kttsd/filters/xmltransformer/xmltransformerconf.h @@ -39,7 +39,7 @@ class XmlTransformerConf : public KttsFilterConf { - Q_OBJECT + TQ_OBJECT public: diff --git a/kttsd/filters/xmltransformer/xmltransformerproc.cpp b/kttsd/filters/xmltransformer/xmltransformerproc.cpp index 9a279b9..b341337 100644 --- a/kttsd/filters/xmltransformer/xmltransformerproc.cpp +++ b/kttsd/filters/xmltransformer/xmltransformerproc.cpp @@ -250,12 +250,12 @@ bool XmlTransformerProc::init(TDEConfig* config, const TQString& configGroup) // m_xsltProc->args() << endl; m_state = fsFiltering; - connect(m_xsltProc, TQT_SIGNAL(processExited(TDEProcess*)), - this, TQT_SLOT(slotProcessExited(TDEProcess*))); - connect(m_xsltProc, TQT_SIGNAL(receivedStdout(TDEProcess*, char*, int)), - this, TQT_SLOT(slotReceivedStdout(TDEProcess*, char*, int))); - connect(m_xsltProc, TQT_SIGNAL(receivedStderr(TDEProcess*, char*, int)), - this, TQT_SLOT(slotReceivedStderr(TDEProcess*, char*, int))); + connect(m_xsltProc, TQ_SIGNAL(processExited(TDEProcess*)), + this, TQ_SLOT(slotProcessExited(TDEProcess*))); + connect(m_xsltProc, TQ_SIGNAL(receivedStdout(TDEProcess*, char*, int)), + this, TQ_SLOT(slotReceivedStdout(TDEProcess*, char*, int))); + connect(m_xsltProc, TQ_SIGNAL(receivedStderr(TDEProcess*, char*, int)), + this, TQ_SLOT(slotReceivedStderr(TDEProcess*, char*, int))); if (!m_xsltProc->start(TDEProcess::NotifyOnExit, static_cast<TDEProcess::Communication>(TDEProcess::Stdout | TDEProcess::Stderr))) { diff --git a/kttsd/filters/xmltransformer/xmltransformerproc.h b/kttsd/filters/xmltransformer/xmltransformerproc.h index 002008b..f9c1977 100644 --- a/kttsd/filters/xmltransformer/xmltransformerproc.h +++ b/kttsd/filters/xmltransformer/xmltransformerproc.h @@ -35,7 +35,7 @@ class TDEProcess; class XmlTransformerProc : virtual public KttsFilterProc { - Q_OBJECT + TQ_OBJECT public: diff --git a/kttsd/kcmkttsmgr/addtalker.cpp b/kttsd/kcmkttsmgr/addtalker.cpp index 8de3429..170c7a6 100644 --- a/kttsd/kcmkttsmgr/addtalker.cpp +++ b/kttsd/kcmkttsmgr/addtalker.cpp @@ -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 ebb56d6..1d300bd 100644 --- a/kttsd/kcmkttsmgr/addtalker.h +++ b/kttsd/kcmkttsmgr/addtalker.h @@ -35,7 +35,7 @@ typedef TQMap<TQString,TQStringList> LangToSynthMap; class AddTalker : public AddTalkerWidget { - Q_OBJECT + TQ_OBJECT public: diff --git a/kttsd/kcmkttsmgr/kcmkttsmgr.cpp b/kttsd/kcmkttsmgr/kcmkttsmgr.cpp index 90a70a4..8cbd792 100644 --- a/kttsd/kcmkttsmgr/kcmkttsmgr.cpp +++ b/kttsd/kcmkttsmgr/kcmkttsmgr.cpp @@ -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 8c84538..527171f 100644 --- a/kttsd/kcmkttsmgr/kcmkttsmgr.h +++ b/kttsd/kcmkttsmgr/kcmkttsmgr.h @@ -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 19748f9..8fc6946 100644 --- a/kttsd/kcmkttsmgr/kcmkttsmgrwidget.ui +++ b/kttsd/kcmkttsmgr/kcmkttsmgrwidget.ui @@ -1879,11 +1879,11 @@ <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"/> </UI> diff --git a/kttsd/kcmkttsmgr/selectevent.cpp b/kttsd/kcmkttsmgr/selectevent.cpp index 3bbb37e..5b33fc2 100644 --- a/kttsd/kcmkttsmgr/selectevent.cpp +++ b/kttsd/kcmkttsmgr/selectevent.cpp @@ -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 c3914d2..29d67de 100644 --- a/kttsd/kcmkttsmgr/selectevent.h +++ b/kttsd/kcmkttsmgr/selectevent.h @@ -28,7 +28,7 @@ class SelectEvent : public SelectEventWidget { - Q_OBJECT + TQ_OBJECT public: diff --git a/kttsd/kttsd/filtermgr.cpp b/kttsd/kttsd/filtermgr.cpp index 77725ce..44fc2ff 100644 --- a/kttsd/kttsd/filtermgr.cpp +++ b/kttsd/kttsd/filtermgr.cpp @@ -55,7 +55,7 @@ FilterMgr::~FilterMgr() // kdDebug() << "FilterMgr::~FilterMgr: Running" << endl; if ( m_state == fsFiltering ) stopFiltering(); - m_filterList.setAutoDelete( TRUE ); + m_filterList.setAutoDelete( true ); m_filterList.clear(); } @@ -202,7 +202,7 @@ void FilterMgr::nextFilter() { m_text = m_filterProc->getOutput(); m_filterProc->ackFinished(); - disconnect( m_filterProc, TQT_SIGNAL(filteringFinished()), this, TQT_SLOT(slotFilteringFinished()) ); + disconnect( m_filterProc, TQ_SIGNAL(filteringFinished()), this, TQ_SLOT(slotFilteringFinished()) ); } // if ( m_filterProc->wasModified() ) // kdDebug() << "FilterMgr::nextFilter: Filter# " << m_filterIndex << " modified the text." << endl; @@ -239,10 +239,10 @@ void FilterMgr::nextFilter() if ( m_filterProc->supportsAsync() ) { // kdDebug() << "FilterMgr::nextFilter: calling asyncConvert on filter " << m_filterIndex << endl; - connect( m_filterProc, TQT_SIGNAL(filteringFinished()), this, TQT_SLOT(slotFilteringFinished()) ); + connect( m_filterProc, TQ_SIGNAL(filteringFinished()), this, TQ_SLOT(slotFilteringFinished()) ); if ( !m_filterProc->asyncConvert( m_text, m_talkerCode, m_appId ) ) { - disconnect( m_filterProc, TQT_SIGNAL(filteringFinished()), this, TQT_SLOT(slotFilteringFinished()) ); + disconnect( m_filterProc, TQ_SIGNAL(filteringFinished()), this, TQ_SLOT(slotFilteringFinished()) ); m_filterProc = 0; nextFilter(); } @@ -284,7 +284,7 @@ bool FilterMgr::event ( TQEvent * e ) void FilterMgr::waitForFinished() { if ( m_state != fsFiltering ) return; - disconnect(m_filterProc, TQT_SIGNAL(filteringFinished()), this, TQT_SLOT(slotFilteringFinished()) ); + disconnect(m_filterProc, TQ_SIGNAL(filteringFinished()), this, TQ_SLOT(slotFilteringFinished()) ); m_async = false; m_filterProc->waitForFinished(); while ( m_state == fsFiltering ) @@ -321,7 +321,7 @@ void FilterMgr::stopFiltering() { if ( m_state != fsFiltering ) return; if ( m_async ) - disconnect( m_filterProc, TQT_SIGNAL(filteringFinished()), this, TQT_SLOT(slotFilteringFinished()) ); + disconnect( m_filterProc, TQ_SIGNAL(filteringFinished()), this, TQ_SLOT(slotFilteringFinished()) ); m_filterProc->stopFiltering(); m_state = fsIdle; TQCustomEvent* ev = new TQCustomEvent(TQEvent::User + 302); diff --git a/kttsd/kttsd/filtermgr.h b/kttsd/kttsd/filtermgr.h index 11e515d..824ee06 100644 --- a/kttsd/kttsd/filtermgr.h +++ b/kttsd/kttsd/filtermgr.h @@ -39,7 +39,7 @@ typedef TQPtrList<KttsFilterProc> FilterList; class FilterMgr : public KttsFilterProc { - Q_OBJECT + TQ_OBJECT public: diff --git a/kttsd/kttsd/kttsd.cpp b/kttsd/kttsd/kttsd.cpp index 81b05f2..5d0b7e7 100644 --- a/kttsd/kttsd/kttsd.cpp +++ b/kttsd/kttsd/kttsd.cpp @@ -69,12 +69,12 @@ bool KTTSD::initializeSpeechData() if (!m_speechData) { m_speechData = new SpeechData(); - connect (m_speechData, TQT_SIGNAL(textSet(const TQCString&, const uint)), - this, TQT_SLOT(slotTextSet(const TQCString&, const uint))); - connect (m_speechData, TQT_SIGNAL(textAppended(const TQCString&, const uint, const int)), - this, TQT_SLOT(slotTextAppended(const TQCString&, const uint, const int))); - connect (m_speechData, TQT_SIGNAL(textRemoved(const TQCString&, const uint)), - this, TQT_SLOT(slotTextRemoved(const TQCString&, const uint))); + connect (m_speechData, TQ_SIGNAL(textSet(const TQCString&, const uint)), + this, TQ_SLOT(slotTextSet(const TQCString&, const uint))); + connect (m_speechData, TQ_SIGNAL(textAppended(const TQCString&, const uint, const int)), + this, TQ_SLOT(slotTextAppended(const TQCString&, const uint, const int))); + connect (m_speechData, TQ_SIGNAL(textRemoved(const TQCString&, const uint)), + this, TQ_SLOT(slotTextRemoved(const TQCString&, const uint))); // Hook KNotify signal. if (!connectDCOPSignal(0, 0, @@ -156,20 +156,20 @@ bool KTTSD::initializeSpeaker() // Create speaker object and load plug ins, checking for the return m_speaker = new Speaker(m_speechData, m_talkerMgr); - connect (m_speaker, TQT_SIGNAL(textStarted(const TQCString&, const uint)), - this, TQT_SLOT(slotTextStarted(const TQCString&, const uint))); - connect (m_speaker, TQT_SIGNAL(textFinished(const TQCString&, const uint)), - this, TQT_SLOT(slotTextFinished(const TQCString&, const uint))); - connect (m_speaker, TQT_SIGNAL(textResumed(const TQCString&, const uint)), - this, TQT_SLOT(slotTextResumed(const TQCString&, const uint))); - connect (m_speaker, TQT_SIGNAL(sentenceStarted(TQString, TQString, const TQCString&, const uint, const uint)), - this, TQT_SLOT(slotSentenceStarted(TQString, TQString, const TQCString&, const uint, const uint))); - connect (m_speaker, TQT_SIGNAL(sentenceFinished(const TQCString&, const uint, const uint)), this, - TQT_SLOT(slotSentenceFinished(const TQCString&, const uint, const uint))); - connect (m_speaker, TQT_SIGNAL(textStopped(const TQCString&, const uint)), - this, TQT_SLOT(slotTextStopped(const TQCString&, const uint))); - connect (m_speaker, TQT_SIGNAL(textPaused(const TQCString&, const uint)), - this, TQT_SLOT(slotTextPaused(const TQCString&, const uint))); + connect (m_speaker, TQ_SIGNAL(textStarted(const TQCString&, const uint)), + this, TQ_SLOT(slotTextStarted(const TQCString&, const uint))); + connect (m_speaker, TQ_SIGNAL(textFinished(const TQCString&, const uint)), + this, TQ_SLOT(slotTextFinished(const TQCString&, const uint))); + connect (m_speaker, TQ_SIGNAL(textResumed(const TQCString&, const uint)), + this, TQ_SLOT(slotTextResumed(const TQCString&, const uint))); + connect (m_speaker, TQ_SIGNAL(sentenceStarted(TQString, TQString, const TQCString&, const uint, const uint)), + this, TQ_SLOT(slotSentenceStarted(TQString, TQString, const TQCString&, const uint, const uint))); + connect (m_speaker, TQ_SIGNAL(sentenceFinished(const TQCString&, const uint, const uint)), this, + TQ_SLOT(slotSentenceFinished(const TQCString&, const uint, const uint))); + connect (m_speaker, TQ_SIGNAL(textStopped(const TQCString&, const uint)), + this, TQ_SLOT(slotTextStopped(const TQCString&, const uint))); + connect (m_speaker, TQ_SIGNAL(textPaused(const TQCString&, const uint)), + this, TQ_SLOT(slotTextPaused(const TQCString&, const uint))); return true; } diff --git a/kttsd/kttsd/kttsd.h b/kttsd/kttsd/kttsd.h index 6be509a..9ea18e1 100644 --- a/kttsd/kttsd/kttsd.h +++ b/kttsd/kttsd/kttsd.h @@ -38,7 +38,7 @@ class KTTSD : public TQObject, virtual public KSpeech { - Q_OBJECT + TQ_OBJECT // K_DCOP @@ -632,7 +632,7 @@ class KTTSD : public TQObject, virtual public KSpeech // kspeech is obsolete. Applications should use KSpeech instead. class kspeech : public TQObject, virtual public KSpeech { - Q_OBJECT + TQ_OBJECT // K_DCOP diff --git a/kttsd/kttsd/speaker.cpp b/kttsd/kttsd/speaker.cpp index dbff953..d2304be 100644 --- a/kttsd/kttsd/speaker.cpp +++ b/kttsd/kttsd/speaker.cpp @@ -152,7 +152,7 @@ Speaker::Speaker( SpeechData*speechData, TalkerMgr* talkerMgr, break; } // Connect timer timeout signal. - connect(m_timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotTimeout())); + connect(m_timer, TQ_SIGNAL(timeout()), this, TQ_SLOT(slotTimeout())); // Connect plugins to slots. TQPtrList<PlugInProc> plugins = m_talkerMgr->getLoadedPlugIns(); @@ -160,14 +160,14 @@ Speaker::Speaker( SpeechData*speechData, TalkerMgr* talkerMgr, for (int ndx = 0; ndx < pluginsCount; ++ndx) { PlugInProc* speech = plugins.at(ndx); - connect(speech, TQT_SIGNAL(synthFinished()), - this, TQT_SLOT(slotSynthFinished())); - connect(speech, TQT_SIGNAL(sayFinished()), - this, TQT_SLOT(slotSayFinished())); - connect(speech, TQT_SIGNAL(stopped()), - this, TQT_SLOT(slotStopped())); - connect(speech, TQT_SIGNAL(error(bool, const TQString&)), - this, TQT_SLOT(slotError(bool, const TQString&))); + connect(speech, TQ_SIGNAL(synthFinished()), + this, TQ_SLOT(slotSynthFinished())); + connect(speech, TQ_SIGNAL(sayFinished()), + this, TQ_SLOT(slotSayFinished())); + connect(speech, TQ_SIGNAL(stopped()), + this, TQ_SLOT(slotStopped())); + connect(speech, TQ_SIGNAL(error(bool, const TQString&)), + this, TQ_SLOT(slotError(bool, const TQString&))); } } @@ -275,8 +275,8 @@ void Speaker::doUtterances() { // Create an XSLT transformer and transform the text. it->transformer = new SSMLConvert(); - connect(it->transformer, TQT_SIGNAL(transformFinished()), - this, TQT_SLOT(slotTransformFinished())); + connect(it->transformer, TQ_SIGNAL(transformFinished()), + this, TQ_SLOT(slotTransformFinished())); if (it->transformer->transform(it->sentence->text, it->plugin->getSsmlXsltFilename())) { @@ -345,8 +345,8 @@ void Speaker::doUtterances() else { it->audioStretcher = new Stretcher(); - connect(it->audioStretcher, TQT_SIGNAL(stretchFinished()), - this, TQT_SLOT(slotStretchFinished())); + connect(it->audioStretcher, TQ_SIGNAL(stretchFinished()), + this, TQ_SLOT(slotStretchFinished())); if (it->audioStretcher->stretch(it->audioUrl, makeSuggestedFilename(), m_audioStretchFactor)) { @@ -1400,7 +1400,7 @@ bool Speaker::startPlayingUtterance(uttIterator it) m_speechData->setJobSequenceNum(m_currentJobNum, sentence->seq); prePlaySignals(it); it->state = usPlaying; - if (!m_timer->start(timerInterval, FALSE)) + if (!m_timer->start(timerInterval, false)) kdDebug() << "Speaker::startPlayingUtterance: timer.start failed" << endl; started = true; } else { @@ -1420,7 +1420,7 @@ bool Speaker::startPlayingUtterance(uttIterator it) // kdDebug() << "Speaker::startPlayingUtterance: resuming play" << endl; it->audioPlayer->startPlay(TQString()); // resume it->state = usPlaying; - if (!m_timer->start(timerInterval, FALSE)) + if (!m_timer->start(timerInterval, false)) kdDebug() << "Speaker::startPlayingUtterance: timer.start failed" << endl; started = true; } @@ -1433,7 +1433,7 @@ bool Speaker::startPlayingUtterance(uttIterator it) // Note: Must call stop(), even if player not currently playing. Why? it->audioPlayer->startPlay(TQString()); // resume it->state = usPlaying; - if (!m_timer->start(timerInterval, FALSE)) + if (!m_timer->start(timerInterval, false)) kdDebug() << "Speaker::startPlayingUtterance: timer.start failed" << endl; started = true; break; @@ -1694,8 +1694,8 @@ bool Speaker::event ( TQEvent * e ) { // kdDebug() << "Speaker::event: received event." << endl; doUtterances(); - return TRUE; + return true; } - else return FALSE; + else return false; } diff --git a/kttsd/kttsd/speaker.h b/kttsd/kttsd/speaker.h index 85fd4f0..57e8938 100644 --- a/kttsd/kttsd/speaker.h +++ b/kttsd/kttsd/speaker.h @@ -110,7 +110,7 @@ const int timerInterval = 500; * the queue and call the plug ins function to actually speak the texts. */ class Speaker : public TQObject{ - Q_OBJECT + TQ_OBJECT public: diff --git a/kttsd/kttsd/speechdata.cpp b/kttsd/kttsd/speechdata.cpp index e1edc75..2d39153 100644 --- a/kttsd/kttsd/speechdata.cpp +++ b/kttsd/kttsd/speechdata.cpp @@ -125,8 +125,8 @@ bool SpeechData::readConfig(){ pooledFilterMgr->job = 0; pooledFilterMgr->partNum = 0; // Connect signals from FilterMgr. - connect (filterMgr, TQT_SIGNAL(filteringFinished()), this, TQT_SLOT(slotFilterMgrFinished())); - connect (filterMgr, TQT_SIGNAL(filteringStopped()), this, TQT_SLOT(slotFilterMgrStopped())); + connect (filterMgr, TQ_SIGNAL(filteringFinished()), this, TQ_SLOT(slotFilterMgrFinished())); + connect (filterMgr, TQ_SIGNAL(filteringStopped()), this, TQ_SLOT(slotFilterMgrStopped())); m_pooledFilterMgrs.append(pooledFilterMgr); return true; @@ -1136,8 +1136,8 @@ void SpeechData::startJobFiltering(mlJob* job, const TQString& text, bool noSBD) filterMgr->init(config, "General"); pooledFilterMgr->filterMgr = filterMgr; // Connect signals from FilterMgr. - connect (filterMgr, TQT_SIGNAL(filteringFinished()), this, TQT_SLOT(slotFilterMgrFinished())); - connect (filterMgr, TQT_SIGNAL(filteringStopped()), this, TQT_SLOT(slotFilterMgrStopped())); + connect (filterMgr, TQ_SIGNAL(filteringFinished()), this, TQ_SLOT(slotFilterMgrFinished())); + connect (filterMgr, TQ_SIGNAL(filteringStopped()), this, TQ_SLOT(slotFilterMgrStopped())); m_pooledFilterMgrs.append(pooledFilterMgr); } // else kdDebug() << "SpeechData::startJobFiltering: re-using idle pooledFilterMgr for job " << jobNum << " part " << partNum << endl; diff --git a/kttsd/kttsd/speechdata.h b/kttsd/kttsd/speechdata.h index f8faeb3..1eae68d 100644 --- a/kttsd/kttsd/speechdata.h +++ b/kttsd/kttsd/speechdata.h @@ -109,7 +109,7 @@ typedef TQMap<TQString, NotifyEventMap> NotifyAppMap; * functions) */ class SpeechData : public TQObject { - Q_OBJECT + TQ_OBJECT public: diff --git a/kttsd/kttsd/ssmlconvert.cpp b/kttsd/kttsd/ssmlconvert.cpp index 1625e4a..45923a1 100644 --- a/kttsd/kttsd/ssmlconvert.cpp +++ b/kttsd/kttsd/ssmlconvert.cpp @@ -239,8 +239,8 @@ bool SSMLConvert::transform(const TQString &text, const TQString &xsltFilename) // kdDebug() << "SSMLConvert::transform: executing command: " << // m_xsltProc->args() << endl; - connect(m_xsltProc, TQT_SIGNAL(processExited(TDEProcess*)), - this, TQT_SLOT(slotProcessExited(TDEProcess*))); + connect(m_xsltProc, TQ_SIGNAL(processExited(TDEProcess*)), + this, TQ_SLOT(slotProcessExited(TDEProcess*))); if (!m_xsltProc->start(TDEProcess::NotifyOnExit, TDEProcess::NoCommunication)) { kdDebug() << "SSMLConvert::transform: Error starting xsltproc" << endl; diff --git a/kttsd/kttsd/ssmlconvert.h b/kttsd/kttsd/ssmlconvert.h index 5aa865a..a907544 100644 --- a/kttsd/kttsd/ssmlconvert.h +++ b/kttsd/kttsd/ssmlconvert.h @@ -38,7 +38,7 @@ class TDEProcess; class TQString; class SSMLConvert : public TQObject { - Q_OBJECT + TQ_OBJECT public: /** Constructors */ diff --git a/kttsd/kttsjobmgr/kttsjobmgr.cpp b/kttsd/kttsjobmgr/kttsjobmgr.cpp index 7a527f6..e838965 100644 --- a/kttsd/kttsjobmgr/kttsjobmgr.cpp +++ b/kttsd/kttsjobmgr/kttsjobmgr.cpp @@ -28,7 +28,7 @@ #include <tqmime.h> // KDE includes. -#include <kinstance.h> +#include <tdeinstance.h> #include <tdelocale.h> #include <tdeaboutdata.h> #include <tdelistview.h> @@ -89,7 +89,7 @@ TDEAboutData *KttsJobMgrFactory::aboutData() KttsJobMgrPart::KttsJobMgrPart(TQWidget *parent, const char *name) : DCOPStub("kttsd", "KSpeech"), DCOPObject("kttsjobmgr_kspeechsink"), - KParts::ReadOnlyPart(TQT_TQOBJECT(parent), name) + KParts::ReadOnlyPart(parent, name) { // Initialize some variables. m_selectOnTextSet = false; @@ -106,7 +106,7 @@ KttsJobMgrPart::KttsJobMgrPart(TQWidget *parent, const char *name) : // Create a splitter to contain the Job List View and the current sentence. TQSplitter* splitter = new TQSplitter(vBox); - splitter->setOrientation(Qt::Vertical); + splitter->setOrientation(TQt::Vertical); // Create Job List View widget. m_jobListView = new TDEListView(splitter, "joblistview"); @@ -180,60 +180,60 @@ KttsJobMgrPart::KttsJobMgrPart(TQWidget *parent, const char *name) : "<b>Resume</b> to make the job speakable, or click <b>Later</b> to move it " "down in the list.</p>"); TQWhatsThis::add(btn, wt); - connect (btn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slot_job_hold())); + connect (btn, TQ_SIGNAL(clicked()), this, TQ_SLOT(slot_job_hold())); btn = new TQPushButton(TDEGlobal::iconLoader()->loadIconSet("application-x-executable", TDEIcon::Small, 0, true), i18n("Resume"), hbox1, "job_resume"); wt = i18n( "<p>Resumes a paused job or changes a Queued job to Waiting. If the job is the " "top speakable job in the list, it begins speaking.</p>"); TQWhatsThis::add(btn, wt); - connect (btn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slot_job_resume())); + connect (btn, TQ_SIGNAL(clicked()), this, TQ_SLOT(slot_job_resume())); btn = new TQPushButton(TDEGlobal::iconLoader()->loadIconSet("edit-redo", TDEIcon::Small, 0, true), i18n("R&estart"), hbox1, "job_restart"); wt = i18n( "<p>Rewinds a job to the beginning and changes its state to Waiting. If the job " "is the top speakable job in the list, it begins speaking.</p>"); TQWhatsThis::add(btn, wt); - connect (btn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slot_job_restart())); + connect (btn, TQ_SIGNAL(clicked()), this, TQ_SLOT(slot_job_restart())); btn = new TQPushButton(TDEGlobal::iconLoader()->loadIconSet("edittrash", TDEIcon::Small, 0, true), i18n("Re&move"), hbox1, "job_remove"); wt = i18n( "<p>Deletes the job. If it is currently speaking, it stops speaking. The next " "speakable job in the list begins speaking.</p>"); TQWhatsThis::add(btn, wt); - connect (btn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slot_job_remove())); + connect (btn, TQ_SIGNAL(clicked()), this, TQ_SLOT(slot_job_remove())); btn = new TQPushButton(TDEGlobal::iconLoader()->loadIconSet("go-down", TDEIcon::Small, 0, true), i18n("&Later"), hbox1, "job_later"); wt = i18n( "<p>Moves a job downward in the list so that it will be spoken later. If the job " "is currently speaking, its state changes to Paused.</p>"); TQWhatsThis::add(btn, wt); - connect (btn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slot_job_move())); + connect (btn, TQ_SIGNAL(clicked()), this, TQ_SLOT(slot_job_move())); btn = new TQPushButton(TDEGlobal::iconLoader()->loadIconSet("2leftarrow", TDEIcon::Small, 0, true), i18n("Pre&vious Part"), hbox2, "part_prevpart"); wt = i18n( "<p>Rewinds a multi-part job to the previous part.</p>"); TQWhatsThis::add(btn, wt); - connect (btn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slot_job_prev_par())); + connect (btn, TQ_SIGNAL(clicked()), this, TQ_SLOT(slot_job_prev_par())); btn = new TQPushButton(TDEGlobal::iconLoader()->loadIconSet("1leftarrow", TDEIcon::Small, 0, true), i18n("&Previous Sentence"), hbox2, "job_prevsentence"); wt = i18n( "<p>Rewinds a job to the previous sentence.</p>"); TQWhatsThis::add(btn, wt); - connect (btn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slot_job_prev_sen())); + connect (btn, TQ_SIGNAL(clicked()), this, TQ_SLOT(slot_job_prev_sen())); btn = new TQPushButton(TDEGlobal::iconLoader()->loadIconSet("1rightarrow", TDEIcon::Small, 0, true), i18n("&Next Sentence"), hbox2, "job_nextsentence"); wt = i18n( "<p>Advances a job to the next sentence.</p>"); TQWhatsThis::add(btn, wt); - connect (btn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slot_job_next_sen())); + connect (btn, TQ_SIGNAL(clicked()), this, TQ_SLOT(slot_job_next_sen())); btn = new TQPushButton(TDEGlobal::iconLoader()->loadIconSet("2rightarrow", TDEIcon::Small, 0, true), i18n("Ne&xt Part"), hbox2, "part_nextpart"); wt = i18n( "<p>Advances a multi-part job to the next part.</p>"); TQWhatsThis::add(btn, wt); - connect (btn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slot_job_next_par())); + connect (btn, TQ_SIGNAL(clicked()), this, TQ_SLOT(slot_job_next_par())); btn = new TQPushButton(TDEGlobal::iconLoader()->loadIconSet("klipper", TDEIcon::Small, 0, true), i18n("&Speak Clipboard"), hbox3, "speak_clipboard"); @@ -242,7 +242,7 @@ KttsJobMgrPart::KttsJobMgrPart(TQWidget *parent, const char *name) : "to Waiting. If the job is the topmost in the list, it begins speaking. " "The job will be spoken by the topmost Talker in the <b>Talkers</b> tab.</p>"); TQWhatsThis::add(btn, wt); - connect (btn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slot_speak_clipboard())); + connect (btn, TQ_SIGNAL(clicked()), this, TQ_SLOT(slot_speak_clipboard())); btn = new TQPushButton(TDEGlobal::iconLoader()->loadIconSet("document-open", TDEIcon::Small, 0, true), i18n("Spea&k File"), hbox3, "speak_file"); wt = i18n( @@ -250,20 +250,20 @@ KttsJobMgrPart::KttsJobMgrPart(TQWidget *parent, const char *name) : "You must click the <b>Resume</b> button before the job will be speakable. " "The job will be spoken by the topmost Talker in the <b>Talkers</b> tab.</p>"); TQWhatsThis::add(btn, wt); - connect (btn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slot_speak_file())); + connect (btn, TQ_SIGNAL(clicked()), this, TQ_SLOT(slot_speak_file())); btn = new TQPushButton(TDEGlobal::iconLoader()->loadIconSet("translate", TDEIcon::Small, 0, true), i18n("Change Talker"), hbox3, "job_changetalker"); wt = i18n( "<p>Prompts you with a list of your configured Talkers from the <b>Talkers</b> tab. " "The job will be spoken using the selected Talker.</p>"); TQWhatsThis::add(btn, wt); - connect (btn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slot_job_change_talker())); + connect (btn, TQ_SIGNAL(clicked()), this, TQ_SLOT(slot_job_change_talker())); btn = new TQPushButton(TDEGlobal::iconLoader()->loadIconSet("reload_page", TDEIcon::Small, 0, true), i18n("&Refresh"), hbox3, "refresh"); wt = i18n( "<p>Refresh the list of jobs.</p>"); TQWhatsThis::add(btn, wt); - connect (btn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slot_refresh())); + connect (btn, TQ_SIGNAL(clicked()), this, TQ_SLOT(slot_refresh())); // Disable job buttons until a job is selected. enableJobActions(false); @@ -291,8 +291,8 @@ KttsJobMgrPart::KttsJobMgrPart(TQWidget *parent, const char *name) : // Set the main widget for the part. setWidget(vBox); - connect(m_jobListView, TQT_SIGNAL(selectionChanged(TQListViewItem* )), - this, TQT_SLOT(slot_selectionChanged(TQListViewItem* ))); + connect(m_jobListView, TQ_SIGNAL(selectionChanged(TQListViewItem* )), + this, TQ_SLOT(slot_selectionChanged(TQListViewItem* ))); // Fill the Job List View. refreshJobListView(); diff --git a/kttsd/kttsjobmgr/kttsjobmgr.h b/kttsd/kttsjobmgr/kttsjobmgr.h index 272b4c8..4b677f9 100644 --- a/kttsd/kttsjobmgr/kttsjobmgr.h +++ b/kttsd/kttsjobmgr/kttsjobmgr.h @@ -36,7 +36,7 @@ class KTextEdit; class KttsJobMgrFactory : public KLibFactory { - Q_OBJECT + TQ_OBJECT public: KttsJobMgrFactory() {}; @@ -58,7 +58,7 @@ class KttsJobMgrPart: public KSpeech_stub, virtual public KSpeechSink { - Q_OBJECT + TQ_OBJECT public: KttsJobMgrPart(TQWidget *parent, const char *name); @@ -289,7 +289,7 @@ private: class KttsJobMgrBrowserExtension : public KParts::BrowserExtension { - Q_OBJECT + TQ_OBJECT friend class KttsJobMgrPart; public: diff --git a/kttsd/kttsmgr/kttsmgr.cpp b/kttsd/kttsmgr/kttsmgr.cpp index 713b270..6a369f0 100644 --- a/kttsd/kttsmgr/kttsmgr.cpp +++ b/kttsd/kttsmgr/kttsmgr.cpp @@ -179,18 +179,18 @@ KttsMgrTray::KttsMgrTray(TQWidget *parent): if (id != -1) contextMenu()->changeTitle(id, icon, "KTTSMgr"); id = contextMenu()->insertItem (TDEGlobal::iconLoader()->loadIcon("klipper", TDEIcon::Small), - i18n("&Speak Clipboard Contents"), this, TQT_SLOT(speakClipboardSelected())); + i18n("&Speak Clipboard Contents"), this, TQ_SLOT(speakClipboardSelected())); id = contextMenu()->insertItem (TDEGlobal::iconLoader()->loadIcon("process-stop", TDEIcon::Small), - i18n("&Hold"), this, TQT_SLOT(holdSelected())); + i18n("&Hold"), this, TQ_SLOT(holdSelected())); id = contextMenu()->insertItem (TDEGlobal::iconLoader()->loadIcon("application-x-executable", TDEIcon::Small), - i18n("Resume"), this, TQT_SLOT(resumeSelected())); + i18n("Resume"), this, TQ_SLOT(resumeSelected())); id = contextMenu()->insertSeparator(); id = contextMenu()->insertItem (TDEGlobal::iconLoader()->loadIcon("contents", TDEIcon::Small), - i18n("KTTS &Handbook"), this, TQT_SLOT(helpSelected())); + i18n("KTTS &Handbook"), this, TQ_SLOT(helpSelected())); id = contextMenu()->insertItem (TDEGlobal::iconLoader()->loadIcon("kttsd", TDEIcon::Small), - i18n("&About KTTSMgr"), this, TQT_SLOT(aboutSelected())); + i18n("&About KTTSMgr"), this, TQ_SLOT(aboutSelected())); - connect(this, TQT_SIGNAL(quitSelected()), this, TQT_SLOT(quitSelected())); + connect(this, TQ_SIGNAL(quitSelected()), this, TQ_SLOT(quitSelected())); // If --autoexit option given, exit when speaking stops. TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); if (args->isSet("autoexit")) diff --git a/kttsd/kttsmgr/kttsmgr.h b/kttsd/kttsmgr/kttsmgr.h index 63f8b0a..69bf177 100644 --- a/kttsd/kttsmgr/kttsmgr.h +++ b/kttsd/kttsmgr/kttsmgr.h @@ -47,7 +47,7 @@ class KttsToolTip: public TQToolTip class KttsMgrTray: public KSystemTray, public KSpeech_stub, virtual public KSpeechSink { - Q_OBJECT + TQ_OBJECT public: diff --git a/kttsd/libkttsd/filterconf.h b/kttsd/libkttsd/filterconf.h index 2d66fdc..2b9fbcc 100644 --- a/kttsd/libkttsd/filterconf.h +++ b/kttsd/libkttsd/filterconf.h @@ -31,11 +31,11 @@ // KDE includes. #include <tdeconfig.h> #include <kdebug.h> -#include <kdemacros.h> +#include <tdemacros.h> #include "kdeexportfix.h" -class KDE_EXPORT KttsFilterConf : public TQWidget{ - Q_OBJECT +class TDE_EXPORT KttsFilterConf : public TQWidget{ + TQ_OBJECT public: diff --git a/kttsd/libkttsd/filterproc.h b/kttsd/libkttsd/filterproc.h index 78d4d9d..3e7ce5d 100644 --- a/kttsd/libkttsd/filterproc.h +++ b/kttsd/libkttsd/filterproc.h @@ -30,15 +30,15 @@ #include <tqstringlist.h> // KDE includes. -#include <kdemacros.h> +#include <tdemacros.h> #include "kdeexportfix.h" class TalkerCode; class TDEConfig; -class KDE_EXPORT KttsFilterProc : virtual public TQObject +class TDE_EXPORT KttsFilterProc : virtual public TQObject { - Q_OBJECT + TQ_OBJECT public: diff --git a/kttsd/libkttsd/kdeexportfix.h b/kttsd/libkttsd/kdeexportfix.h index fe4a60b..c4f53b6 100644 --- a/kttsd/libkttsd/kdeexportfix.h +++ b/kttsd/libkttsd/kdeexportfix.h @@ -1,5 +1,5 @@ /* - tdelibs < 3.3.2 had a bug in the KDE_EXPORT macro. This file fixes this + tdelibs < 3.3.2 had a bug in the TDE_EXPORT macro. This file fixes this by undefining it. ------------------- Copyright : (C) 2005 by Gary Cramblitt <garycramblitt@comcast.net> @@ -20,8 +20,8 @@ #include <tdeversion.h> #if TDE_VERSION < TDE_MAKE_VERSION (3,3,2) -#undef KDE_EXPORT -#define KDE_EXPORT +#undef TDE_EXPORT +#define TDE_EXPORT #endif #endif // _KDEEXPORTFIX_H_ diff --git a/kttsd/libkttsd/notify.h b/kttsd/libkttsd/notify.h index b4a9c92..a105c7d 100644 --- a/kttsd/libkttsd/notify.h +++ b/kttsd/libkttsd/notify.h @@ -18,11 +18,11 @@ #ifndef _NOTIFYACTION_H #define _NOTIFYACTION_H -#include <kdemacros.h> +#include <tdemacros.h> class TQString; -class KDE_EXPORT NotifyAction +class TDE_EXPORT NotifyAction { public: @@ -44,7 +44,7 @@ public: // -------------------------------------------------------------------- -class KDE_EXPORT NotifyPresent +class TDE_EXPORT NotifyPresent { public: @@ -67,7 +67,7 @@ public: // -------------------------------------------------------------------- -class KDE_EXPORT NotifyEvent +class TDE_EXPORT NotifyEvent { public: diff --git a/kttsd/libkttsd/player.h b/kttsd/libkttsd/player.h index 28c2591..8bbb741 100644 --- a/kttsd/libkttsd/player.h +++ b/kttsd/libkttsd/player.h @@ -18,16 +18,16 @@ #include <tqobject.h> #include <tqstringlist.h> -#include <kdemacros.h> +#include <tdemacros.h> #include "kdeexportfix.h" #include "tdeglobal.h" #include "tdelocale.h" // #include "filehandle.h" -class KDE_EXPORT Player : virtual public TQObject +class TDE_EXPORT Player : virtual public TQObject { - Q_OBJECT + TQ_OBJECT public: diff --git a/kttsd/libkttsd/pluginconf.h b/kttsd/libkttsd/pluginconf.h index 07d672a..039a19b 100644 --- a/kttsd/libkttsd/pluginconf.h +++ b/kttsd/libkttsd/pluginconf.h @@ -24,7 +24,7 @@ // KDE includes. #include <tdeconfig.h> #include <kdebug.h> -#include <kdemacros.h> +#include <tdemacros.h> #include "kdeexportfix.h" // KTTS includes. @@ -207,8 +207,8 @@ * order to synthesize speech. */ -class KDE_EXPORT PlugInConf : public TQWidget{ - Q_OBJECT +class TDE_EXPORT PlugInConf : public TQWidget{ + TQ_OBJECT public: diff --git a/kttsd/libkttsd/pluginproc.h b/kttsd/libkttsd/pluginproc.h index 405e5d7..307ba79 100644 --- a/kttsd/libkttsd/pluginproc.h +++ b/kttsd/libkttsd/pluginproc.h @@ -21,7 +21,7 @@ #include <tqobject.h> #include <tqstring.h> -#include <kdemacros.h> +#include <tdemacros.h> #include "kdeexportfix.h" #include <tdeconfig.h> @@ -227,8 +227,8 @@ enum pluginState psFinished = 3 /**< Plugin has finished synthesizing. Audio file is ready. */ }; -class KDE_EXPORT PlugInProc : virtual public TQObject{ - Q_OBJECT +class TDE_EXPORT PlugInProc : virtual public TQObject{ + TQ_OBJECT public: diff --git a/kttsd/libkttsd/selecttalkerdlg.cpp b/kttsd/libkttsd/selecttalkerdlg.cpp index bdab6d6..c5a33f3 100644 --- a/kttsd/libkttsd/selecttalkerdlg.cpp +++ b/kttsd/libkttsd/selecttalkerdlg.cpp @@ -111,36 +111,36 @@ SelectTalkerDlg::SelectTalkerDlg( applyTalkerCodeToControls(); enableDisableControls(); - connect(m_widget->useDefaultRadioButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(configChanged())); - connect(m_widget->useClosestMatchRadioButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(configChanged())); - connect(m_widget->useSpecificTalkerRadioButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(configChanged())); - - connect(m_widget->languageBrowseButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotLanguageBrowseButton_clicked())); - - connect(m_widget->synthComboBox, TQT_SIGNAL(activated(const TQString&)), - this, TQT_SLOT(configChanged())); - connect(m_widget->genderComboBox, TQT_SIGNAL(activated(const TQString&)), - this, TQT_SLOT(configChanged())); - connect(m_widget->volumeComboBox, TQT_SIGNAL(activated(const TQString&)), - this, TQT_SLOT(configChanged())); - connect(m_widget->rateComboBox, TQT_SIGNAL(activated(const TQString&)), - this, TQT_SLOT(configChanged())); - - connect(m_widget->synthCheckBox, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(configChanged())); - connect(m_widget->genderCheckBox, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(configChanged())); - connect(m_widget->volumeCheckBox, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(configChanged())); - connect(m_widget->rateCheckBox, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(configChanged())); - - connect(m_widget->talkersListView, TQT_SIGNAL(selectionChanged()), - this, TQT_SLOT(slotTalkersListView_selectionChanged())); + connect(m_widget->useDefaultRadioButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(configChanged())); + connect(m_widget->useClosestMatchRadioButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(configChanged())); + connect(m_widget->useSpecificTalkerRadioButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(configChanged())); + + connect(m_widget->languageBrowseButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotLanguageBrowseButton_clicked())); + + connect(m_widget->synthComboBox, TQ_SIGNAL(activated(const TQString&)), + this, TQ_SLOT(configChanged())); + connect(m_widget->genderComboBox, TQ_SIGNAL(activated(const TQString&)), + this, TQ_SLOT(configChanged())); + connect(m_widget->volumeComboBox, TQ_SIGNAL(activated(const TQString&)), + this, TQ_SLOT(configChanged())); + connect(m_widget->rateComboBox, TQ_SIGNAL(activated(const TQString&)), + this, TQ_SLOT(configChanged())); + + connect(m_widget->synthCheckBox, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(configChanged())); + connect(m_widget->genderCheckBox, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(configChanged())); + connect(m_widget->volumeCheckBox, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(configChanged())); + connect(m_widget->rateCheckBox, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(configChanged())); + + connect(m_widget->talkersListView, TQ_SIGNAL(selectionChanged()), + this, TQ_SLOT(slotTalkersListView_selectionChanged())); m_widget->talkersListView->setMinimumHeight( 120 ); } diff --git a/kttsd/libkttsd/selecttalkerdlg.h b/kttsd/libkttsd/selecttalkerdlg.h index fd4f2a0..d9fe825 100644 --- a/kttsd/libkttsd/selecttalkerdlg.h +++ b/kttsd/libkttsd/selecttalkerdlg.h @@ -33,15 +33,15 @@ // KDE includes. #include <kdialogbase.h> #include <tdelocale.h> -#include <kdemacros.h> +#include <tdemacros.h> // KTTS includes. #include "talkercode.h" #include "selecttalkerwidget.h" -class KDE_EXPORT SelectTalkerDlg : public KDialogBase +class TDE_EXPORT SelectTalkerDlg : public KDialogBase { - Q_OBJECT + TQ_OBJECT public: diff --git a/kttsd/libkttsd/stretcher.cpp b/kttsd/libkttsd/stretcher.cpp index c6c50e5..ccc3565 100644 --- a/kttsd/libkttsd/stretcher.cpp +++ b/kttsd/libkttsd/stretcher.cpp @@ -63,8 +63,8 @@ bool Stretcher::stretch(const TQString &inFilename, const TQString &outFilename, m_stretchProc = new TDEProcess; TQString stretchStr = TQString("%1").arg(stretchFactor, 0, 'f', 3); *m_stretchProc << "sox" << inFilename << outFilename << "stretch" << stretchStr; - connect(m_stretchProc, TQT_SIGNAL(processExited(TDEProcess*)), - this, TQT_SLOT(slotProcessExited(TDEProcess*))); + connect(m_stretchProc, TQ_SIGNAL(processExited(TDEProcess*)), + this, TQ_SLOT(slotProcessExited(TDEProcess*))); if (!m_stretchProc->start(TDEProcess::NotifyOnExit, TDEProcess::NoCommunication)) { kdDebug() << "Stretcher::stretch: Error starting audio stretcher process. Is sox installed?" << endl; diff --git a/kttsd/libkttsd/stretcher.h b/kttsd/libkttsd/stretcher.h index 1eb3bd6..7c07f25 100644 --- a/kttsd/libkttsd/stretcher.h +++ b/kttsd/libkttsd/stretcher.h @@ -26,13 +26,13 @@ #ifndef _STRETCHER_H_ #define _STRETCHER_H_ -#include <kdemacros.h> +#include <tdemacros.h> #include "kdeexportfix.h" class TDEProcess; -class KDE_EXPORT Stretcher : public TQObject{ - Q_OBJECT +class TDE_EXPORT Stretcher : public TQObject{ + TQ_OBJECT public: diff --git a/kttsd/libkttsd/talkercode.h b/kttsd/libkttsd/talkercode.h index 85af2be..7b8e6f6 100644 --- a/kttsd/libkttsd/talkercode.h +++ b/kttsd/libkttsd/talkercode.h @@ -28,11 +28,11 @@ // TQt includes. #include <tqstring.h> -#include <kdemacros.h> +#include <tdemacros.h> #include "kdeexportfix.h" #include <tqvaluelist.h> -class KDE_EXPORT TalkerCode +class TDE_EXPORT TalkerCode { public: /** diff --git a/kttsd/libkttsd/testplayer.h b/kttsd/libkttsd/testplayer.h index 18e6047..04cd654 100644 --- a/kttsd/libkttsd/testplayer.h +++ b/kttsd/libkttsd/testplayer.h @@ -25,7 +25,7 @@ #ifndef _TESTPLAYER_H_ #define _TESTPLAYER_H_ -#include <kdemacros.h> +#include <tdemacros.h> #include "kdeexportfix.h" class Player; @@ -33,7 +33,7 @@ class Stretcher; // TODO: Make this work asynchronously. -class KDE_EXPORT TestPlayer : public TQObject{ +class TDE_EXPORT TestPlayer : public TQObject{ public: /** * Constructor. diff --git a/kttsd/libkttsd/utils.h b/kttsd/libkttsd/utils.h index 61711db..a9de3e7 100644 --- a/kttsd/libkttsd/utils.h +++ b/kttsd/libkttsd/utils.h @@ -18,13 +18,13 @@ #ifndef UTILS_H #define UTILS_H -#include <kdemacros.h> +#include <tdemacros.h> #include "kdeexportfix.h" class TQString; class TQComboBox; -class KDE_EXPORT KttsUtils { +class TDE_EXPORT KttsUtils { public: /// Constructor diff --git a/kttsd/players/akodeplayer/akodeplayer.h b/kttsd/players/akodeplayer/akodeplayer.h index d51d7fb..b3099fc 100644 --- a/kttsd/players/akodeplayer/akodeplayer.h +++ b/kttsd/players/akodeplayer/akodeplayer.h @@ -25,15 +25,15 @@ #include <tqstring.h> #include "player.h" -#include <kdemacros.h> +#include <tdemacros.h> namespace aKode { class File; class Player; } -class KDE_EXPORT aKodePlayer : public Player +class TDE_EXPORT aKodePlayer : public Player { - Q_OBJECT + TQ_OBJECT public: diff --git a/kttsd/players/alsaplayer/alsaplayer.h b/kttsd/players/alsaplayer/alsaplayer.h index 73d2570..9c30341 100644 --- a/kttsd/players/alsaplayer/alsaplayer.h +++ b/kttsd/players/alsaplayer/alsaplayer.h @@ -40,7 +40,7 @@ #include <tqmutex.h> // KDE includes. -#include <kdemacros.h> +#include <tdemacros.h> #include "kdeexportfix.h" #include <kurl.h> @@ -66,9 +66,9 @@ static snd_pcm_sframes_t (*writei_func)(snd_pcm_t *handle, const void *buffer, s static snd_pcm_sframes_t (*readn_func)(snd_pcm_t *handle, void **bufs, snd_pcm_uframes_t size); static snd_pcm_sframes_t (*writen_func)(snd_pcm_t *handle, void **bufs, snd_pcm_uframes_t size); -class KDE_EXPORT AlsaPlayer : public Player, TQThread +class TDE_EXPORT AlsaPlayer : public Player, TQThread { - Q_OBJECT + TQ_OBJECT public: diff --git a/kttsd/players/artsplayer/artsplayer.cpp b/kttsd/players/artsplayer/artsplayer.cpp index cb0c03e..fac97e1 100644 --- a/kttsd/players/artsplayer/artsplayer.cpp +++ b/kttsd/players/artsplayer/artsplayer.cpp @@ -87,7 +87,7 @@ void ArtsPlayer::startPlay(const TQString &file) m_playobject = m_factory->createPlayObject(m_currentURL, false); if(m_playobject->object().isNull()) - connect(m_playobject, TQT_SIGNAL(playObjectCreated()), TQT_SLOT(playObjectCreated())); + connect(m_playobject, TQ_SIGNAL(playObjectCreated()), TQ_SLOT(playObjectCreated())); else playObjectCreated(); } @@ -254,7 +254,7 @@ void ArtsPlayer::setupPlayer() m_dispatcher = new KArtsDispatcher; m_server = new KArtsServer; setupArtsObjects(); - connect(m_server, TQT_SIGNAL(restartedServer()), TQT_SLOT(setupArtsObjects())); + connect(m_server, TQ_SIGNAL(restartedServer()), TQ_SLOT(setupArtsObjects())); } void ArtsPlayer::setupVolumeControl() diff --git a/kttsd/players/artsplayer/artsplayer.h b/kttsd/players/artsplayer/artsplayer.h index edae1fc..c14014c 100644 --- a/kttsd/players/artsplayer/artsplayer.h +++ b/kttsd/players/artsplayer/artsplayer.h @@ -23,7 +23,7 @@ #include "config.h" #endif -#include <kdemacros.h> +#include <tdemacros.h> #include "kdeexportfix.h" #include "player.h" @@ -43,9 +43,9 @@ namespace KDE { class PlayObject; } -class KDE_EXPORT ArtsPlayer : public Player +class TDE_EXPORT ArtsPlayer : public Player { - Q_OBJECT + TQ_OBJECT public: diff --git a/kttsd/players/gstplayer/gstreamerplayer.h b/kttsd/players/gstplayer/gstreamerplayer.h index fd8baf7..108d729 100644 --- a/kttsd/players/gstplayer/gstreamerplayer.h +++ b/kttsd/players/gstplayer/gstreamerplayer.h @@ -29,7 +29,7 @@ extern "C" { class GStreamerPlayer : public Player { - Q_OBJECT + TQ_OBJECT public: 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 6fc2792..2144b52 100644 --- a/kttsd/plugins/command/commandconf.cpp +++ b/kttsd/plugins/command/commandconf.cpp @@ -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 11f8b9b..8c22717 100644 --- a/kttsd/plugins/command/commandconf.h +++ b/kttsd/plugins/command/commandconf.h @@ -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 64d804c..8491898 100644 --- a/kttsd/plugins/command/commandconfwidget.ui +++ b/kttsd/plugins/command/commandconfwidget.ui @@ -214,8 +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"/> </UI> diff --git a/kttsd/plugins/command/commandproc.cpp b/kttsd/plugins/command/commandproc.cpp index 1be0d2d..e0f04ec 100644 --- a/kttsd/plugins/command/commandproc.cpp +++ b/kttsd/plugins/command/commandproc.cpp @@ -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 1ffe7ee..f476a1b 100644 --- a/kttsd/plugins/command/commandproc.h +++ b/kttsd/plugins/command/commandproc.h @@ -28,7 +28,7 @@ class TDEProcess; class TQTextCodec; class CommandProc : public PlugInProc{ - Q_OBJECT + TQ_OBJECT public: diff --git a/kttsd/plugins/epos/eposconf.cpp b/kttsd/plugins/epos/eposconf.cpp index 64e5b6e..9340fa5 100644 --- a/kttsd/plugins/epos/eposconf.cpp +++ b/kttsd/plugins/epos/eposconf.cpp @@ -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 73df5dd..9f5e6e8 100644 --- a/kttsd/plugins/epos/eposconf.h +++ b/kttsd/plugins/epos/eposconf.h @@ -42,7 +42,7 @@ class EposProc; class KProgressDialog; class EposConf : public PlugInConf { - Q_OBJECT + TQ_OBJECT public: diff --git a/kttsd/plugins/epos/eposproc.cpp b/kttsd/plugins/epos/eposproc.cpp index 8d91c66..27d96f0 100644 --- a/kttsd/plugins/epos/eposproc.cpp +++ b/kttsd/plugins/epos/eposproc.cpp @@ -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 afc80e8..6111413 100644 --- a/kttsd/plugins/epos/eposproc.h +++ b/kttsd/plugins/epos/eposproc.h @@ -36,7 +36,7 @@ class TDEProcess; class TQTextCodec; class EposProc : public PlugInProc{ - Q_OBJECT + TQ_OBJECT public: diff --git a/kttsd/plugins/festivalint/festivalintconf.cpp b/kttsd/plugins/festivalint/festivalintconf.cpp index c38bbd5..81e346c 100644 --- a/kttsd/plugins/festivalint/festivalintconf.cpp +++ b/kttsd/plugins/festivalint/festivalintconf.cpp @@ -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 3d690aa..9cf345d 100644 --- a/kttsd/plugins/festivalint/festivalintconf.h +++ b/kttsd/plugins/festivalint/festivalintconf.h @@ -55,7 +55,7 @@ typedef struct voiceStruct{ } voice; class FestivalIntConf : public PlugInConf { - Q_OBJECT + TQ_OBJECT public: diff --git a/kttsd/plugins/festivalint/festivalintproc.cpp b/kttsd/plugins/festivalint/festivalintproc.cpp index 1258317..da5e71b 100644 --- a/kttsd/plugins/festivalint/festivalintproc.cpp +++ b/kttsd/plugins/festivalint/festivalintproc.cpp @@ -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 f685f0b..f4d0e25 100644 --- a/kttsd/plugins/festivalint/festivalintproc.h +++ b/kttsd/plugins/festivalint/festivalintproc.h @@ -34,7 +34,7 @@ class TQTextCodec; class FestivalIntProc : public PlugInProc{ - Q_OBJECT + TQ_OBJECT public: diff --git a/kttsd/plugins/flite/fliteconf.cpp b/kttsd/plugins/flite/fliteconf.cpp index 1e15e68..aa33e04 100644 --- a/kttsd/plugins/flite/fliteconf.cpp +++ b/kttsd/plugins/flite/fliteconf.cpp @@ -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 6bcb82e..54acab0 100644 --- a/kttsd/plugins/flite/fliteconf.h +++ b/kttsd/plugins/flite/fliteconf.h @@ -41,7 +41,7 @@ class FliteProc; class KProgressDialog; class FliteConf : public PlugInConf { - Q_OBJECT + TQ_OBJECT public: diff --git a/kttsd/plugins/flite/fliteproc.cpp b/kttsd/plugins/flite/fliteproc.cpp index 9ebadd6..269290f 100644 --- a/kttsd/plugins/flite/fliteproc.cpp +++ b/kttsd/plugins/flite/fliteproc.cpp @@ -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 7bc2ce8..cf8cf38 100644 --- a/kttsd/plugins/flite/fliteproc.h +++ b/kttsd/plugins/flite/fliteproc.h @@ -34,7 +34,7 @@ class TDEProcess; class FliteProc : public PlugInProc{ - Q_OBJECT + TQ_OBJECT public: 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/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/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 4baf158..1fbe4ea 100644 --- a/kttsd/plugins/hadifix/hadifixconfigui.ui +++ b/kttsd/plugins/hadifix/hadifixconfigui.ui @@ -656,10 +656,10 @@ <variable>TQPixmap male;</variable> <variable>TQMap<TQString,int> 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> @@ -667,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 & )</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> 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/voicefileui.ui b/kttsd/plugins/hadifix/voicefileui.ui index 19c63a4..bb3a232 100644 --- a/kttsd/plugins/hadifix/voicefileui.ui +++ b/kttsd/plugins/hadifix/voicefileui.ui @@ -107,10 +107,10 @@ <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"/> </UI> diff --git a/translations/desktop_files/icon-themes/es_AR.po b/translations/desktop_files/icon-themes/es_AR.po new file mode 100644 index 0000000..a1859eb --- /dev/null +++ b/translations/desktop_files/icon-themes/es_AR.po @@ -0,0 +1,29 @@ +# SOME DESCRIPTIVE TITLE. +# This file is put in the public domain. +# Slávek Banko <slavek.banko@axis.cz>, 2025. +# Alejo Fernández <alejofernandez@hotmail.com.ar>, 2025. +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2021-03-14 11:42+0100\n" +"PO-Revision-Date: 2025-03-15 07:44+0000\n" +"Last-Translator: Alejo Fernández <alejofernandez@hotmail.com.ar>\n" +"Language-Team: Spanish (Argentina) <https://mirror.git.trinitydesktop.org/" +"weblate/projects/tdeaccessibility/icon-themes/es_AR/>\n" +"Language: es_AR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. Name +#: mono/index.theme:2 +msgid "Monochrome" +msgstr "Monocromo" + +#. Comment +#: mono/index.theme:4 +msgid "By Danny Allen (danny@dannyallen.co.uk)" +msgstr "Por Danny Allen (danny@dannyallen.co.uk)" diff --git a/translations/desktop_files/icon-themes/nl.po b/translations/desktop_files/icon-themes/nl.po index 2f690dd..669e100 100644 --- a/translations/desktop_files/icon-themes/nl.po +++ b/translations/desktop_files/icon-themes/nl.po @@ -1,20 +1,21 @@ # SOME DESCRIPTIVE TITLE. # This file is put in the public domain. -# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. -# -#, fuzzy +# Heimen Stoffels <vistausss@fastmail.com>, 2025. msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-03-14 11:42+0100\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: LANGUAGE <LL@li.org>\n" +"PO-Revision-Date: 2025-04-08 18:44+0000\n" +"Last-Translator: Heimen Stoffels <vistausss@fastmail.com>\n" +"Language-Team: Dutch <https://mirror.git.trinitydesktop.org/weblate/projects/" +"tdeaccessibility/icon-themes/nl/>\n" "Language: nl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" #. Name #: mono/index.theme:2 @@ -24,4 +25,4 @@ msgstr "Monochroom" #. Comment #: mono/index.theme:4 msgid "By Danny Allen (danny@dannyallen.co.uk)" -msgstr "door Danny Allen (danny@dannyallen.co.uk)" +msgstr "van Danny Allen (danny@dannyallen.co.uk)" diff --git a/translations/desktop_files/icon-themes/th.po b/translations/desktop_files/icon-themes/th.po index ee401db..a9b1b35 100644 --- a/translations/desktop_files/icon-themes/th.po +++ b/translations/desktop_files/icon-themes/th.po @@ -1,25 +1,26 @@ # SOME DESCRIPTIVE TITLE. # This file is put in the public domain. -# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. -# -#, fuzzy +# Anucha Hlownonkor <tony.chompoo@gmail.com>, 2025. msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-03-14 11:42+0100\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: LANGUAGE <LL@li.org>\n" +"PO-Revision-Date: 2025-08-21 10:59+0000\n" +"Last-Translator: Anucha Hlownonkor <tony.chompoo@gmail.com>\n" +"Language-Team: Thai <https://mirror.git.trinitydesktop.org/weblate/projects/" +"tdeaccessibility/icon-themes/th/>\n" "Language: th\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Weblate 4.18.2\n" #. Name #: mono/index.theme:2 msgid "Monochrome" -msgstr "" +msgstr "โมโนโครม" #. Comment #: mono/index.theme:4 diff --git a/translations/desktop_files/kbstateapplet-desktops/es_AR.po b/translations/desktop_files/kbstateapplet-desktops/es_AR.po new file mode 100644 index 0000000..28e45b8 --- /dev/null +++ b/translations/desktop_files/kbstateapplet-desktops/es_AR.po @@ -0,0 +1,29 @@ +# SOME DESCRIPTIVE TITLE. +# This file is put in the public domain. +# Slávek Banko <slavek.banko@axis.cz>, 2025. +# Alejo Fernández <alejofernandez@hotmail.com.ar>, 2025. +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2021-03-14 11:43+0100\n" +"PO-Revision-Date: 2025-03-15 07:44+0000\n" +"Last-Translator: Alejo Fernández <alejofernandez@hotmail.com.ar>\n" +"Language-Team: Spanish (Argentina) <https://mirror.git.trinitydesktop.org/" +"weblate/projects/tdeaccessibility/kbstateapplet-desktop-files/es_AR/>\n" +"Language: es_AR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. Name +#: kbstateapplet.desktop:2 +msgid "Keyboard Status Applet" +msgstr "Applet integrado en el panel con el estado del teclado" + +#. Comment +#: kbstateapplet.desktop:4 +msgid "Panel applet that shows the state of the modifier keys" +msgstr "Applet en el panel que muestra el estado de las teclas modificadoras" diff --git a/translations/desktop_files/kbstateapplet-desktops/nl.po b/translations/desktop_files/kbstateapplet-desktops/nl.po index 702df39..74e7ee1 100644 --- a/translations/desktop_files/kbstateapplet-desktops/nl.po +++ b/translations/desktop_files/kbstateapplet-desktops/nl.po @@ -1,27 +1,28 @@ # SOME DESCRIPTIVE TITLE. # This file is put in the public domain. -# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. -# -#, fuzzy +# Heimen Stoffels <vistausss@fastmail.com>, 2025. msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-03-14 11:43+0100\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: LANGUAGE <LL@li.org>\n" +"PO-Revision-Date: 2025-04-08 18:44+0000\n" +"Last-Translator: Heimen Stoffels <vistausss@fastmail.com>\n" +"Language-Team: Dutch <https://mirror.git.trinitydesktop.org/weblate/projects/" +"tdeaccessibility/kbstateapplet-desktop-files/nl/>\n" "Language: nl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" #. Name #: kbstateapplet.desktop:2 msgid "Keyboard Status Applet" -msgstr "Toetsenbordstatus-applet" +msgstr "Toetsenbordstatusapplet" #. Comment #: kbstateapplet.desktop:4 msgid "Panel applet that shows the state of the modifier keys" -msgstr "Een paneelapplet dat de status van de modificatietoetsen weergeeft" +msgstr "Een paneelapplet dat de status van de bewerktoetsen toont" diff --git a/translations/desktop_files/kmag-desktops/de.po b/translations/desktop_files/kmag-desktops/de.po index 14e640e..ab3f9cd 100644 --- a/translations/desktop_files/kmag-desktops/de.po +++ b/translations/desktop_files/kmag-desktops/de.po @@ -1,25 +1,26 @@ # SOME DESCRIPTIVE TITLE. # This file is put in the public domain. -# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. -# -#, fuzzy +# Lian Lianna Begett <weblate-tde@bunbun.de>, 2025. msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-03-14 11:43+0100\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: LANGUAGE <LL@li.org>\n" +"PO-Revision-Date: 2025-01-18 19:06+0000\n" +"Last-Translator: Lian Lianna Begett <weblate-tde@bunbun.de>\n" +"Language-Team: German <https://mirror.git.trinitydesktop.org/weblate/" +"projects/tdeaccessibility/kmag-desktop-files/de/>\n" "Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" #. Name #: kmag.desktop:2 msgid "KMag" -msgstr "" +msgstr "KMag" #. GenericName #: kmag.desktop:4 @@ -29,4 +30,4 @@ msgstr "Bildschirmlupe" #. Comment #: kmag.desktop:6 msgid "Tool to zoom screen areas" -msgstr "" +msgstr "Werkzeug zum Vergrößern von Bildschirminhalten" diff --git a/translations/desktop_files/kmag-desktops/es.po b/translations/desktop_files/kmag-desktops/es.po index 46a2e55..50ebee7 100644 --- a/translations/desktop_files/kmag-desktops/es.po +++ b/translations/desktop_files/kmag-desktops/es.po @@ -1,25 +1,26 @@ # SOME DESCRIPTIVE TITLE. # This file is put in the public domain. -# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. -# -#, fuzzy +# titae <benjamin.m21@outlook.com>, 2025. msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-03-14 11:43+0100\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: LANGUAGE <LL@li.org>\n" +"PO-Revision-Date: 2025-06-15 03:21+0000\n" +"Last-Translator: titae <benjamin.m21@outlook.com>\n" +"Language-Team: Spanish <https://mirror.git.trinitydesktop.org/weblate/" +"projects/tdeaccessibility/kmag-desktop-files/es/>\n" "Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.18.2\n" #. Name #: kmag.desktop:2 msgid "KMag" -msgstr "" +msgstr "KMag" #. GenericName #: kmag.desktop:4 @@ -29,4 +30,4 @@ msgstr "Aumenta la pantalla" #. Comment #: kmag.desktop:6 msgid "Tool to zoom screen areas" -msgstr "" +msgstr "Herramienta de zoom" diff --git a/translations/desktop_files/kmag-desktops/es_AR.po b/translations/desktop_files/kmag-desktops/es_AR.po new file mode 100644 index 0000000..8aaf7ed --- /dev/null +++ b/translations/desktop_files/kmag-desktops/es_AR.po @@ -0,0 +1,34 @@ +# SOME DESCRIPTIVE TITLE. +# This file is put in the public domain. +# Slávek Banko <slavek.banko@axis.cz>, 2025. +# Alejo Fernández <alejofernandez@hotmail.com.ar>, 2025. +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2021-03-14 11:43+0100\n" +"PO-Revision-Date: 2025-03-15 07:44+0000\n" +"Last-Translator: Alejo Fernández <alejofernandez@hotmail.com.ar>\n" +"Language-Team: Spanish (Argentina) <https://mirror.git.trinitydesktop.org/" +"weblate/projects/tdeaccessibility/kmag-desktop-files/es_AR/>\n" +"Language: es_AR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. Name +#: kmag.desktop:2 +msgid "KMag" +msgstr "KMag" + +#. GenericName +#: kmag.desktop:4 +msgid "Screen Magnifier" +msgstr "Lupa de pantalla" + +#. Comment +#: kmag.desktop:6 +msgid "Tool to zoom screen areas" +msgstr "Herramienta para ampliar áreas de la pantalla" diff --git a/translations/desktop_files/kmag-desktops/ka.po b/translations/desktop_files/kmag-desktops/ka.po index 3de36d9..b41d6fd 100644 --- a/translations/desktop_files/kmag-desktops/ka.po +++ b/translations/desktop_files/kmag-desktops/ka.po @@ -1,32 +1,33 @@ # SOME DESCRIPTIVE TITLE. # This file is put in the public domain. -# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. -# -#, fuzzy +# Temuri Doghonadze <rkavt@smartprojects.ge>, 2024. msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-03-14 11:43+0100\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: LANGUAGE <LL@li.org>\n" +"PO-Revision-Date: 2024-11-03 04:10+0000\n" +"Last-Translator: Temuri Doghonadze <rkavt@smartprojects.ge>\n" +"Language-Team: Georgian <https://mirror.git.trinitydesktop.org/weblate/" +"projects/tdeaccessibility/kmag-desktop-files/ka/>\n" "Language: ka\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" #. Name #: kmag.desktop:2 msgid "KMag" -msgstr "" +msgstr "KMag" #. GenericName #: kmag.desktop:4 msgid "Screen Magnifier" -msgstr "ეკრანის გამდიდებელი" +msgstr "ეკრანის გამადიდებელი" #. Comment #: kmag.desktop:6 msgid "Tool to zoom screen areas" -msgstr "" +msgstr "ხელსაწყო ეკრანის ადგილების გასადიდებლად" diff --git a/translations/desktop_files/kmag-desktops/nl.po b/translations/desktop_files/kmag-desktops/nl.po index 9e42038..2e92404 100644 --- a/translations/desktop_files/kmag-desktops/nl.po +++ b/translations/desktop_files/kmag-desktops/nl.po @@ -1,32 +1,34 @@ # SOME DESCRIPTIVE TITLE. # This file is put in the public domain. -# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. -# -#, fuzzy +# Heimen Stoffels <vistausss@outlook.com>, 2023. +# Heimen Stoffels <vistausss@fastmail.com>, 2025. msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-03-14 11:43+0100\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: LANGUAGE <LL@li.org>\n" +"PO-Revision-Date: 2025-04-08 18:44+0000\n" +"Last-Translator: Heimen Stoffels <vistausss@fastmail.com>\n" +"Language-Team: Dutch <https://mirror.git.trinitydesktop.org/weblate/projects/" +"tdeaccessibility/kmag-desktop-files/nl/>\n" "Language: nl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" #. Name #: kmag.desktop:2 msgid "KMag" -msgstr "" +msgstr "KMag" #. GenericName #: kmag.desktop:4 msgid "Screen Magnifier" -msgstr "Schermvergroter" +msgstr "Schermvergrootglas" #. Comment #: kmag.desktop:6 msgid "Tool to zoom screen areas" -msgstr "" +msgstr "Een hulpmiddel voor het vergroten van schermgebieden" diff --git a/translations/desktop_files/kmag-desktops/pl.po b/translations/desktop_files/kmag-desktops/pl.po index 30b1aa3..bbdaf3e 100644 --- a/translations/desktop_files/kmag-desktops/pl.po +++ b/translations/desktop_files/kmag-desktops/pl.po @@ -1,25 +1,27 @@ # SOME DESCRIPTIVE TITLE. # This file is put in the public domain. -# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. -# -#, fuzzy +# Eryk Michalak <gnu.ewm@protonmail.com>, 2024. msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-03-14 11:43+0100\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: LANGUAGE <LL@li.org>\n" +"PO-Revision-Date: 2024-09-18 04:10+0000\n" +"Last-Translator: Eryk Michalak <gnu.ewm@protonmail.com>\n" +"Language-Team: Polish <https://mirror.git.trinitydesktop.org/weblate/" +"projects/tdeaccessibility/kmag-desktop-files/pl/>\n" "Language: pl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " +"|| n%100>=20) ? 1 : 2;\n" +"X-Generator: Weblate 4.17\n" #. Name #: kmag.desktop:2 msgid "KMag" -msgstr "" +msgstr "KMag" #. GenericName #: kmag.desktop:4 @@ -29,4 +31,4 @@ msgstr "Powiększanie fragmentów ekranu" #. Comment #: kmag.desktop:6 msgid "Tool to zoom screen areas" -msgstr "" +msgstr "Narzędzie do powiększania określonych obszarów ekranu" diff --git a/translations/desktop_files/kmag-desktops/sv.po b/translations/desktop_files/kmag-desktops/sv.po index 6fae96b..1593eaa 100644 --- a/translations/desktop_files/kmag-desktops/sv.po +++ b/translations/desktop_files/kmag-desktops/sv.po @@ -1,20 +1,21 @@ # SOME DESCRIPTIVE TITLE. # This file is put in the public domain. -# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. -# -#, fuzzy +# Simon Stockhaus <simon.stockhaus.95@gmail.com>, 2025. msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-03-14 11:43+0100\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: LANGUAGE <LL@li.org>\n" +"PO-Revision-Date: 2025-06-12 23:45+0000\n" +"Last-Translator: Simon Stockhaus <simon.stockhaus.95@gmail.com>\n" +"Language-Team: Swedish <https://mirror.git.trinitydesktop.org/weblate/" +"projects/tdeaccessibility/kmag-desktop-files/sv/>\n" "Language: sv\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.18.2\n" #. Name #: kmag.desktop:2 @@ -29,4 +30,4 @@ msgstr "Förstoringsglas" #. Comment #: kmag.desktop:6 msgid "Tool to zoom screen areas" -msgstr "" +msgstr "Verktyg för förstoring av skärmområden" diff --git a/translations/desktop_files/kmag-desktops/th.po b/translations/desktop_files/kmag-desktops/th.po index f7a11c3..b8368c1 100644 --- a/translations/desktop_files/kmag-desktops/th.po +++ b/translations/desktop_files/kmag-desktops/th.po @@ -1,20 +1,21 @@ # SOME DESCRIPTIVE TITLE. # This file is put in the public domain. -# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. -# -#, fuzzy +# Anucha Hlownonkor <tony.chompoo@gmail.com>, 2025. msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-03-14 11:43+0100\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: LANGUAGE <LL@li.org>\n" +"PO-Revision-Date: 2025-08-21 10:59+0000\n" +"Last-Translator: Anucha Hlownonkor <tony.chompoo@gmail.com>\n" +"Language-Team: Thai <https://mirror.git.trinitydesktop.org/weblate/projects/" +"tdeaccessibility/kmag-desktop-files/th/>\n" "Language: th\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Weblate 4.18.2\n" #. Name #: kmag.desktop:2 @@ -29,4 +30,4 @@ msgstr "แว่นขยายหน้าจอ" #. Comment #: kmag.desktop:6 msgid "Tool to zoom screen areas" -msgstr "" +msgstr "เครื่องมือสำหรับขยายพื้นที่หน้าจอ" diff --git a/translations/desktop_files/kmag-desktops/zh_CN.po b/translations/desktop_files/kmag-desktops/zh_CN.po index 61d0a40..17456ef 100644 --- a/translations/desktop_files/kmag-desktops/zh_CN.po +++ b/translations/desktop_files/kmag-desktops/zh_CN.po @@ -1,25 +1,26 @@ # SOME DESCRIPTIVE TITLE. # This file is put in the public domain. -# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. -# -#, fuzzy +# Toad114514 <xiaolan2332021@163.com>, 2025. msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-03-14 11:43+0100\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: LANGUAGE <LL@li.org>\n" +"PO-Revision-Date: 2025-02-16 21:12+0000\n" +"Last-Translator: Toad114514 <xiaolan2332021@163.com>\n" +"Language-Team: Chinese (Simplified) <https://mirror.git.trinitydesktop.org/" +"weblate/projects/tdeaccessibility/kmag-desktop-files/zh_Hans/>\n" "Language: zh_CN\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Weblate 4.17\n" #. Name #: kmag.desktop:2 msgid "KMag" -msgstr "" +msgstr "kMag" #. GenericName #: kmag.desktop:4 @@ -29,4 +30,4 @@ msgstr "屏幕放大镜" #. Comment #: kmag.desktop:6 msgid "Tool to zoom screen areas" -msgstr "" +msgstr "放大屏幕区域的工具" diff --git a/translations/desktop_files/kmousetool-desktops/es.po b/translations/desktop_files/kmousetool-desktops/es.po index a4db6ac..228ad70 100644 --- a/translations/desktop_files/kmousetool-desktops/es.po +++ b/translations/desktop_files/kmousetool-desktops/es.po @@ -1,25 +1,26 @@ # SOME DESCRIPTIVE TITLE. # This file is put in the public domain. -# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. -# -#, fuzzy +# titae <benjamin.m21@outlook.com>, 2025. msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-03-14 11:44+0100\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: LANGUAGE <LL@li.org>\n" +"PO-Revision-Date: 2025-06-15 03:21+0000\n" +"Last-Translator: titae <benjamin.m21@outlook.com>\n" +"Language-Team: Spanish <https://mirror.git.trinitydesktop.org/weblate/" +"projects/tdeaccessibility/kmousetool-desktop-files/es/>\n" "Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.18.2\n" #. Name #: kmousetool.desktop:2 msgid "KMouseTool" -msgstr "" +msgstr "KMouseTool" #. GenericName #: kmousetool.desktop:4 diff --git a/translations/desktop_files/kmousetool-desktops/es_AR.po b/translations/desktop_files/kmousetool-desktops/es_AR.po new file mode 100644 index 0000000..f0b7c75 --- /dev/null +++ b/translations/desktop_files/kmousetool-desktops/es_AR.po @@ -0,0 +1,34 @@ +# SOME DESCRIPTIVE TITLE. +# This file is put in the public domain. +# Slávek Banko <slavek.banko@axis.cz>, 2025. +# Alejo Fernández <alejofernandez@hotmail.com.ar>, 2025. +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2021-03-14 11:44+0100\n" +"PO-Revision-Date: 2025-03-15 07:44+0000\n" +"Last-Translator: Alejo Fernández <alejofernandez@hotmail.com.ar>\n" +"Language-Team: Spanish (Argentina) <https://mirror.git.trinitydesktop.org/" +"weblate/projects/tdeaccessibility/kmousetool-desktop-files/es_AR/>\n" +"Language: es_AR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. Name +#: kmousetool.desktop:2 +msgid "KMouseTool" +msgstr "KMouseTool" + +#. GenericName +#: kmousetool.desktop:4 +msgid "Automatic Mouse Click" +msgstr "Pulsación automática del mouse" + +#. Comment +#: kmousetool.desktop:6 +msgid "Clicks the mouse for you, reducing the effects of RSI" +msgstr "Pulsa los botones del ratón por vos, reduciendo los efectos de RSI" diff --git a/translations/desktop_files/kmousetool-desktops/ka.po b/translations/desktop_files/kmousetool-desktops/ka.po index 7db5e4c..66acd59 100644 --- a/translations/desktop_files/kmousetool-desktops/ka.po +++ b/translations/desktop_files/kmousetool-desktops/ka.po @@ -1,25 +1,26 @@ # SOME DESCRIPTIVE TITLE. # This file is put in the public domain. -# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. -# -#, fuzzy +# Temuri Doghonadze <rkavt@smartprojects.ge>, 2024. msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-03-14 11:44+0100\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: LANGUAGE <LL@li.org>\n" +"PO-Revision-Date: 2024-11-03 04:10+0000\n" +"Last-Translator: Temuri Doghonadze <rkavt@smartprojects.ge>\n" +"Language-Team: Georgian <https://mirror.git.trinitydesktop.org/weblate/" +"projects/tdeaccessibility/kmousetool-desktop-files/ka/>\n" "Language: ka\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" #. Name #: kmousetool.desktop:2 msgid "KMouseTool" -msgstr "" +msgstr "KMouseTool" #. GenericName #: kmousetool.desktop:4 @@ -29,4 +30,4 @@ msgstr "თაგუნას ავტომატური წკაპი" #. Comment #: kmousetool.desktop:6 msgid "Clicks the mouse for you, reducing the effects of RSI" -msgstr "დაწკაპავს თაგუნას თქვენს მაგივრად, ამცირებს RSI ეფექტებს" +msgstr "დააწკაპუნებს თაგუნას თქვენს მაგიერ. ამცირებს RSI ეფექტებს" diff --git a/translations/desktop_files/kmousetool-desktops/nl.po b/translations/desktop_files/kmousetool-desktops/nl.po index 2415b23..3f3013b 100644 --- a/translations/desktop_files/kmousetool-desktops/nl.po +++ b/translations/desktop_files/kmousetool-desktops/nl.po @@ -1,25 +1,27 @@ # SOME DESCRIPTIVE TITLE. # This file is put in the public domain. -# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. -# -#, fuzzy +# Heimen Stoffels <vistausss@outlook.com>, 2023. +# Heimen Stoffels <vistausss@fastmail.com>, 2025. msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-03-14 11:44+0100\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: LANGUAGE <LL@li.org>\n" +"PO-Revision-Date: 2025-04-08 18:44+0000\n" +"Last-Translator: Heimen Stoffels <vistausss@fastmail.com>\n" +"Language-Team: Dutch <https://mirror.git.trinitydesktop.org/weblate/projects/" +"tdeaccessibility/kmousetool-desktop-files/nl/>\n" "Language: nl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" #. Name #: kmousetool.desktop:2 msgid "KMouseTool" -msgstr "" +msgstr "KMouseTool" #. GenericName #: kmousetool.desktop:4 @@ -29,4 +31,4 @@ msgstr "Automatische muisklik" #. Comment #: kmousetool.desktop:6 msgid "Clicks the mouse for you, reducing the effects of RSI" -msgstr "Klikt de muisknop voor u, vermindert de effecten van RSI" +msgstr "Klikt namens u op de muisknop; vermindert RSI-klachten" diff --git a/translations/desktop_files/kmousetool-desktops/pl.po b/translations/desktop_files/kmousetool-desktops/pl.po index 9f05ee5..9914a0b 100644 --- a/translations/desktop_files/kmousetool-desktops/pl.po +++ b/translations/desktop_files/kmousetool-desktops/pl.po @@ -1,25 +1,27 @@ # SOME DESCRIPTIVE TITLE. # This file is put in the public domain. -# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. -# -#, fuzzy +# Eryk Michalak <gnu.ewm@protonmail.com>, 2024. msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-03-14 11:44+0100\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: LANGUAGE <LL@li.org>\n" +"PO-Revision-Date: 2024-09-18 04:10+0000\n" +"Last-Translator: Eryk Michalak <gnu.ewm@protonmail.com>\n" +"Language-Team: Polish <https://mirror.git.trinitydesktop.org/weblate/" +"projects/tdeaccessibility/kmousetool-desktop-files/pl/>\n" "Language: pl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " +"|| n%100>=20) ? 1 : 2;\n" +"X-Generator: Weblate 4.17\n" #. Name #: kmousetool.desktop:2 msgid "KMouseTool" -msgstr "" +msgstr "KMouseTool" #. GenericName #: kmousetool.desktop:4 diff --git a/translations/desktop_files/kmouth-desktops/es.po b/translations/desktop_files/kmouth-desktops/es.po index 47079a9..d05e889 100644 --- a/translations/desktop_files/kmouth-desktops/es.po +++ b/translations/desktop_files/kmouth-desktops/es.po @@ -1,25 +1,26 @@ # SOME DESCRIPTIVE TITLE. # This file is put in the public domain. -# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. -# -#, fuzzy +# titae <benjamin.m21@outlook.com>, 2025. msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-03-14 11:53+0100\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: LANGUAGE <LL@li.org>\n" +"PO-Revision-Date: 2025-06-15 03:21+0000\n" +"Last-Translator: titae <benjamin.m21@outlook.com>\n" +"Language-Team: Spanish <https://mirror.git.trinitydesktop.org/weblate/" +"projects/tdeaccessibility/kmouth-desktop-files/es/>\n" "Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.18.2\n" #. Name #: kmouth.desktop:2 msgid "KMouth" -msgstr "" +msgstr "KMouth" #. GenericName #: kmouth.desktop:4 diff --git a/translations/desktop_files/kmouth-desktops/es_AR.po b/translations/desktop_files/kmouth-desktops/es_AR.po new file mode 100644 index 0000000..c200ea6 --- /dev/null +++ b/translations/desktop_files/kmouth-desktops/es_AR.po @@ -0,0 +1,54 @@ +# SOME DESCRIPTIVE TITLE. +# This file is put in the public domain. +# Slávek Banko <slavek.banko@axis.cz>, 2025. +# Alejo Fernández <alejofernandez@hotmail.com.ar>, 2025. +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2021-03-14 11:53+0100\n" +"PO-Revision-Date: 2025-03-15 07:44+0000\n" +"Last-Translator: Alejo Fernández <alejofernandez@hotmail.com.ar>\n" +"Language-Team: Spanish (Argentina) <https://mirror.git.trinitydesktop.org/" +"weblate/projects/tdeaccessibility/kmouth-desktop-files/es_AR/>\n" +"Language: es_AR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. Name +#: kmouth.desktop:2 +#, fuzzy +msgid "KMouth" +msgstr "KMouth" + +#. GenericName +#: kmouth.desktop:4 +#, fuzzy +msgid "Speech Synthesizer Frontend" +msgstr "Interfaz de usuario para síntesis de voz" + +#. Name +#: books/de.desktop:2 +#, fuzzy +msgid "German" +msgstr "Alemán" + +#. Name +#: books/en.desktop:2 +#, fuzzy +msgid "English" +msgstr "Inglés" + +#. Name +#: books/nl.desktop:2 +msgid "Dutch" +msgstr "Holandés" + +#. Name +#: books/sv.desktop:2 +#, fuzzy +msgid "Swedish" +msgstr "Sueco" diff --git a/translations/desktop_files/kmouth-desktops/ka.po b/translations/desktop_files/kmouth-desktops/ka.po index bd09c94..b0b3604 100644 --- a/translations/desktop_files/kmouth-desktops/ka.po +++ b/translations/desktop_files/kmouth-desktops/ka.po @@ -1,30 +1,31 @@ # SOME DESCRIPTIVE TITLE. # This file is put in the public domain. -# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. -# -#, fuzzy +# Temuri Doghonadze <rkavt@smartprojects.ge>, 2024. msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-03-14 11:53+0100\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: LANGUAGE <LL@li.org>\n" +"PO-Revision-Date: 2024-11-03 04:10+0000\n" +"Last-Translator: Temuri Doghonadze <rkavt@smartprojects.ge>\n" +"Language-Team: Georgian <https://mirror.git.trinitydesktop.org/weblate/" +"projects/tdeaccessibility/kmouth-desktop-files/ka/>\n" "Language: ka\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" #. Name #: kmouth.desktop:2 msgid "KMouth" -msgstr "" +msgstr "KMouth" #. GenericName #: kmouth.desktop:4 msgid "Speech Synthesizer Frontend" -msgstr "საუბრის სინქრონიზაციის ინტერფეისი" +msgstr "საუბრის სინთეზატორის წინაბოლო" #. Name #: books/de.desktop:2 diff --git a/translations/desktop_files/kmouth-desktops/nl.po b/translations/desktop_files/kmouth-desktops/nl.po index d33940d..8ac0de9 100644 --- a/translations/desktop_files/kmouth-desktops/nl.po +++ b/translations/desktop_files/kmouth-desktops/nl.po @@ -1,30 +1,31 @@ # SOME DESCRIPTIVE TITLE. # This file is put in the public domain. -# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. -# -#, fuzzy +# Heimen Stoffels <vistausss@fastmail.com>, 2025. msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-03-14 11:53+0100\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: LANGUAGE <LL@li.org>\n" +"PO-Revision-Date: 2025-04-08 18:44+0000\n" +"Last-Translator: Heimen Stoffels <vistausss@fastmail.com>\n" +"Language-Team: Dutch <https://mirror.git.trinitydesktop.org/weblate/projects/" +"tdeaccessibility/kmouth-desktop-files/nl/>\n" "Language: nl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" #. Name #: kmouth.desktop:2 msgid "KMouth" -msgstr "" +msgstr "KMouth" #. GenericName #: kmouth.desktop:4 msgid "Speech Synthesizer Frontend" -msgstr "Spraaksynthesizer" +msgstr "Spraaknabootsing" #. Name #: books/de.desktop:2 diff --git a/translations/desktop_files/kmouth-desktops/pl.po b/translations/desktop_files/kmouth-desktops/pl.po index 272f597..f34037a 100644 --- a/translations/desktop_files/kmouth-desktops/pl.po +++ b/translations/desktop_files/kmouth-desktops/pl.po @@ -1,25 +1,27 @@ # SOME DESCRIPTIVE TITLE. # This file is put in the public domain. -# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. -# -#, fuzzy +# Eryk Michalak <gnu.ewm@protonmail.com>, 2024. msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-03-14 11:53+0100\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: LANGUAGE <LL@li.org>\n" +"PO-Revision-Date: 2024-09-18 04:10+0000\n" +"Last-Translator: Eryk Michalak <gnu.ewm@protonmail.com>\n" +"Language-Team: Polish <https://mirror.git.trinitydesktop.org/weblate/" +"projects/tdeaccessibility/kmouth-desktop-files/pl/>\n" "Language: pl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " +"|| n%100>=20) ? 1 : 2;\n" +"X-Generator: Weblate 4.17\n" #. Name #: kmouth.desktop:2 msgid "KMouth" -msgstr "" +msgstr "KMouth" #. GenericName #: kmouth.desktop:4 diff --git a/translations/desktop_files/kmouth-desktops/th.po b/translations/desktop_files/kmouth-desktops/th.po index ba2e92b..005b636 100644 --- a/translations/desktop_files/kmouth-desktops/th.po +++ b/translations/desktop_files/kmouth-desktops/th.po @@ -1,25 +1,26 @@ # SOME DESCRIPTIVE TITLE. # This file is put in the public domain. -# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. -# -#, fuzzy +# Anucha Hlownonkor <tony.chompoo@gmail.com>, 2025. msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-03-14 11:53+0100\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: LANGUAGE <LL@li.org>\n" +"PO-Revision-Date: 2025-08-21 10:59+0000\n" +"Last-Translator: Anucha Hlownonkor <tony.chompoo@gmail.com>\n" +"Language-Team: Thai <https://mirror.git.trinitydesktop.org/weblate/projects/" +"tdeaccessibility/kmouth-desktop-files/th/>\n" "Language: th\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Weblate 4.18.2\n" #. Name #: kmouth.desktop:2 msgid "KMouth" -msgstr "" +msgstr "KMouth" #. GenericName #: kmouth.desktop:4 @@ -39,7 +40,7 @@ msgstr "อังกฤษ" #. Name #: books/nl.desktop:2 msgid "Dutch" -msgstr "" +msgstr "ดัตช์" #. Name #: books/sv.desktop:2 diff --git a/translations/desktop_files/ksayit-desktops/es.po b/translations/desktop_files/ksayit-desktops/es.po index 7dedecd..bd234f5 100644 --- a/translations/desktop_files/ksayit-desktops/es.po +++ b/translations/desktop_files/ksayit-desktops/es.po @@ -1,25 +1,26 @@ # SOME DESCRIPTIVE TITLE. # This file is put in the public domain. -# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. -# -#, fuzzy +# titae <benjamin.m21@outlook.com>, 2025. msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-03-14 11:46+0100\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: LANGUAGE <LL@li.org>\n" +"PO-Revision-Date: 2025-06-15 03:21+0000\n" +"Last-Translator: titae <benjamin.m21@outlook.com>\n" +"Language-Team: Spanish <https://mirror.git.trinitydesktop.org/weblate/" +"projects/tdeaccessibility/ksayit-desktop-files/es/>\n" "Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.18.2\n" #. Name #: src/ksayit.desktop:2 msgid "KSayIt" -msgstr "" +msgstr "KSayIt" #. GenericName #: src/ksayit.desktop:4 @@ -29,7 +30,7 @@ msgstr "Interfaz de administración del sistema de texto a voz de TDE" #. Name #: Freeverb_plugin/ksayit_libFreeverb.desktop:2 msgid "Freeverb" -msgstr "" +msgstr "Freeverb" #. Comment #: Freeverb_plugin/ksayit_libFreeverb.desktop:4 diff --git a/translations/desktop_files/ksayit-desktops/es_AR.po b/translations/desktop_files/ksayit-desktops/es_AR.po new file mode 100644 index 0000000..0a0c8b7 --- /dev/null +++ b/translations/desktop_files/ksayit-desktops/es_AR.po @@ -0,0 +1,40 @@ +# SOME DESCRIPTIVE TITLE. +# This file is put in the public domain. +# Slávek Banko <slavek.banko@axis.cz>, 2025. +# Alejo Fernández <alejofernandez@hotmail.com.ar>, 2025. +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2021-03-14 11:46+0100\n" +"PO-Revision-Date: 2025-03-15 07:44+0000\n" +"Last-Translator: Alejo Fernández <alejofernandez@hotmail.com.ar>\n" +"Language-Team: Spanish (Argentina) <https://mirror.git.trinitydesktop.org/" +"weblate/projects/tdeaccessibility/ksayit-desktop-files/es_AR/>\n" +"Language: es_AR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. Name +#: src/ksayit.desktop:2 +msgid "KSayIt" +msgstr "KSayIt" + +#. GenericName +#: src/ksayit.desktop:4 +msgid "Text-to-Speech Frontend" +msgstr "Interfaz de administración del sistema de texto a voz de TDE" + +#. Name +#: Freeverb_plugin/ksayit_libFreeverb.desktop:2 +msgid "Freeverb" +msgstr "Freeverb" + +#. Comment +#: Freeverb_plugin/ksayit_libFreeverb.desktop:4 +#: Freeverb_plugin/ksayit_libFreeverb_service.desktop:2 +msgid "A Freeverb Plugin for KSayIt" +msgstr "Un complemento Freeverb para KSayIt" diff --git a/translations/desktop_files/ksayit-desktops/ka.po b/translations/desktop_files/ksayit-desktops/ka.po index 82f2cb4..a434b83 100644 --- a/translations/desktop_files/ksayit-desktops/ka.po +++ b/translations/desktop_files/ksayit-desktops/ka.po @@ -1,38 +1,39 @@ # SOME DESCRIPTIVE TITLE. # This file is put in the public domain. -# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. -# -#, fuzzy +# Temuri Doghonadze <rkavt@smartprojects.ge>, 2024. msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-03-14 11:46+0100\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: LANGUAGE <LL@li.org>\n" +"PO-Revision-Date: 2024-11-03 04:10+0000\n" +"Last-Translator: Temuri Doghonadze <rkavt@smartprojects.ge>\n" +"Language-Team: Georgian <https://mirror.git.trinitydesktop.org/weblate/" +"projects/tdeaccessibility/ksayit-desktop-files/ka/>\n" "Language: ka\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" #. Name #: src/ksayit.desktop:2 msgid "KSayIt" -msgstr "" +msgstr "KSayIt" #. GenericName #: src/ksayit.desktop:4 msgid "Text-to-Speech Frontend" -msgstr "ტექსტი-გახმოვანების ინტერფეისი" +msgstr "ტექსტის წარმოთქმის წინაბოლო" #. Name #: Freeverb_plugin/ksayit_libFreeverb.desktop:2 msgid "Freeverb" -msgstr "" +msgstr "Freeverb" #. Comment #: Freeverb_plugin/ksayit_libFreeverb.desktop:4 #: Freeverb_plugin/ksayit_libFreeverb_service.desktop:2 msgid "A Freeverb Plugin for KSayIt" -msgstr "KSayIt Freeverb მოდული" +msgstr "Freeverb-ის მოდული KSayIt-სთვის" diff --git a/translations/desktop_files/ksayit-desktops/nl.po b/translations/desktop_files/ksayit-desktops/nl.po index df3788c..988d260 100644 --- a/translations/desktop_files/ksayit-desktops/nl.po +++ b/translations/desktop_files/ksayit-desktops/nl.po @@ -1,38 +1,39 @@ # SOME DESCRIPTIVE TITLE. # This file is put in the public domain. -# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. -# -#, fuzzy +# Heimen Stoffels <vistausss@fastmail.com>, 2025. msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-03-14 11:46+0100\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: LANGUAGE <LL@li.org>\n" +"PO-Revision-Date: 2025-04-08 18:44+0000\n" +"Last-Translator: Heimen Stoffels <vistausss@fastmail.com>\n" +"Language-Team: Dutch <https://mirror.git.trinitydesktop.org/weblate/projects/" +"tdeaccessibility/ksayit-desktop-files/nl/>\n" "Language: nl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" #. Name #: src/ksayit.desktop:2 msgid "KSayIt" -msgstr "" +msgstr "KSayIt" #. GenericName #: src/ksayit.desktop:4 msgid "Text-to-Speech Frontend" -msgstr "Tekst-tot-spraak-schil" +msgstr "Tekst-naar-spraakprogramma" #. Name #: Freeverb_plugin/ksayit_libFreeverb.desktop:2 msgid "Freeverb" -msgstr "" +msgstr "Freeverb" #. Comment #: Freeverb_plugin/ksayit_libFreeverb.desktop:4 #: Freeverb_plugin/ksayit_libFreeverb_service.desktop:2 msgid "A Freeverb Plugin for KSayIt" -msgstr "Een Freeverb-plugin vor KSayIt" +msgstr "Een Freeverb-plug-in voor KSayIt" diff --git a/translations/desktop_files/ksayit-desktops/pl.po b/translations/desktop_files/ksayit-desktops/pl.po index 8712392..ff01b32 100644 --- a/translations/desktop_files/ksayit-desktops/pl.po +++ b/translations/desktop_files/ksayit-desktops/pl.po @@ -1,25 +1,27 @@ # SOME DESCRIPTIVE TITLE. # This file is put in the public domain. -# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. -# -#, fuzzy +# Eryk Michalak <gnu.ewm@protonmail.com>, 2024. msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-03-14 11:46+0100\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: LANGUAGE <LL@li.org>\n" +"PO-Revision-Date: 2024-09-18 04:10+0000\n" +"Last-Translator: Eryk Michalak <gnu.ewm@protonmail.com>\n" +"Language-Team: Polish <https://mirror.git.trinitydesktop.org/weblate/" +"projects/tdeaccessibility/ksayit-desktop-files/pl/>\n" "Language: pl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " +"|| n%100>=20) ? 1 : 2;\n" +"X-Generator: Weblate 4.17\n" #. Name #: src/ksayit.desktop:2 msgid "KSayIt" -msgstr "" +msgstr "KSayIt" #. GenericName #: src/ksayit.desktop:4 @@ -29,7 +31,7 @@ msgstr "Program obsługujący syntezator mowy" #. Name #: Freeverb_plugin/ksayit_libFreeverb.desktop:2 msgid "Freeverb" -msgstr "" +msgstr "Freeverb" #. Comment #: Freeverb_plugin/ksayit_libFreeverb.desktop:4 diff --git a/translations/desktop_files/ksayit-desktops/th.po b/translations/desktop_files/ksayit-desktops/th.po index 9721a76..4635b10 100644 --- a/translations/desktop_files/ksayit-desktops/th.po +++ b/translations/desktop_files/ksayit-desktops/th.po @@ -1,25 +1,26 @@ # SOME DESCRIPTIVE TITLE. # This file is put in the public domain. -# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. -# -#, fuzzy +# Anucha Hlownonkor <tony.chompoo@gmail.com>, 2025. msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-03-14 11:46+0100\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: LANGUAGE <LL@li.org>\n" +"PO-Revision-Date: 2025-08-21 10:59+0000\n" +"Last-Translator: Anucha Hlownonkor <tony.chompoo@gmail.com>\n" +"Language-Team: Thai <https://mirror.git.trinitydesktop.org/weblate/projects/" +"tdeaccessibility/ksayit-desktop-files/th/>\n" "Language: th\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Weblate 4.18.2\n" #. Name #: src/ksayit.desktop:2 msgid "KSayIt" -msgstr "" +msgstr "KSayIt" #. GenericName #: src/ksayit.desktop:4 @@ -29,10 +30,10 @@ msgstr "ฟร้อนเอนด์แปลงข้อความเป็ #. Name #: Freeverb_plugin/ksayit_libFreeverb.desktop:2 msgid "Freeverb" -msgstr "" +msgstr "คำกริยาอิสระ" #. Comment #: Freeverb_plugin/ksayit_libFreeverb.desktop:4 #: Freeverb_plugin/ksayit_libFreeverb_service.desktop:2 msgid "A Freeverb Plugin for KSayIt" -msgstr "" +msgstr "ปลั๊กอิน Freeverb สำหรับ KSayIt" diff --git a/translations/desktop_files/kttsd-desktops/es.po b/translations/desktop_files/kttsd-desktops/es.po index c48b472..be7632a 100644 --- a/translations/desktop_files/kttsd-desktops/es.po +++ b/translations/desktop_files/kttsd-desktops/es.po @@ -1,20 +1,21 @@ # SOME DESCRIPTIVE TITLE. # This file is put in the public domain. -# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. -# -#, fuzzy +# titae <benjamin.m21@outlook.com>, 2025. msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-03-14 11:47+0100\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: LANGUAGE <LL@li.org>\n" +"PO-Revision-Date: 2025-06-15 03:21+0000\n" +"Last-Translator: titae <benjamin.m21@outlook.com>\n" +"Language-Team: Spanish <https://mirror.git.trinitydesktop.org/weblate/" +"projects/tdeaccessibility/kttsd-desktop-files/es/>\n" "Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.18.2\n" #. Name #: app-plugins/kate/tdetexteditor_kttsd.desktop:2 @@ -93,7 +94,7 @@ msgstr "El sintetizador de texto a voz parece estar funcionando correctamente." #. Name #: kttsd/kttsd.desktop:2 libkttsd/kttsd_synthplugin.desktop:2 msgid "KTTSD" -msgstr "" +msgstr "KTTSD" #. Comment #: kttsd/kttsd.desktop:3 @@ -103,7 +104,7 @@ msgstr "Demonio de TDE para la síntesis de texto a voz" #. Name #: kttsjobmgr/kttsjobmgr.desktop:2 msgid "kttsjobmgrpart" -msgstr "" +msgstr "kttsjobmgrpart" #. Comment #: kttsjobmgr/kttsjobmgr.desktop:4 @@ -113,7 +114,7 @@ msgstr "Administrador de trabajos del sintetizador de texto a voz de TDE" #. Name #: kttsmgr/kttsmgr.desktop:2 msgid "KTTSMgr" -msgstr "" +msgstr "KTTSMgr" #. GenericName #: kttsmgr/kttsmgr.desktop:4 @@ -192,7 +193,6 @@ msgstr "Sintetizador de texto a voz Epos TTS" #. Name #: plugins/festivalint/kttsd_festivalintplugin.desktop:2 -#, fuzzy msgid "Festival Interactive" msgstr "Sintetizador de texto a voz Festival" @@ -203,7 +203,6 @@ msgstr "Sintetizador de texto a voz Festival" #. Name #: plugins/flite/kttsd_fliteplugin.desktop:2 -#, fuzzy msgid "Festival Lite (flite)" msgstr "Sintetizador de texto a voz Festival (flite)" @@ -215,7 +214,7 @@ msgstr "Sintetizador de texto a voz Festival (flite)" #. Name #: plugins/freetts/kttsd_freettsplugin.desktop:2 msgid "FreeTTS" -msgstr "" +msgstr "FreeTTS" #. Comment #: plugins/freetts/kttsd_freettsplugin.desktop:4 @@ -225,7 +224,7 @@ msgstr "Sintetizador de texto a voz FreeTTS" #. Name #: plugins/hadifix/kttsd_hadifixplugin.desktop:2 msgid "Hadifix" -msgstr "" +msgstr "Hadifix" #. Comment #: plugins/hadifix/kttsd_hadifixplugin.desktop:4 diff --git a/translations/desktop_files/kttsd-desktops/es_AR.po b/translations/desktop_files/kttsd-desktops/es_AR.po new file mode 100644 index 0000000..c8e3ab7 --- /dev/null +++ b/translations/desktop_files/kttsd-desktops/es_AR.po @@ -0,0 +1,233 @@ +# SOME DESCRIPTIVE TITLE. +# This file is put in the public domain. +# Slávek Banko <slavek.banko@axis.cz>, 2025. +# Alejo Fernández <alejofernandez@hotmail.com.ar>, 2025. +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2021-03-14 11:47+0100\n" +"PO-Revision-Date: 2025-03-15 07:44+0000\n" +"Last-Translator: Alejo Fernández <alejofernandez@hotmail.com.ar>\n" +"Language-Team: Spanish (Argentina) <https://mirror.git.trinitydesktop.org/" +"weblate/projects/tdeaccessibility/kttsd-desktop-files/es_AR/>\n" +"Language: es_AR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. Name +#: app-plugins/kate/tdetexteditor_kttsd.desktop:2 +msgid "KTextEditor KTTSD Plugin" +msgstr "Plugin KTextEditor KTTSD" + +#. Comment +#: app-plugins/kate/tdetexteditor_kttsd.desktop:4 +msgid "Adds a menu entry for speaking the text" +msgstr "Añadir una entrada al menú para leer el texto" + +#. Name +#: filters/sbd/kttsd_sbdplugin.desktop:2 +msgid "Sentence Boundary Detector" +msgstr "Detector de final de frase" + +#. Comment +#: filters/sbd/kttsd_sbdplugin.desktop:4 +msgid "Sentence Boundary Detection Filter Plugin for KTTS" +msgstr "Complemento de filtrado que detecta el final de las frases para KTTS" + +#. Name +#: filters/stringreplacer/kttsd_stringreplacerplugin.desktop:2 +msgid "String Replacer" +msgstr "Reemplazador de cadenas" + +#. Comment +#: filters/stringreplacer/kttsd_stringreplacerplugin.desktop:4 +msgid "Generic String Replacement Filter Plugin for KTTS" +msgstr "Complemento de filtro genérico de sustituición de cadenas para KTTS" + +#. Name +#: filters/talkerchooser/kttsd_talkerchooserplugin.desktop:2 +msgid "Talker Chooser" +msgstr "Selector de lectores" + +#. Comment +#: filters/talkerchooser/kttsd_talkerchooserplugin.desktop:4 +msgid "Generic Talker Chooser Filter Plugin for KTTS" +msgstr "Complemento de audio para KTTSD" + +#. Name +#: filters/xmltransformer/kttsd_xmltransformerplugin.desktop:2 +msgid "XML Transformer" +msgstr "Transformador XML" + +#. Comment +#: filters/xmltransformer/kttsd_xmltransformerplugin.desktop:4 +msgid "Generic XML Tranformation Filter Plugin for KTTS" +msgstr "Complemento de Audio para KTTSD" + +#. Name +#: kcmkttsmgr/kcmkttsd.desktop:2 +msgid "Text-to-Speech" +msgstr "Texto a voz" + +#. Comment +#: kcmkttsmgr/kcmkttsd.desktop:4 +msgid "Text-to-Speech Control Module" +msgstr "Modulo de control del sintetizador texto a voz" + +#. Keywords +#: kcmkttsmgr/kcmkttsd.desktop:6 +msgid "" +"kttsd;kcmkttsmgr;kttsmgr;tts;ttsd;ktts;text;to;speech;speak;synthesizer;" +"synth;festival;command;freetts;proklam;via;voice;" +msgstr "" +"kttsd;kcmkttsmgr;kttsmgr;tts;ttsd;ktts;texto;a;voz;habla;sintetizador;" +"festival;orden;freetts;proklam;via;voz;" + +#. Name +#: kcmkttsmgr/kcmkttsd_testmessage.desktop:2 +msgid "The text-to-speech system seems to be functioning properly." +msgstr "El sintetizador de texto a voz parece estar funcionando correctamente." + +#. Name +#: kttsd/kttsd.desktop:2 libkttsd/kttsd_synthplugin.desktop:2 +msgid "KTTSD" +msgstr "KTTSD" + +#. Comment +#: kttsd/kttsd.desktop:3 +msgid "TDE Text To Speech Daemon" +msgstr "Demonio de TDE para la síntesis de texto a voz" + +#. Name +#: kttsjobmgr/kttsjobmgr.desktop:2 +msgid "kttsjobmgrpart" +msgstr "kttsjobmgrpart" + +#. Comment +#: kttsjobmgr/kttsjobmgr.desktop:4 +msgid "TDE Text-to-speech Job Manager" +msgstr "Administrador de trabajos del sintetizador de texto a voz de TDE" + +#. Name +#: kttsmgr/kttsmgr.desktop:2 +msgid "KTTSMgr" +msgstr "KTTSMgr" + +#. GenericName +#: kttsmgr/kttsmgr.desktop:4 +msgid "Text-to-Speech Manager" +msgstr "Administrador de texto a voz (TTS)" + +#. Comment +#: kttsmgr/kttsmgr.desktop:6 +msgid "TDE Text-to-speech Manager" +msgstr "Administrador de texto a voz de TDE (TTS)" + +#. Name +#: players/akodeplayer/kttsd_akodeplugin.desktop:2 +msgid "KTTSD aKode Plugin" +msgstr "Plugin aKode de KTTSD" + +#. Comment +#: players/akodeplayer/kttsd_akodeplugin.desktop:4 +msgid "KTTSD aKode audio plugin" +msgstr "Plugin de audio aKode de KTTSD" + +#. Name +#: players/alsaplayer/kttsd_alsaplugin.desktop:2 +msgid "KTTSD ALSA Plugin" +msgstr "Plugin ALSA de KTTSD" + +#. Comment +#: players/alsaplayer/kttsd_alsaplugin.desktop:4 +msgid "KTTSD ALSA audio plugin" +msgstr "Plugin de audio ALSA de KTTSD" + +#. Name +#: players/artsplayer/kttsd_artsplugin.desktop:2 +msgid "KTTSD Arts Plugin" +msgstr "Plugin KTTSD Arts" + +#. Comment +#: players/artsplayer/kttsd_artsplugin.desktop:4 +msgid "KTTSD aRts audio plugin" +msgstr "Plugin de audio KTTSD aRts" + +#. Name +#: players/gstplayer/kttsd_gstplugin.desktop:2 +msgid "KTTSD GStreamer Plugin" +msgstr "Plugin KTTSD GStreamer" + +#. Comment +#: players/gstplayer/kttsd_gstplugin.desktop:4 +msgid "KTTSD GStreamer audio plugin" +msgstr "Plugin de audio KTTSD GStreamer" + +#. Comment +#: players/kttsd_audioplugin.desktop:2 +msgid "Audio Plugin for KTTSD" +msgstr "Plugin de audio para KTTSD" + +#. Name +#: plugins/command/kttsd_commandplugin.desktop:2 +msgid "Command" +msgstr "Comando" + +#. Comment +#: plugins/command/kttsd_commandplugin.desktop:4 +msgid "Generic speech synthesizer from command line" +msgstr "Sintetizador genérico de texto a voz para la línea de órdenes" + +#. Name +#: plugins/epos/kttsd_eposplugin.desktop:2 +msgid "Epos TTS Synthesis System" +msgstr "Sistema de síntesis Epos TTS" + +#. Comment +#: plugins/epos/kttsd_eposplugin.desktop:4 +msgid "Epos TTS speech synthesizer" +msgstr "Sintetizador de texto a voz Epos TTS" + +#. Name +#: plugins/festivalint/kttsd_festivalintplugin.desktop:2 +msgid "Festival Interactive" +msgstr "Festival Interactive" + +#. Comment +#: plugins/festivalint/kttsd_festivalintplugin.desktop:4 +msgid "Festival speech synthetizer" +msgstr "Sintetizador de texto a voz Festival" + +#. Name +#: plugins/flite/kttsd_fliteplugin.desktop:2 +msgid "Festival Lite (flite)" +msgstr "Festival Lite (flite)" + +#. Comment +#: plugins/flite/kttsd_fliteplugin.desktop:4 +msgid "Festival Lite (flite) speech synthesizer" +msgstr "Sintetizador de texto a voz Festival (flite)" + +#. Name +#: plugins/freetts/kttsd_freettsplugin.desktop:2 +msgid "FreeTTS" +msgstr "FreeTTS" + +#. Comment +#: plugins/freetts/kttsd_freettsplugin.desktop:4 +msgid "FreeTTS speech synthesizer" +msgstr "Sintetizador de texto a voz FreeTTS" + +#. Name +#: plugins/hadifix/kttsd_hadifixplugin.desktop:2 +msgid "Hadifix" +msgstr "Hadifix" + +#. Comment +#: plugins/hadifix/kttsd_hadifixplugin.desktop:4 +msgid "German hadifix text-to-speech system" +msgstr "Sintetizador de texto a voz en alemán hadifix" diff --git a/translations/desktop_files/kttsd-desktops/ka.po b/translations/desktop_files/kttsd-desktops/ka.po index 92b20a8..fe310c1 100644 --- a/translations/desktop_files/kttsd-desktops/ka.po +++ b/translations/desktop_files/kttsd-desktops/ka.po @@ -1,30 +1,31 @@ # SOME DESCRIPTIVE TITLE. # This file is put in the public domain. -# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. -# -#, fuzzy +# Temuri Doghonadze <rkavt@smartprojects.ge>, 2024. msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-03-14 11:47+0100\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: LANGUAGE <LL@li.org>\n" +"PO-Revision-Date: 2024-11-03 04:10+0000\n" +"Last-Translator: Temuri Doghonadze <rkavt@smartprojects.ge>\n" +"Language-Team: Georgian <https://mirror.git.trinitydesktop.org/weblate/" +"projects/tdeaccessibility/kttsd-desktop-files/ka/>\n" "Language: ka\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" #. Name #: app-plugins/kate/tdetexteditor_kttsd.desktop:2 msgid "KTextEditor KTTSD Plugin" -msgstr "KTextEditor KTTSD მოდული" +msgstr "KTextEditor-ის KTTSD მოდული" #. Comment #: app-plugins/kate/tdetexteditor_kttsd.desktop:4 msgid "Adds a menu entry for speaking the text" -msgstr "ტექსტის წაკითხვას ამატებს მენიუს ჩანაწერს" +msgstr "ამატებს მენიუს პუნქტს ტექსტის წარმოსათქმელად" #. Name #: filters/sbd/kttsd_sbdplugin.desktop:2 @@ -49,7 +50,7 @@ msgstr "ზოგადი სტრიქონის ჩანაცვლე #. Name #: filters/talkerchooser/kttsd_talkerchooserplugin.desktop:2 msgid "Talker Chooser" -msgstr "მოლაპარაკის ამომრჩეველი" +msgstr "მოლაპარაკის ამრჩევი" #. Comment #: filters/talkerchooser/kttsd_talkerchooserplugin.desktop:4 @@ -69,12 +70,12 @@ msgstr "ზოგადი XML გარდამქმნელის ფილ #. Name #: kcmkttsmgr/kcmkttsd.desktop:2 msgid "Text-to-Speech" -msgstr "ტექსტი-გახმოვანება" +msgstr "ტექსტის-წარმოთქმა" #. Comment #: kcmkttsmgr/kcmkttsd.desktop:4 msgid "Text-to-Speech Control Module" -msgstr "ტექსტი-სიტყვის მართვის მოდული" +msgstr "ტექსტის წარმოთქმის მართვის მოდული" #. Keywords #: kcmkttsmgr/kcmkttsd.desktop:6 @@ -82,61 +83,63 @@ msgid "" "kttsd;kcmkttsmgr;kttsmgr;tts;ttsd;ktts;text;to;speech;speak;synthesizer;" "synth;festival;command;freetts;proklam;via;voice;" msgstr "" +"kttsd;kcmkttsmgr;kttsmgr;tts;ttsd;ktts;text;to;speech;speak;synthesizer;" +"synth;festival;command;freetts;proklam;via;voice;ხმა;წარმოთქმა;" #. Name #: kcmkttsmgr/kcmkttsd_testmessage.desktop:2 msgid "The text-to-speech system seems to be functioning properly." -msgstr "ტექსტი-გახმოვანება სისტემა როგორც ჩანს სწორად მოქმედებს." +msgstr "ტექსტის წარმოთქმის სისტემა, როგორც ჩანს, სწორად მუშაობს." #. Name #: kttsd/kttsd.desktop:2 libkttsd/kttsd_synthplugin.desktop:2 msgid "KTTSD" -msgstr "" +msgstr "KTTSD" #. Comment #: kttsd/kttsd.desktop:3 msgid "TDE Text To Speech Daemon" -msgstr "TDE ტექსტის გახმოვანების დემონი" +msgstr "TDE-ის ტექსტის წარმოთქმის დემონი" #. Name #: kttsjobmgr/kttsjobmgr.desktop:2 msgid "kttsjobmgrpart" -msgstr "" +msgstr "kttsjobmgrpart" #. Comment #: kttsjobmgr/kttsjobmgr.desktop:4 msgid "TDE Text-to-speech Job Manager" -msgstr "TDE ტექსტი-გახმოვანების ამოცანათა მმართველი" +msgstr "TDE-ის ტექსტის წარმოთქმის დავალებების მმართველი" #. Name #: kttsmgr/kttsmgr.desktop:2 msgid "KTTSMgr" -msgstr "" +msgstr "KTTSMgr" #. GenericName #: kttsmgr/kttsmgr.desktop:4 msgid "Text-to-Speech Manager" -msgstr "ტექსტი-გახმოვანების მმართველი" +msgstr "ტექსტის წარმოთქმის მმართველი" #. Comment #: kttsmgr/kttsmgr.desktop:6 msgid "TDE Text-to-speech Manager" -msgstr "TDE ტექსტი-გახმოვანების მმართველი" +msgstr "TDE ტექსტის წარმოთქმის მმართველი" #. Name #: players/akodeplayer/kttsd_akodeplugin.desktop:2 msgid "KTTSD aKode Plugin" -msgstr "KTTSD aKode მოდული" +msgstr "KTTSD-ის aKode მოდული" #. Comment #: players/akodeplayer/kttsd_akodeplugin.desktop:4 msgid "KTTSD aKode audio plugin" -msgstr "KTTSD aKode აუდიო მოდული" +msgstr "KTTSD-ის aKode აუდიო მოდული" #. Name #: players/alsaplayer/kttsd_alsaplugin.desktop:2 msgid "KTTSD ALSA Plugin" -msgstr "KTTSD ALSA მოდული" +msgstr "KTTSD-ის ALSA მოდული" #. Comment #: players/alsaplayer/kttsd_alsaplugin.desktop:4 @@ -166,7 +169,7 @@ msgstr "KTTSD GStreamer აუდიო მოდული" #. Comment #: players/kttsd_audioplugin.desktop:2 msgid "Audio Plugin for KTTSD" -msgstr "აუდიო მოდული KTTSD-თვის" +msgstr "აუდიოს მოდული KTTSD-თვის" #. Name #: plugins/command/kttsd_commandplugin.desktop:2 @@ -176,7 +179,7 @@ msgstr "ბრძანება" #. Comment #: plugins/command/kttsd_commandplugin.desktop:4 msgid "Generic speech synthesizer from command line" -msgstr "საზოგადო ხმის სინქრონიზატორი ბრძანების ველიდან" +msgstr "ზოგადი საუბრის სინთეზატორი ბრძანების სტრიქონიდან" #. Name #: plugins/epos/kttsd_eposplugin.desktop:2 @@ -186,12 +189,12 @@ msgstr "Epos TTS სინთეზის სისტემა" #. Comment #: plugins/epos/kttsd_eposplugin.desktop:4 msgid "Epos TTS speech synthesizer" -msgstr "Epos TTS სიტყვის სინთეზატორი" +msgstr "Epos TTS საუბრის სინთეზატორი" #. Name #: plugins/festivalint/kttsd_festivalintplugin.desktop:2 msgid "Festival Interactive" -msgstr "Festival ინტერაქტიული" +msgstr "Festival" #. Comment #: plugins/festivalint/kttsd_festivalintplugin.desktop:4 @@ -201,29 +204,29 @@ msgstr "Festival ხმის სინთეზატორი" #. Name #: plugins/flite/kttsd_fliteplugin.desktop:2 msgid "Festival Lite (flite)" -msgstr "Festival მსუბუქი (flite)" +msgstr "Festival Lite (flite)" #. Comment #: plugins/flite/kttsd_fliteplugin.desktop:4 msgid "Festival Lite (flite) speech synthesizer" -msgstr "Festival მარტივი (flite) ხმის სინთეზატორი" +msgstr "ხმის სინთეზატორი Festival Lite (flite)" #. Name #: plugins/freetts/kttsd_freettsplugin.desktop:2 msgid "FreeTTS" -msgstr "" +msgstr "FreeTTS" #. Comment #: plugins/freetts/kttsd_freettsplugin.desktop:4 msgid "FreeTTS speech synthesizer" -msgstr "FreeTTS ხმის სინთეზატორი" +msgstr "ხმის სინთეზატორი FreeTTS" #. Name #: plugins/hadifix/kttsd_hadifixplugin.desktop:2 msgid "Hadifix" -msgstr "" +msgstr "Hadifix" #. Comment #: plugins/hadifix/kttsd_hadifixplugin.desktop:4 msgid "German hadifix text-to-speech system" -msgstr "გერმანული hadifix ტექსტის გახმოვანების სისტემა" +msgstr "გერმანული ტექსტის გახმოვანების სისტემა hadifix" diff --git a/translations/desktop_files/kttsd-desktops/nl.po b/translations/desktop_files/kttsd-desktops/nl.po index 166f87a..5fa3d8b 100644 --- a/translations/desktop_files/kttsd-desktops/nl.po +++ b/translations/desktop_files/kttsd-desktops/nl.po @@ -1,30 +1,31 @@ # SOME DESCRIPTIVE TITLE. # This file is put in the public domain. -# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. -# -#, fuzzy +# Heimen Stoffels <vistausss@fastmail.com>, 2025. msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-03-14 11:47+0100\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: LANGUAGE <LL@li.org>\n" +"PO-Revision-Date: 2025-04-08 18:44+0000\n" +"Last-Translator: Heimen Stoffels <vistausss@fastmail.com>\n" +"Language-Team: Dutch <https://mirror.git.trinitydesktop.org/weblate/projects/" +"tdeaccessibility/kttsd-desktop-files/nl/>\n" "Language: nl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" #. Name #: app-plugins/kate/tdetexteditor_kttsd.desktop:2 msgid "KTextEditor KTTSD Plugin" -msgstr "KTextEditor KTTSD-plugin" +msgstr "KTextEditor KTTSD-plug-in" #. Comment #: app-plugins/kate/tdetexteditor_kttsd.desktop:4 msgid "Adds a menu entry for speaking the text" -msgstr "Voegt een menuoptie toe voor het uitspreken van de tekst" +msgstr "Voegt een menuoptie toe voor het uitspreken van tekst" #. Name #: filters/sbd/kttsd_sbdplugin.desktop:2 @@ -34,17 +35,17 @@ msgstr "Zingrensdetectie" #. Comment #: filters/sbd/kttsd_sbdplugin.desktop:4 msgid "Sentence Boundary Detection Filter Plugin for KTTS" -msgstr "Zingrensdetectieplugin voor KTTS" +msgstr "Zingrensdetectieplug-in voor KTTS" #. Name #: filters/stringreplacer/kttsd_stringreplacerplugin.desktop:2 msgid "String Replacer" -msgstr "Tekstvervanger" +msgstr "Tekstvervanging" #. Comment #: filters/stringreplacer/kttsd_stringreplacerplugin.desktop:4 msgid "Generic String Replacement Filter Plugin for KTTS" -msgstr "Generieke tekst-vervang-filter-plugin voor KTTS" +msgstr "Generieke tekstvervangplug-in voor KTTS" #. Name #: filters/talkerchooser/kttsd_talkerchooserplugin.desktop:2 @@ -54,27 +55,27 @@ msgstr "Spreker kiezen" #. Comment #: filters/talkerchooser/kttsd_talkerchooserplugin.desktop:4 msgid "Generic Talker Chooser Filter Plugin for KTTS" -msgstr "Generieke plugin om de spreker te kiezen voor KTTS" +msgstr "Generieke plug-in om de spreker te kiezen voor KTTS" #. Name #: filters/xmltransformer/kttsd_xmltransformerplugin.desktop:2 msgid "XML Transformer" -msgstr "XML-omvormer" +msgstr "Xml-omvorming" #. Comment #: filters/xmltransformer/kttsd_xmltransformerplugin.desktop:4 msgid "Generic XML Tranformation Filter Plugin for KTTS" -msgstr "Generieke filterplugin voor XML-omvorming voor KTTS" +msgstr "Generieke filterplug-in voor xml-omvorming voor KTTS" #. Name #: kcmkttsmgr/kcmkttsd.desktop:2 msgid "Text-to-Speech" -msgstr "Tekst-tot-spraak" +msgstr "Tekst-naar-spraak" #. Comment #: kcmkttsmgr/kcmkttsd.desktop:4 msgid "Text-to-Speech Control Module" -msgstr "Tekst-tot-spraak configuratiemodule" +msgstr "Tekst-naar-spraakinstellingenmodule" #. Keywords #: kcmkttsmgr/kcmkttsd.desktop:6 @@ -89,97 +90,97 @@ msgstr "" #. Name #: kcmkttsmgr/kcmkttsd_testmessage.desktop:2 msgid "The text-to-speech system seems to be functioning properly." -msgstr "Het tekst-tot-spraaksysteem blijkt goed te functioneren." +msgstr "Het tekst-naar-spraaksysteem lijkt goed te functioneren." #. Name #: kttsd/kttsd.desktop:2 libkttsd/kttsd_synthplugin.desktop:2 msgid "KTTSD" -msgstr "" +msgstr "KTTSD" #. Comment #: kttsd/kttsd.desktop:3 msgid "TDE Text To Speech Daemon" -msgstr "TDE Tekst-tot-spraak-daemon" +msgstr "TDE tekst-naar-spraakdienst" #. Name #: kttsjobmgr/kttsjobmgr.desktop:2 msgid "kttsjobmgrpart" -msgstr "" +msgstr "kttsjobmgrpart" #. Comment #: kttsjobmgr/kttsjobmgr.desktop:4 msgid "TDE Text-to-speech Job Manager" -msgstr "TDE Tekst-tot-spraak-taakbeheer" +msgstr "TDE tekst-naar-spraak-taakbeheer" #. Name #: kttsmgr/kttsmgr.desktop:2 msgid "KTTSMgr" -msgstr "" +msgstr "KTTSMgr" #. GenericName #: kttsmgr/kttsmgr.desktop:4 msgid "Text-to-Speech Manager" -msgstr "Tekst-tot-spraak-beheerder" +msgstr "Tekst-naar-spraakbeheer" #. Comment #: kttsmgr/kttsmgr.desktop:6 msgid "TDE Text-to-speech Manager" -msgstr "TDE Tekst-tot-spraak-beheer" +msgstr "TDE tekst-naar-spraakbeheer" #. Name #: players/akodeplayer/kttsd_akodeplugin.desktop:2 msgid "KTTSD aKode Plugin" -msgstr "KTTSD aKode-plugin" +msgstr "KTTSD aKode-plug-in" #. Comment #: players/akodeplayer/kttsd_akodeplugin.desktop:4 msgid "KTTSD aKode audio plugin" -msgstr "KTTSD aKode geluidsplugin" +msgstr "KTTSD aKode geluidsplug-in" #. Name #: players/alsaplayer/kttsd_alsaplugin.desktop:2 msgid "KTTSD ALSA Plugin" -msgstr "KTTSD ALSA-plugin" +msgstr "KTTSD ALSA-plug-in" #. Comment #: players/alsaplayer/kttsd_alsaplugin.desktop:4 msgid "KTTSD ALSA audio plugin" -msgstr "KTTSD ALSA geluidsplugin" +msgstr "KTTSD ALSA geluidsplug-in" #. Name #: players/artsplayer/kttsd_artsplugin.desktop:2 msgid "KTTSD Arts Plugin" -msgstr "KTTSD Arts-plugin" +msgstr "KTTSD Arts-plug-in" #. Comment #: players/artsplayer/kttsd_artsplugin.desktop:4 msgid "KTTSD aRts audio plugin" -msgstr "KTTSD aRts-audioplugin" +msgstr "KTTSD aRts-geluidsplug-in" #. Name #: players/gstplayer/kttsd_gstplugin.desktop:2 msgid "KTTSD GStreamer Plugin" -msgstr "KTTSD GStreamer-plugin" +msgstr "KTTSD GStreamer-plug-in" #. Comment #: players/gstplayer/kttsd_gstplugin.desktop:4 msgid "KTTSD GStreamer audio plugin" -msgstr "KTTSD GStreamer-audioplugin" +msgstr "KTTSD GStreamer-geluidsplug-in" #. Comment #: players/kttsd_audioplugin.desktop:2 msgid "Audio Plugin for KTTSD" -msgstr "Audio-plugin voor KTTSD" +msgstr "Geluidsplug-in voor KTTSD" #. Name #: plugins/command/kttsd_commandplugin.desktop:2 msgid "Command" -msgstr "" +msgstr "Opdracht" #. Comment #: plugins/command/kttsd_commandplugin.desktop:4 msgid "Generic speech synthesizer from command line" -msgstr "Generieke spraaksynthesizer voor de commandoregel" +msgstr "Generieke spraaknabootsing voor de opdrachtregel" #. Name #: plugins/epos/kttsd_eposplugin.desktop:2 @@ -189,46 +190,44 @@ msgstr "Epos TTS Synthesis-systeem" #. Comment #: plugins/epos/kttsd_eposplugin.desktop:4 msgid "Epos TTS speech synthesizer" -msgstr "Epos TTS spraaksynthesizer" +msgstr "Epos TTS-spraaknabootsing" #. Name #: plugins/festivalint/kttsd_festivalintplugin.desktop:2 -#, fuzzy msgid "Festival Interactive" -msgstr "Festival spraaksynthetizer" +msgstr "Festival interactief" #. Comment #: plugins/festivalint/kttsd_festivalintplugin.desktop:4 msgid "Festival speech synthetizer" -msgstr "Festival spraaksynthetizer" +msgstr "Festival-spraaknabootsing" #. Name #: plugins/flite/kttsd_fliteplugin.desktop:2 -#, fuzzy msgid "Festival Lite (flite)" -msgstr "Festival Lite (flite) spraaksynthesizer" +msgstr "Festival Lite (flite)-spraaknabootsing" #. Comment #: plugins/flite/kttsd_fliteplugin.desktop:4 msgid "Festival Lite (flite) speech synthesizer" -msgstr "Festival Lite (flite) spraaksynthesizer" +msgstr "Festival Lite (flite)-spraaknabootsing" #. Name #: plugins/freetts/kttsd_freettsplugin.desktop:2 msgid "FreeTTS" -msgstr "" +msgstr "FreeTTS" #. Comment #: plugins/freetts/kttsd_freettsplugin.desktop:4 msgid "FreeTTS speech synthesizer" -msgstr "FreeTTS spraaksynthesizer" +msgstr "FreeTTS-spraaknabootsing" #. Name #: plugins/hadifix/kttsd_hadifixplugin.desktop:2 msgid "Hadifix" -msgstr "" +msgstr "Hadifix" #. Comment #: plugins/hadifix/kttsd_hadifixplugin.desktop:4 msgid "German hadifix text-to-speech system" -msgstr "Duits hadifix tekst-tot-spraak-systeem" +msgstr "Duits Hadifix-tekst-naar-spraaksysteem" diff --git a/translations/desktop_files/kttsd-desktops/pl.po b/translations/desktop_files/kttsd-desktops/pl.po index 4c8baaa..2af7fd4 100644 --- a/translations/desktop_files/kttsd-desktops/pl.po +++ b/translations/desktop_files/kttsd-desktops/pl.po @@ -1,20 +1,23 @@ # SOME DESCRIPTIVE TITLE. # This file is put in the public domain. -# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. -# -#, fuzzy +# Marek W <coronzon88@gmail.com>, 2024. +# Eryk Michalak <gnu.ewm@protonmail.com>, 2024. msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-03-14 11:47+0100\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: LANGUAGE <LL@li.org>\n" +"PO-Revision-Date: 2024-09-18 04:10+0000\n" +"Last-Translator: Eryk Michalak <gnu.ewm@protonmail.com>\n" +"Language-Team: Polish <https://mirror.git.trinitydesktop.org/weblate/" +"projects/tdeaccessibility/kttsd-desktop-files/pl/>\n" "Language: pl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " +"|| n%100>=20) ? 1 : 2;\n" +"X-Generator: Weblate 4.17\n" #. Name #: app-plugins/kate/tdetexteditor_kttsd.desktop:2 @@ -94,7 +97,7 @@ msgstr "System odczytywania tekstu funkcjonuje prawidłowo." #. Name #: kttsd/kttsd.desktop:2 libkttsd/kttsd_synthplugin.desktop:2 msgid "KTTSD" -msgstr "" +msgstr "KTTSD" #. Comment #: kttsd/kttsd.desktop:3 @@ -104,7 +107,7 @@ msgstr "Usługa odczytywania tekstu dla TDE" #. Name #: kttsjobmgr/kttsjobmgr.desktop:2 msgid "kttsjobmgrpart" -msgstr "" +msgstr "kttsjobmgrpart" #. Comment #: kttsjobmgr/kttsjobmgr.desktop:4 @@ -114,7 +117,7 @@ msgstr "Menedżer zadań odczytywania tekstu" #. Name #: kttsmgr/kttsmgr.desktop:2 msgid "KTTSMgr" -msgstr "" +msgstr "KTTSMgr" #. GenericName #: kttsmgr/kttsmgr.desktop:4 @@ -203,9 +206,8 @@ msgstr "Syntezator mowy Festival" #. Name #: plugins/flite/kttsd_fliteplugin.desktop:2 -#, fuzzy msgid "Festival Lite (flite)" -msgstr "Syntezator mowy Festival Lite (flite)" +msgstr "Syntezator Festival Lite (flite)" #. Comment #: plugins/flite/kttsd_fliteplugin.desktop:4 @@ -215,7 +217,7 @@ msgstr "Syntezator mowy Festival Lite (flite)" #. Name #: plugins/freetts/kttsd_freettsplugin.desktop:2 msgid "FreeTTS" -msgstr "" +msgstr "FreeTTS" #. Comment #: plugins/freetts/kttsd_freettsplugin.desktop:4 @@ -225,7 +227,7 @@ msgstr "Syntezator mowy FreeTTS" #. Name #: plugins/hadifix/kttsd_hadifixplugin.desktop:2 msgid "Hadifix" -msgstr "" +msgstr "Hadifix" #. Comment #: plugins/hadifix/kttsd_hadifixplugin.desktop:4 diff --git a/translations/desktop_files/kttsd-desktops/ru.po b/translations/desktop_files/kttsd-desktops/ru.po index a7d08fe..003504f 100644 --- a/translations/desktop_files/kttsd-desktops/ru.po +++ b/translations/desktop_files/kttsd-desktops/ru.po @@ -1,13 +1,14 @@ # SOME DESCRIPTIVE TITLE. # This file is put in the public domain. # Alexander Golubev <fatzer2@gmail.com>, 2022. +# Andrei Stepanov <adem4ik@gmail.com>, 2024. msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-03-14 11:47+0100\n" -"PO-Revision-Date: 2022-02-15 02:00+0000\n" -"Last-Translator: Alexander Golubev <fatzer2@gmail.com>\n" +"PO-Revision-Date: 2024-04-12 16:44+0000\n" +"Last-Translator: Andrei Stepanov <adem4ik@gmail.com>\n" "Language-Team: Russian <https://mirror.git.trinitydesktop.org/weblate/" "projects/tdeaccessibility/kttsd-desktop-files/ru/>\n" "Language: ru\n" @@ -16,7 +17,7 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" -"X-Generator: Weblate 4.10.1\n" +"X-Generator: Weblate 4.17\n" #. Name #: app-plugins/kate/tdetexteditor_kttsd.desktop:2 @@ -101,7 +102,7 @@ msgstr "KTTSD" #. Comment #: kttsd/kttsd.desktop:3 msgid "TDE Text To Speech Daemon" -msgstr "Служба синтеза речи" +msgstr "Демон преобразования текста в речь TDE" #. Name #: kttsjobmgr/kttsjobmgr.desktop:2 |
