summaryrefslogtreecommitdiffstats
path: root/ksirc/puke/playout.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/playout.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/playout.cpp')
-rw-r--r--ksirc/puke/playout.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ksirc/puke/playout.cpp b/ksirc/puke/playout.cpp
index f57bacc9..22e60887 100644
--- a/ksirc/puke/playout.cpp
+++ b/ksirc/puke/playout.cpp
@@ -88,7 +88,7 @@ void PLayout::messageHandler(int fd, PukeMessage *pm)
}
PObject *pld = controller()->id2pobject(fd, pm->iWinId);
PObject *pls = controller()->id2pobject(fd, pm->iArg);
- if( (pld->widget()->inherits(TQBOXLAYOUT_OBJECT_NAME_STRING) == FALSE) || (pls->widget()->inherits(TQBOXLAYOUT_OBJECT_NAME_STRING) == FALSE))
+ if( (pld->widget()->inherits("TQBoxLayout") == FALSE) || (pls->widget()->inherits("TQBoxLayout") == FALSE))
throw(errorCommandFailed(PUKE_LAYOUT_ADDLAYOUT_ACK, 1));
PLayout *plbd = (PLayout *) pld;
PLayout *plbs = (PLayout *) pls;
@@ -136,7 +136,7 @@ void PLayout::messageHandler(int fd, PukeMessage *pm)
void PLayout::setWidget(TQObject *_layout)
{
// kdDebug(5008) << "PObject setwidget called" << endl;
- if(_layout != 0 && _layout->inherits(TQBOXLAYOUT_OBJECT_NAME_STRING) == FALSE)
+ if(_layout != 0 && _layout->inherits("TQBoxLayout") == FALSE)
{
errorInvalidSet(_layout);
return;