summaryrefslogtreecommitdiffstats
path: root/kttsd
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-20 21:19:55 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-20 21:19:55 +0900
commitdf38a0402cac61ce84ed9567b959a37efcb69b03 (patch)
tree1fec8ba8fcb07d3c9e1e22bd58216ed8c03871dc /kttsd
parentdba614b5da2e38e284ba72c8a68556bac7e3fc1d (diff)
downloadtdeaccessibility-df38a0402cac61ce84ed9567b959a37efcb69b03.tar.gz
tdeaccessibility-df38a0402cac61ce84ed9567b959a37efcb69b03.zip
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kttsd')
-rw-r--r--kttsd/kcmkttsmgr/kcmkttsmgr.cpp4
-rw-r--r--kttsd/kttsjobmgr/kttsjobmgr.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/kttsd/kcmkttsmgr/kcmkttsmgr.cpp b/kttsd/kcmkttsmgr/kcmkttsmgr.cpp
index 90a70a4..03c7b85 100644
--- a/kttsd/kcmkttsmgr/kcmkttsmgr.cpp
+++ b/kttsd/kcmkttsmgr/kcmkttsmgr.cpp
@@ -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)
{
@@ -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.
diff --git a/kttsd/kttsjobmgr/kttsjobmgr.cpp b/kttsd/kttsjobmgr/kttsjobmgr.cpp
index 6a36888..d51aa17 100644
--- a/kttsd/kttsjobmgr/kttsjobmgr.cpp
+++ b/kttsd/kttsjobmgr/kttsjobmgr.cpp
@@ -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;