diff options
author | Timothy Pearson <[email protected]> | 2011-12-18 18:28:00 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-18 18:28:00 -0600 |
commit | 6687cd2515bdebbd8f0c92261f3acf8777441ca6 (patch) | |
tree | c842392adc0b9d0eed2730bb756d5381b0fabc82 /kttsd/kttsjobmgr/kttsjobmgr.cpp | |
parent | f46912a1a50c5ca06eb713e43e170f5ac47bb680 (diff) | |
download | tdeaccessibility-6687cd2515bdebbd8f0c92261f3acf8777441ca6.tar.gz tdeaccessibility-6687cd2515bdebbd8f0c92261f3acf8777441ca6.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'kttsd/kttsjobmgr/kttsjobmgr.cpp')
-rw-r--r-- | kttsd/kttsjobmgr/kttsjobmgr.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kttsd/kttsjobmgr/kttsjobmgr.cpp b/kttsd/kttsjobmgr/kttsjobmgr.cpp index 2d6477e..2c2101f 100644 --- a/kttsd/kttsjobmgr/kttsjobmgr.cpp +++ b/kttsd/kttsjobmgr/kttsjobmgr.cpp @@ -163,7 +163,7 @@ KttsJobMgrPart::KttsJobMgrPart(TQWidget *parent, const char *name) : hbox3->setSpacing(6); // Do not let button box stretch vertically. - m_buttonBox->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Fixed)); + m_buttonBox->setSizePolicy(TQSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Fixed)); // All the buttons with "job_" at start of their names will be enabled/disabled when a job is // selected in the Job List View. @@ -274,7 +274,7 @@ KttsJobMgrPart::KttsJobMgrPart(TQWidget *parent, const char *name) : // Create a label for current sentence. TQLabel* currentSentenceLabel = new TQLabel(sentenceVBox); - currentSentenceLabel->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Fixed)); + currentSentenceLabel->setSizePolicy(TQSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Fixed)); currentSentenceLabel->setText(i18n("Current Sentence")); // Create a box to contain the current sentence. @@ -518,7 +518,7 @@ void KttsJobMgrPart::slot_speak_clipboard() { if (supportsMarkup(NULL, KSpeech::mtHtml)) { - TQByteArray d = data->tqencodedData("text/html"); + TQByteArray d = data->encodedData("text/html"); text = TQString(d); } } @@ -526,7 +526,7 @@ void KttsJobMgrPart::slot_speak_clipboard() { if (supportsMarkup(NULL, KSpeech::mtSsml)) { - TQByteArray d = data->tqencodedData("text/ssml"); + TQByteArray d = data->encodedData("text/ssml"); text = TQString(d); } } |