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/ptablevw.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ksirc/puke/ptablevw.cpp') diff --git a/ksirc/puke/ptablevw.cpp b/ksirc/puke/ptablevw.cpp index 918b0676..eff40d44 100644 --- a/ksirc/puke/ptablevw.cpp +++ b/ksirc/puke/ptablevw.cpp @@ -52,7 +52,7 @@ void PTableView::messageHandler(int fd, PukeMessage *pm) void PTableView::setWidget(TQObject *_tbv) { - if(_tbv != 0 && _tbv->inherits(TQGRIDVIEW_OBJECT_NAME_STRING) == FALSE) + if(_tbv != 0 && _tbv->inherits("TQGridView") == FALSE) { errorInvalidSet(_tbv); return; -- cgit v1.2.1