diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:44:52 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:44:52 -0600 |
commit | 23aecb275d6085b7a15a38da0180edf156c8ea9d (patch) | |
tree | 1acc5451905a1fdd8b967d901399226fe72d8d03 /kttsd/kttsmgr | |
parent | 2d8b424e2324165d85cb4694a58464c6d7022f45 (diff) | |
download | tdeaccessibility-23aecb275d6085b7a15a38da0180edf156c8ea9d.tar.gz tdeaccessibility-23aecb275d6085b7a15a38da0180edf156c8ea9d.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kttsd/kttsmgr')
-rw-r--r-- | kttsd/kttsmgr/kttsmgr.cpp | 8 | ||||
-rw-r--r-- | kttsd/kttsmgr/kttsmgr.h | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/kttsd/kttsmgr/kttsmgr.cpp b/kttsd/kttsmgr/kttsmgr.cpp index da9001b..f633a11 100644 --- a/kttsd/kttsmgr/kttsmgr.cpp +++ b/kttsd/kttsmgr/kttsmgr.cpp @@ -148,14 +148,14 @@ KttsToolTip::KttsToolTip ( TQWidget* parent ) : TQToolTip(parent) KttsMgrTray* kttsMgrTray = dynamic_cast<KttsMgrTray*>(parentWidget()); - TQRect r(kttsMgrTray->tqgeometry()); + TQRect r(kttsMgrTray->geometry()); if ( !r.isValid() ) return; TQString status = "<qt><b>KTTSMgr</b> - "; status += i18n("<qt>Text-to-Speech Manager"); status += "<br/><br/>"; - status += kttsMgrTray->gettqStatus(); + status += kttsMgrTray->getStatus(); status += "</qt>"; tip(r, status); @@ -257,7 +257,7 @@ TQString KttsMgrTray::stateToStr(int state) } } -TQString KttsMgrTray::gettqStatus() +TQString KttsMgrTray::getStatus() { if (!isKttsdRunning()) return i18n("Text-to-Speech System is not running"); uint jobCount = getTextJobCount(); @@ -273,7 +273,7 @@ TQString KttsMgrTray::gettqStatus() int sentenceCount = getTextCount(job); uint seq = moveRelTextSentence(0, job); status += i18n(", current job %1 at sentence %2 of %3 sentences" - ).tqarg(stateToStr(jobState)).tqarg(seq).tqarg(sentenceCount); + ).arg(stateToStr(jobState)).arg(seq).arg(sentenceCount); } } return status; diff --git a/kttsd/kttsmgr/kttsmgr.h b/kttsd/kttsmgr/kttsmgr.h index a2a99df..92245da 100644 --- a/kttsd/kttsmgr/kttsmgr.h +++ b/kttsd/kttsmgr/kttsmgr.h @@ -55,7 +55,7 @@ class KttsMgrTray: public KSystemTray, public KSpeech_stub, virtual public KSpee ~KttsMgrTray(); void setExitWhenFinishedSpeaking(); - TQString gettqStatus(); + TQString getStatus(); protected: // ASYNC textStarted(const TQCString& appId, uint jobNum); |