diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-11 10:29:46 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-13 20:23:41 +0900 |
commit | 79f019f19e44c3daa3b60d1c983690045cf4db11 (patch) | |
tree | 1f8afd6f3f3e99dc9cae0c06a826474fda0af793 /kttsd/filters | |
parent | cb50533891243fbaa8ec7dfd3bd39a0a3a985ff7 (diff) | |
download | tdeaccessibility-79f019f1.tar.gz tdeaccessibility-79f019f1.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit c04ba2b3810f5a0187b3ca3b89661d0befca9e08)
Diffstat (limited to 'kttsd/filters')
-rw-r--r-- | kttsd/filters/sbd/sbdconf.cpp | 34 | ||||
-rw-r--r-- | kttsd/filters/sbd/sbdproc.cpp | 4 | ||||
-rw-r--r-- | kttsd/filters/stringreplacer/stringreplacerconf.cpp | 64 | ||||
-rw-r--r-- | kttsd/filters/talkerchooser/talkerchooserconf.cpp | 32 | ||||
-rw-r--r-- | kttsd/filters/xmltransformer/xmltransformerconf.cpp | 24 | ||||
-rw-r--r-- | kttsd/filters/xmltransformer/xmltransformerproc.cpp | 12 |
6 files changed, 85 insertions, 85 deletions
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/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/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/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/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/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))) { |