summaryrefslogtreecommitdiffstats
path: root/ksirc/puke/pbutton.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/pbutton.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/pbutton.cpp')
-rw-r--r--ksirc/puke/pbutton.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ksirc/puke/pbutton.cpp b/ksirc/puke/pbutton.cpp
index f21cdf03..edccbe81 100644
--- a/ksirc/puke/pbutton.cpp
+++ b/ksirc/puke/pbutton.cpp
@@ -84,7 +84,7 @@ void PButton::messageHandler(int fd, PukeMessage *pm)
void PButton::setWidget(TQObject *_qb)
{
- if(_qb != 0 && _qb->inherits(TQBUTTON_OBJECT_NAME_STRING) == FALSE)
+ if(_qb != 0 && _qb->inherits("TQButton") == FALSE)
{
errorInvalidSet(_qb);
return;