From 23aecb275d6085b7a15a38da0180edf156c8ea9d Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:44:52 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- kttsd/filters/sbd/sbdconf.cpp | 8 ++++---- kttsd/filters/sbd/sbdconfwidget.ui | 24 ++++++++++++------------ kttsd/filters/sbd/sbdproc.cpp | 4 ++-- kttsd/filters/sbd/sbdproc.h | 2 +- 4 files changed, 19 insertions(+), 19 deletions(-) (limited to 'kttsd/filters/sbd') diff --git a/kttsd/filters/sbd/sbdconf.cpp b/kttsd/filters/sbd/sbdconf.cpp index 812a81d..c3a3703 100644 --- a/kttsd/filters/sbd/sbdconf.cpp +++ b/kttsd/filters/sbd/sbdconf.cpp @@ -26,7 +26,7 @@ #include #include #include -#include +#include #include #include #include @@ -62,11 +62,11 @@ SbdConf::SbdConf( TQWidget *parent, const char *name, const TQStringList& /*args // kdDebug() << "SbdConf::SbdConf: Running" << endl; // Create configuration widget. - TQVBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(), + TQVBoxLayout *layout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint(), "SbdConfigWidgetLayout"); - tqlayout->tqsetAlignment (TQt::AlignTop); + layout->setAlignment (TQt::AlignTop); m_widget = new SbdConfWidget(this, "SbdConfigWidget"); - tqlayout->addWidget(m_widget); + layout->addWidget(m_widget); // Determine if tdeutils Regular Expression Editor is installed. m_reEditorInstalled = !KTrader::self()->query("KRegExpEditor/KRegExpEditor").isEmpty(); diff --git a/kttsd/filters/sbd/sbdconfwidget.ui b/kttsd/filters/sbd/sbdconfwidget.ui index e7158dc..1b57c98 100644 --- a/kttsd/filters/sbd/sbdconfwidget.ui +++ b/kttsd/filters/sbd/sbdconfwidget.ui @@ -35,7 +35,7 @@ - tqlayout3 + layout3 @@ -48,7 +48,7 @@ &Name: - + AlignVCenter|AlignRight @@ -74,7 +74,7 @@ - tqlayout17 + layout17 @@ -87,7 +87,7 @@ &Sentence boundary regular expression: - + AlignVCenter|AlignRight @@ -118,7 +118,7 @@ - tqlayout17_2 + layout17_2 @@ -131,7 +131,7 @@ &Replacement sentence boundary: - + AlignVCenter|AlignRight @@ -168,7 +168,7 @@ - tqlayout11 + layout11 @@ -181,7 +181,7 @@ &Language is: - + AlignVCenter|AlignRight @@ -199,7 +199,7 @@ Application &ID contains: - + AlignVCenter|AlignRight @@ -213,7 +213,7 @@ - tqlayout13 + layout13 @@ -221,7 +221,7 @@ - tqlayout12 + layout12 @@ -265,7 +265,7 @@ - tqlayout6 + layout6 diff --git a/kttsd/filters/sbd/sbdproc.cpp b/kttsd/filters/sbd/sbdproc.cpp index 107e6b3..98eec0d 100644 --- a/kttsd/filters/sbd/sbdproc.cpp +++ b/kttsd/filters/sbd/sbdproc.cpp @@ -306,7 +306,7 @@ TQString SbdThread::endSentence() return s; } -// Parses a node of the SSML tree and recursively parses its tqchildren. +// Parses a node of the SSML tree and recursively parses its children. // Returns the filtered text with each sentence a complete ssml tree. TQString SbdThread::parseSsmlNode( TQDomNode& n, const TQString& re ) { @@ -441,7 +441,7 @@ TQString SbdThread::parseSsml( const TQString& inputText, const TQString& re ) // This flag is used to close out a previous sentence. m_sentenceStarted = false; - // Get the root element (speak) and recursively process its tqchildren. + // Get the root element (speak) and recursively process its children. TQDomElement docElem = doc.documentElement(); TQDomNode n = docElem.firstChild(); TQString ssml = parseSsmlNode( docElem, re ); diff --git a/kttsd/filters/sbd/sbdproc.h b/kttsd/filters/sbd/sbdproc.h index 0c1e7aa..d49f72c 100644 --- a/kttsd/filters/sbd/sbdproc.h +++ b/kttsd/filters/sbd/sbdproc.h @@ -204,7 +204,7 @@ class SbdThread: public TQObject, public TQThread TQString startSentence(); // Ends a sentence and appends a Tab. TQString endSentence(); - // Parses a node of the SSML tree and recursively parses its tqchildren. + // Parses a node of the SSML tree and recursively parses its children. // Returns the filtered text with each sentence a complete ssml tree. TQString parseSsmlNode( TQDomNode& n, const TQString& re ); -- cgit v1.2.3