summaryrefslogtreecommitdiffstats
path: root/ksirc/puke/ppushbt.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-07-12 11:29:02 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-07-13 10:02:37 +0900
commitf0d0dabf77ba63a31a571ba73c9374be5f262c21 (patch)
treea796a51ff39e6eb5629c19a848e06923749e6aab /ksirc/puke/ppushbt.cpp
parent006e6257893a789e4255dadb600820cee7e26366 (diff)
downloadtdenetwork-f0d0dabf77ba63a31a571ba73c9374be5f262c21.tar.gz
tdenetwork-f0d0dabf77ba63a31a571ba73c9374be5f262c21.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 75b9f40221399ae82b0169494af7db6d35d0a070)
Diffstat (limited to 'ksirc/puke/ppushbt.cpp')
-rw-r--r--ksirc/puke/ppushbt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ksirc/puke/ppushbt.cpp b/ksirc/puke/ppushbt.cpp
index f006fbd2..346abcd3 100644
--- a/ksirc/puke/ppushbt.cpp
+++ b/ksirc/puke/ppushbt.cpp
@@ -45,7 +45,7 @@ void PPushButton::messageHandler(int fd, PukeMessage *pm)
void PPushButton::setWidget(TQObject *_qb)
{
- if(_qb != 0 && _qb->inherits(TQPUSHBUTTON_OBJECT_NAME_STRING) == FALSE)
+ if(_qb != 0 && _qb->inherits("TQPushButton") == FALSE)
{
errorInvalidSet(_qb);
return;