summaryrefslogtreecommitdiffstats
path: root/kttsd
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-24 07:08:32 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-24 07:08:32 +0000
commit3a3c4b256baee79bdcfe72c5e01b9ded9b525900 (patch)
tree550b1981c43905516f35af619a7f9f367521c741 /kttsd
parent5318da3a2dc7349060554c2e271190b45a450e7e (diff)
downloadtdeaccessibility-3a3c4b256baee79bdcfe72c5e01b9ded9b525900.tar.gz
tdeaccessibility-3a3c4b256baee79bdcfe72c5e01b9ded9b525900.zip
Fix a number of runtime object identification problems which led to an even larger array of minor glitches
NOTE: kdevelop and kdewebdev still need to be fully repaired git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaccessibility@1222475 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kttsd')
-rw-r--r--kttsd/kttsjobmgr/kttsjobmgr.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kttsd/kttsjobmgr/kttsjobmgr.cpp b/kttsd/kttsjobmgr/kttsjobmgr.cpp
index 91a64fd..4d80bb4 100644
--- a/kttsd/kttsjobmgr/kttsjobmgr.cpp
+++ b/kttsd/kttsjobmgr/kttsjobmgr.cpp
@@ -764,7 +764,7 @@ TQString KttsJobMgrPart::cachedTalkerCodeToTalkerID(const TQString& talkerCode)
void KttsJobMgrPart::enableJobActions(bool enable)
{
if (!m_buttonBox) return;
- TQObjectList *l = m_buttonBox->queryList( "TQPushButton", "job_*", true, true );
+ TQObjectList *l = m_buttonBox->queryList( TQPUSHBUTTON_OBJECT_NAME_STRING, "job_*", true, true );
TQObjectListIt it( *l ); // iterate over the buttons
TQObject *obj;
@@ -783,7 +783,7 @@ void KttsJobMgrPart::enableJobActions(bool enable)
{
bool enableLater = item->nextSibling();
- l = m_buttonBox->queryList( "TQPushButton", "job_later", false, true );
+ l = m_buttonBox->queryList( TQPUSHBUTTON_OBJECT_NAME_STRING, "job_later", false, true );
it = TQObjectListIt( *l ); // iterate over the buttons
if ( (obj = it.current()) != 0 ) {
// for each found object...
@@ -801,7 +801,7 @@ void KttsJobMgrPart::enableJobActions(bool enable)
void KttsJobMgrPart::enableJobPartActions(bool enable)
{
if (!m_buttonBox) return;
- TQObjectList *l = m_buttonBox->queryList( "TQPushButton", "part_*", true, true );
+ TQObjectList *l = m_buttonBox->queryList( TQPUSHBUTTON_OBJECT_NAME_STRING, "part_*", true, true );
TQObjectListIt it( *l ); // iterate over the buttons
TQObject *obj;