diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-12 10:02:21 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-13 09:56:54 +0900 |
commit | a21db23a57572db2faa3f56defdf7fd0671f613d (patch) | |
tree | 039d96f122b35858eb99b3e2369bd27bcba29159 /kttsd | |
parent | 5b964adfc9b255726f76e2fe8624adad62caab7f (diff) | |
download | tdeaccessibility-a21db23a57572db2faa3f56defdf7fd0671f613d.tar.gz tdeaccessibility-a21db23a57572db2faa3f56defdf7fd0671f613d.zip |
Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 55a03e677444b0bc517f2518e29d44686e86746e)
Diffstat (limited to 'kttsd')
-rw-r--r-- | kttsd/kttsjobmgr/kttsjobmgr.cpp | 6 | ||||
-rw-r--r-- | kttsd/kttsjobmgr/kttsjobmgr.h | 2 |
2 files changed, 4 insertions, 4 deletions
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; diff --git a/kttsd/kttsjobmgr/kttsjobmgr.h b/kttsd/kttsjobmgr/kttsjobmgr.h index 9102f5c..272b4c8 100644 --- a/kttsd/kttsjobmgr/kttsjobmgr.h +++ b/kttsd/kttsjobmgr/kttsjobmgr.h @@ -43,7 +43,7 @@ public: virtual ~KttsJobMgrFactory(); virtual TQObject* createObject(TQObject* parent = 0, const char* name = 0, - const char* classname = TQOBJECT_OBJECT_NAME_STRING, + const char* classname = "TQObject", const TQStringList &args = TQStringList()); static TDEInstance *instance(); |