summaryrefslogtreecommitdiffstats
path: root/kttsd/filters/sbd
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-17 22:17:08 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-17 22:17:08 +0000
commitf138d74fe16092003b06f5bde9663841929cde7f (patch)
treee9c497a0e59bc7d34264ac9404740d2ea76f3de4 /kttsd/filters/sbd
parent3a3c4b256baee79bdcfe72c5e01b9ded9b525900 (diff)
downloadtdeaccessibility-f138d74fe16092003b06f5bde9663841929cde7f.tar.gz
tdeaccessibility-f138d74fe16092003b06f5bde9663841929cde7f.zip
TQt4 port kdeaccessibility
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaccessibility@1237325 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kttsd/filters/sbd')
-rw-r--r--kttsd/filters/sbd/sbdconf.cpp32
-rw-r--r--kttsd/filters/sbd/sbdconf.h5
-rw-r--r--kttsd/filters/sbd/sbdconfwidget.ui58
-rw-r--r--kttsd/filters/sbd/sbdproc.cpp64
-rw-r--r--kttsd/filters/sbd/sbdproc.h12
5 files changed, 87 insertions, 84 deletions
diff --git a/kttsd/filters/sbd/sbdconf.cpp b/kttsd/filters/sbd/sbdconf.cpp
index 5244974..6beaba3 100644
--- a/kttsd/filters/sbd/sbdconf.cpp
+++ b/kttsd/filters/sbd/sbdconf.cpp
@@ -21,7 +21,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
******************************************************************************/
-// Qt includes.
+// TQt includes.
#include <tqfile.h>
#include <tqfileinfo.h>
#include <tqstring.h>
@@ -56,17 +56,17 @@
/**
* Constructor
*/
-SbdConf::SbdConf( TQWidget *parent, const char *name, const TQStringList& /*args*/) :
- KttsFilterConf(parent, name)
+SbdConf::SbdConf( TQWidget *tqparent, const char *name, const TQStringList& /*args*/) :
+ KttsFilterConf(tqparent, name)
{
// kdDebug() << "SbdConf::SbdConf: Running" << endl;
// Create configuration widget.
- TQVBoxLayout *layout = new TQVBoxLayout(this, KDialog::marginHint(),
+ TQVBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(),
KDialog::spacingHint(), "SbdConfigWidgetLayout");
- layout->setAlignment (Qt::AlignTop);
+ tqlayout->tqsetAlignment (TQt::AlignTop);
m_widget = new SbdConfWidget(this, "SbdConfigWidget");
- layout->addWidget(m_widget);
+ tqlayout->addWidget(m_widget);
// Determine if kdeutils Regular Expression Editor is installed.
m_reEditorInstalled = !KTrader::self()->query("KRegExpEditor/KRegExpEditor").isEmpty();
@@ -156,7 +156,7 @@ void SbdConf::save(KConfig* config, const TQString& configGroup){
config->writeEntry("SentenceDelimiterRegExp", m_widget->reLineEdit->text() );
config->writeEntry("SentenceBoundary", m_widget->sbLineEdit->text() );
config->writeEntry("LanguageCodes", m_languageCodeList );
- config->writeEntry("AppID", m_widget->appIdLineEdit->text().replace(" ", "") );
+ config->writeEntry("AppID", m_widget->appIdLineEdit->text().tqreplace(" ", "") );
}
/**
@@ -195,7 +195,7 @@ bool SbdConf::supportsMultiInstance() { return true; }
TQString SbdConf::userPlugInName()
{
if ( m_widget->reLineEdit->text().isEmpty() )
- return TQString::null;
+ return TQString();
else
return m_widget->nameLineEdit->text();
}
@@ -257,7 +257,7 @@ void SbdConf::slotLanguageBrowseButton_clicked()
if (!countryCode.isEmpty()) language +=
" (" + KGlobal::locale()->twoAlphaToCountryName(countryCode)+")";
TQListViewItem* item = new KListViewItem(langLView, language, locale);
- if (m_languageCodeList.contains(locale)) item->setSelected(true);
+ if (m_languageCodeList.tqcontains(locale)) item->setSelected(true);
}
// Sort by language.
langLView->setSorting(0);
@@ -276,7 +276,7 @@ void SbdConf::slotLanguageBrowseButton_clicked()
dlg->setHelp("", "kttsd");
dlg->setInitialSize(TQSize(300, 500), false);
int dlgResult = dlg->exec();
- languageCode = TQString::null;
+ languageCode = TQString();
if (dlgResult == TQDialog::Accepted)
{
m_languageCodeList.clear();
@@ -288,7 +288,7 @@ void SbdConf::slotLanguageBrowseButton_clicked()
}
}
delete dlg;
- // TODO: Also delete KListView and QHBox?
+ // TODO: Also delete KListView and TQHBox?
if (dlgResult != TQDialog::Accepted) return;
language = "";
for ( uint ndx=0; ndx < m_languageCodeList.count(); ++ndx)
@@ -331,11 +331,11 @@ void SbdConf::slotSaveButton_clicked()
void SbdConf::slotClearButton_clicked()
{
- m_widget->nameLineEdit->setText( TQString::null );
- m_widget->reLineEdit->setText( TQString::null );
- m_widget->sbLineEdit->setText( TQString::null );
+ m_widget->nameLineEdit->setText( TQString() );
+ m_widget->reLineEdit->setText( TQString() );
+ m_widget->sbLineEdit->setText( TQString() );
m_languageCodeList.clear();
- m_widget->languageLineEdit->setText( TQString::null );
- m_widget->appIdLineEdit->setText( TQString::null );
+ m_widget->languageLineEdit->setText( TQString() );
+ m_widget->appIdLineEdit->setText( TQString() );
configChanged();
}
diff --git a/kttsd/filters/sbd/sbdconf.h b/kttsd/filters/sbd/sbdconf.h
index eb1b817..f2610c4 100644
--- a/kttsd/filters/sbd/sbdconf.h
+++ b/kttsd/filters/sbd/sbdconf.h
@@ -24,7 +24,7 @@
#ifndef _SBDCONF_H_
#define _SBDCONF_H_
-// Qt includes.
+// TQt includes.
#include <tqwidget.h>
// KDE includes.
@@ -43,12 +43,13 @@ class EditReplacementWidget;
class SbdConf : public KttsFilterConf
{
Q_OBJECT
+ TQ_OBJECT
public:
/**
* Constructor
*/
- SbdConf( TQWidget *parent, const char *name, const TQStringList &args = TQStringList() );
+ SbdConf( TQWidget *tqparent, const char *name, const TQStringList &args = TQStringList() );
/**
* Destructor
diff --git a/kttsd/filters/sbd/sbdconfwidget.ui b/kttsd/filters/sbd/sbdconfwidget.ui
index 17cd525..c094a52 100644
--- a/kttsd/filters/sbd/sbdconfwidget.ui
+++ b/kttsd/filters/sbd/sbdconfwidget.ui
@@ -1,7 +1,7 @@
<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
<class>SbdConfWidget</class>
<author>Gary Cramblitt &lt;garycramblitt@comcast.net&gt;</author>
-<widget class="QWidget">
+<widget class="TQWidget">
<property name="name">
<cstring>SbdConfWidget</cstring>
</property>
@@ -25,7 +25,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel" row="0" column="0">
+ <widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>textLabel1</cstring>
</property>
@@ -33,22 +33,22 @@
<string>&lt;b&gt;WARNING: This filter is a key component of the KTTS system. Please read the KTTS Handbook before modifying these settings.&lt;/b&gt;</string>
</property>
</widget>
- <widget class="QLayoutWidget" row="1" column="0">
+ <widget class="TQLayoutWidget" row="1" column="0">
<property name="name">
- <cstring>layout3</cstring>
+ <cstring>tqlayout3</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>nameLabel</cstring>
</property>
<property name="text">
<string>&amp;Name:</string>
</property>
- <property name="alignment">
+ <property name="tqalignment">
<set>AlignVCenter|AlignRight</set>
</property>
<property name="buddy" stdset="0">
@@ -72,22 +72,22 @@
</widget>
</hbox>
</widget>
- <widget class="QLayoutWidget" row="2" column="0">
+ <widget class="TQLayoutWidget" row="2" column="0">
<property name="name">
- <cstring>layout17</cstring>
+ <cstring>tqlayout17</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>reLabel</cstring>
</property>
<property name="text">
<string>&amp;Sentence boundary regular expression:</string>
</property>
- <property name="alignment">
+ <property name="tqalignment">
<set>AlignVCenter|AlignRight</set>
</property>
<property name="buddy" stdset="0">
@@ -116,22 +116,22 @@
</widget>
</hbox>
</widget>
- <widget class="QLayoutWidget" row="3" column="0">
+ <widget class="TQLayoutWidget" row="3" column="0">
<property name="name">
- <cstring>layout17_2</cstring>
+ <cstring>tqlayout17_2</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>sbLabel</cstring>
</property>
<property name="text">
<string>&amp;Replacement sentence boundary:</string>
</property>
- <property name="alignment">
+ <property name="tqalignment">
<set>AlignVCenter|AlignRight</set>
</property>
<property name="buddy" stdset="0">
@@ -152,7 +152,7 @@
</widget>
</hbox>
</widget>
- <widget class="QGroupBox" row="4" column="0">
+ <widget class="TQGroupBox" row="4" column="0">
<property name="name">
<cstring>applyGroupBox</cstring>
</property>
@@ -166,22 +166,22 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLayoutWidget" row="0" column="0">
+ <widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
- <cstring>layout11</cstring>
+ <cstring>tqlayout11</cstring>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>languageLabel</cstring>
</property>
<property name="text">
<string>&amp;Language is:</string>
</property>
- <property name="alignment">
+ <property name="tqalignment">
<set>AlignVCenter|AlignRight</set>
</property>
<property name="buddy" stdset="0">
@@ -192,14 +192,14 @@
<comment>What's this text</comment>
</property>
</widget>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>appIdLabel</cstring>
</property>
<property name="text">
- <string>Application &amp;ID contains:</string>
+ <string>Application &amp;ID tqcontains:</string>
</property>
- <property name="alignment">
+ <property name="tqalignment">
<set>AlignVCenter|AlignRight</set>
</property>
<property name="buddy" stdset="0">
@@ -211,17 +211,17 @@
</widget>
</vbox>
</widget>
- <widget class="QLayoutWidget" row="0" column="1">
+ <widget class="TQLayoutWidget" row="0" column="1">
<property name="name">
- <cstring>layout13</cstring>
+ <cstring>tqlayout13</cstring>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
- <cstring>layout12</cstring>
+ <cstring>tqlayout12</cstring>
</property>
<hbox>
<property name="name">
@@ -263,9 +263,9 @@
</widget>
</grid>
</widget>
- <widget class="QLayoutWidget" row="5" column="0">
+ <widget class="TQLayoutWidget" row="5" column="0">
<property name="name">
- <cstring>layout6</cstring>
+ <cstring>tqlayout6</cstring>
</property>
<hbox>
<property name="name">
@@ -347,7 +347,7 @@
<tabstop>languageBrowseButton</tabstop>
<tabstop>appIdLineEdit</tabstop>
</tabstops>
-<layoutdefaults spacing="6" margin="11"/>
+<tqlayoutdefaults spacing="6" margin="11"/>
<includehints>
<includehint>klineedit.h</includehint>
<includehint>klineedit.h</includehint>
diff --git a/kttsd/filters/sbd/sbdproc.cpp b/kttsd/filters/sbd/sbdproc.cpp
index 6117b11..6b0a1a4 100644
--- a/kttsd/filters/sbd/sbdproc.cpp
+++ b/kttsd/filters/sbd/sbdproc.cpp
@@ -21,7 +21,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
******************************************************************************/
-// Qt includes.
+// TQt includes.
#include <tqregexp.h>
#include <tqdom.h>
#include <tqapplication.h>
@@ -41,8 +41,8 @@
/**
* Constructor.
*/
-SbdThread::SbdThread( TQObject *parent, const char *name ) :
- TQObject( parent, name ),
+SbdThread::SbdThread( TQObject *tqparent, const char *name ) :
+ TQObject( tqparent, name ),
TQThread()
{
}
@@ -175,7 +175,7 @@ void SbdThread::pushSsmlElem( SsmlElemType et, const TQDomElement& elem )
// i.e., name="value".
TQString SbdThread::makeAttr( const TQString& name, const TQString& value )
{
- if ( value.isEmpty() ) return TQString::null;
+ if ( value.isEmpty() ) return TQString();
return " " + name + "=\"" + value + "\"";
}
@@ -277,8 +277,8 @@ TQString SbdThread::makeSentence( const TQString& text )
if ( !e.isEmpty() ) s += e;
// Escape ampersands and less thans.
TQString newText = text;
- newText.replace(TQRegExp("&(?!amp;)"), "&amp;");
- newText.replace(TQRegExp("<(?!lt;)"), "&lt;");
+ newText.tqreplace(TQRegExp("&(?!amp;)"), "&amp;");
+ newText.tqreplace(TQRegExp("<(?!lt;)"), "&lt;");
s += newText;
if ( !e.isEmpty() ) s += "</emphasis>";
if ( !p.isEmpty() ) s += "</prosody>";
@@ -289,7 +289,7 @@ TQString SbdThread::makeSentence( const TQString& text )
// Starts a sentence by returning a speak tag.
TQString SbdThread::startSentence()
{
- if ( m_sentenceStarted ) return TQString::null;
+ if ( m_sentenceStarted ) return TQString();
TQString s;
s += makeSsmlElem( etSpeak );
m_sentenceStarted = true;
@@ -299,14 +299,14 @@ TQString SbdThread::startSentence()
// Ends a sentence and appends a Tab.
TQString SbdThread::endSentence()
{
- if ( !m_sentenceStarted ) return TQString::null;
+ if ( !m_sentenceStarted ) return TQString();
TQString s = "</speak>";
s += "\t";
m_sentenceStarted = false;
return s;
}
-// Parses a node of the SSML tree and recursively parses its children.
+// Parses a node of the SSML tree and recursively parses its tqchildren.
// Returns the filtered text with each sentence a complete ssml tree.
TQString SbdThread::parseSsmlNode( TQDomNode& n, const TQString& re )
{
@@ -351,7 +351,7 @@ TQString SbdThread::parseSsmlNode( TQDomNode& n, const TQString& re )
case TQDomNode::TextNode: { // = 3
TQString s = parsePlainText( n.toText().data(), re );
// TQString d = s;
- // d.replace("\t", "\\t");
+ // d.tqreplace("\t", "\\t");
// kdDebug() << "SbdThread::parseSsmlNode: parsedPlainText = [" << d << "]" << endl;
TQStringList sentenceList = TQStringList::split( '\t', s, false );
int lastNdx = sentenceList.count() - 1;
@@ -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 children.
+ // Get the root element (speak) and recursively process its tqchildren.
TQDomElement docElem = doc.documentElement();
TQDomNode n = docElem.firstChild();
TQString ssml = parseSsmlNode( docElem, re );
@@ -457,13 +457,13 @@ TQString SbdThread::parseCode( const TQString& inputText )
{
TQString temp = inputText;
// Replace newlines with tabs.
- temp.replace("\n","\t");
+ temp.tqreplace("\n","\t");
// Remove leading spaces.
- temp.replace(TQRegExp("\\t +"), "\t");
+ temp.tqreplace(TQRegExp("\\t +"), "\t");
// Remove trailing spaces.
- temp.replace(TQRegExp(" +\\t"), "\t");
+ temp.tqreplace(TQRegExp(" +\\t"), "\t");
// Remove blank lines.
- temp.replace(TQRegExp("\t\t+"),"\t");
+ temp.tqreplace(TQRegExp("\t\t+"),"\t");
return temp;
}
@@ -474,16 +474,16 @@ TQString SbdThread::parsePlainText( const TQString& inputText, const TQString& r
TQRegExp sentenceDelimiter = TQRegExp( re );
TQString temp = inputText;
// Replace sentence delimiters with tab.
- temp.replace(sentenceDelimiter, m_configuredSentenceBoundary);
+ temp.tqreplace(sentenceDelimiter, m_configuredSentenceBoundary);
// Replace remaining newlines with spaces.
- temp.replace("\n"," ");
- temp.replace("\r"," ");
+ temp.tqreplace("\n"," ");
+ temp.tqreplace("\r"," ");
// Remove leading spaces.
- temp.replace(TQRegExp("\\t +"), "\t");
+ temp.tqreplace(TQRegExp("\\t +"), "\t");
// Remove trailing spaces.
- temp.replace(TQRegExp(" +\\t"), "\t");
+ temp.tqreplace(TQRegExp(" +\\t"), "\t");
// Remove blank lines.
- temp.replace(TQRegExp("\t\t+"),"\t");
+ temp.tqreplace(TQRegExp("\t\t+"),"\t");
return temp;
}
@@ -503,7 +503,7 @@ TQString SbdThread::parsePlainText( const TQString& inputText, const TQString& r
{
// Examine just the first 500 chars to see if it is code.
TQString p = m_text.left( 500 );
- if ( p.contains( TQRegExp( "(/\\*)|(if\\b\\()|(^#include\\b)" ) ) )
+ if ( p.tqcontains( TQRegExp( "(/\\*)|(if\\b\\()|(^#include\\b)" ) ) )
textType = ttCode;
else
textType = ttPlain;
@@ -515,7 +515,7 @@ TQString SbdThread::parsePlainText( const TQString& inputText, const TQString& r
if ( re.isEmpty() ) re = m_configuredRe;
// Replace spaces, tabs, and formfeeds with a single space.
- m_text.replace(TQRegExp("[ \\t\\f]+"), " ");
+ m_text.tqreplace(TQRegExp("[ \\t\\f]+"), " ");
// Perform the filtering based on type of text.
switch ( textType )
@@ -534,7 +534,7 @@ TQString SbdThread::parsePlainText( const TQString& inputText, const TQString& r
}
// Clear app-specified sentence delimiter. App must call setSbRegExp for each conversion.
- m_re = TQString::null;
+ m_re = TQString();
// kdDebug() << "SbdThread::run: filtered text = " << m_text << endl;
@@ -562,11 +562,11 @@ bool SbdThread::event ( TQEvent * e )
/**
* Constructor.
*/
-SbdProc::SbdProc( TQObject *parent, const char *name, const TQStringList& /*args*/) :
- KttsFilterProc(parent, name)
+SbdProc::SbdProc( TQObject *tqparent, const char *name, const TQStringList& /*args*/) :
+ KttsFilterProc(tqparent, name)
{
// kdDebug() << "SbdProc::SbdProc: Running" << endl;
- m_sbdThread = new SbdThread( parent, *name + "_thread" );
+ m_sbdThread = new SbdThread( tqparent, *name + "_thread" );
connect( m_sbdThread, TQT_SIGNAL(filteringFinished()), this, TQT_SLOT(slotSbdThreadFilteringFinished()) );
}
@@ -603,7 +603,7 @@ bool SbdProc::init(KConfig* config, const TQString& configGroup){
m_configuredRe = config->readEntry( "SentenceDelimiterRegExp", "([\\.\\?\\!\\:\\;])(\\s|$|(\\n *\\n))" );
m_sbdThread->setConfiguredSbRegExp( m_configuredRe );
TQString sb = config->readEntry( "SentenceBoundary", "\\1\t" );
- sb.replace( "\\t", "\t" );
+ sb.tqreplace( "\\t", "\t" );
m_sbdThread->setConfiguredSentenceBoundary( sb );
m_appIdList = config->readListEntry( "AppID" );
m_languageCodeList = config->readListEntry( "LanguageCodes" );
@@ -672,14 +672,14 @@ bool SbdProc::init(KConfig* config, const TQString& configGroup){
TQString languageCode = talkerCode->languageCode();
// kdDebug() << "StringReplacerProc::convert: converting " << inputText <<
// " if language code " << languageCode << " matches " << m_languageCodeList << endl;
- if ( !m_languageCodeList.contains( languageCode ) )
+ if ( !m_languageCodeList.tqcontains( languageCode ) )
{
if ( !talkerCode->countryCode().isEmpty() )
{
languageCode += '_' + talkerCode->countryCode();
// kdDebug() << "StringReplacerProc::convert: converting " << inputText <<
// " if language code " << languageCode << " matches " << m_languageCodeList << endl;
- if ( !m_languageCodeList.contains( languageCode ) ) return false;
+ if ( !m_languageCodeList.tqcontains( languageCode ) ) return false;
} else return false;
}
}
@@ -692,7 +692,7 @@ bool SbdProc::init(KConfig* config, const TQString& configGroup){
TQString appIdStr = appId;
for ( uint ndx=0; ndx < m_appIdList.count(); ++ndx )
{
- if ( appIdStr.contains(m_appIdList[ndx]) )
+ if ( appIdStr.tqcontains(m_appIdList[ndx]) )
{
found = true;
break;
@@ -737,7 +737,7 @@ bool SbdProc::init(KConfig* config, const TQString& configGroup){
/*virtual*/ void SbdProc::ackFinished()
{
m_state = fsIdle;
- m_sbdThread->setText( TQString::null );
+ m_sbdThread->setText( TQString() );
}
/**
diff --git a/kttsd/filters/sbd/sbdproc.h b/kttsd/filters/sbd/sbdproc.h
index 4592c29..49f7b09 100644
--- a/kttsd/filters/sbd/sbdproc.h
+++ b/kttsd/filters/sbd/sbdproc.h
@@ -45,7 +45,7 @@
#ifndef _SBDPROC_H_
#define _SBDPROC_H_
-// Qt includes.
+// TQt includes.
#include <tqobject.h>
#include <tqstringlist.h>
#include <tqthread.h>
@@ -60,15 +60,16 @@ class KConfig;
class TQDomElement;
class TQDomNode;
-class SbdThread: public TQObject, public QThread
+class SbdThread: public TQObject, public TQThread
{
Q_OBJECT
+ TQ_OBJECT
public:
/**
* Constructor.
*/
- SbdThread( TQObject *parent = 0, const char *name = 0);
+ SbdThread( TQObject *tqparent = 0, const char *name = 0);
/**
* Destructor.
@@ -203,7 +204,7 @@ class SbdThread: public TQObject, public QThread
TQString startSentence();
// Ends a sentence and appends a Tab.
TQString endSentence();
- // Parses a node of the SSML tree and recursively parses its children.
+ // Parses a node of the SSML tree and recursively parses its tqchildren.
// Returns the filtered text with each sentence a complete ssml tree.
TQString parseSsmlNode( TQDomNode& n, const TQString& re );
@@ -240,12 +241,13 @@ class SbdThread: public TQObject, public QThread
class SbdProc : virtual public KttsFilterProc
{
Q_OBJECT
+ TQ_OBJECT
public:
/**
* Constructor.
*/
- SbdProc( TQObject *parent, const char *name, const TQStringList &args = TQStringList() );
+ SbdProc( TQObject *tqparent, const char *name, const TQStringList &args = TQStringList() );
/**
* Destructor.