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 --- knewsticker/common/newsiconmgr.cpp | 2 +- knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlg.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'knewsticker') diff --git a/knewsticker/common/newsiconmgr.cpp b/knewsticker/common/newsiconmgr.cpp index 228e0618..57f5fc6e 100644 --- a/knewsticker/common/newsiconmgr.cpp +++ b/knewsticker/common/newsiconmgr.cpp @@ -146,7 +146,7 @@ TQString NewsIconMgr::favicon(const KURL &url) const kapp->dcopClient()->call("kded", "favicons", "iconForURL(KURL)", data, replyType, reply); - if (replyType == TQSTRING_OBJECT_NAME_STRING) { + if (replyType == "TQString") { TQDataStream replyStream(reply, IO_ReadOnly); TQString result; replyStream >> result; diff --git a/knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlg.h b/knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlg.h index c27e3d86..9e09ff51 100644 --- a/knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlg.h +++ b/knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlg.h @@ -35,7 +35,7 @@ class KntSrcFilePropsFactory : public KLibFactory public: virtual TQObject *createObject(TQObject * = 0, const char * = 0, - const char * = TQOBJECT_OBJECT_NAME_STRING, const TQStringList & = TQStringList()); + const char * = "TQObject", const TQStringList & = TQStringList()); }; class KntSrcFilePropsDlg : public KPropsDlgPlugin -- cgit v1.2.1