From 75b9f40221399ae82b0169494af7db6d35d0a070 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 12 Jul 2023 11:29:02 +0900 Subject: Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3. Signed-off-by: Michele Calgaro --- ksirc/puke/ppushbt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ksirc/puke/ppushbt.cpp') 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; -- cgit v1.2.1