From 55a03e677444b0bc517f2518e29d44686e86746e Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 12 Jul 2023 10:02:21 +0900 Subject: Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3. Signed-off-by: Michele Calgaro --- kttsd/kttsjobmgr/kttsjobmgr.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kttsd/kttsjobmgr/kttsjobmgr.cpp') diff --git a/kttsd/kttsjobmgr/kttsjobmgr.cpp b/kttsd/kttsjobmgr/kttsjobmgr.cpp index d761860..7a527f6 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_OBJECT_NAME_STRING, "job_*", true, true ); + TQObjectList *l = m_buttonBox->queryList( "TQPushButton", "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_OBJECT_NAME_STRING, "job_later", false, true ); + l = m_buttonBox->queryList( "TQPushButton", "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_OBJECT_NAME_STRING, "part_*", true, true ); + TQObjectList *l = m_buttonBox->queryList( "TQPushButton", "part_*", true, true ); TQObjectListIt it( *l ); // iterate over the buttons TQObject *obj; -- cgit v1.2.1