summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-07-11 21:39:04 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-07-12 22:19:10 +0900
commit9a1b6c4b765897212ff00f62e7257efe1089ea95 (patch)
tree72bed4729c6d07aad51291028af815a4be35ad99
parentf8453ccf3e0b30e1e93b5daeb2c95af0c90da6fd (diff)
downloadkile-9a1b6c4b765897212ff00f62e7257efe1089ea95.tar.gz
kile-9a1b6c4b765897212ff00f62e7257efe1089ea95.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 218e9f7e37efccdd01e25cc1c2e51d674dc33a06)
-rw-r--r--src/kile/kile.cpp2
-rw-r--r--src/kile/kilekonsolewidget.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/kile/kile.cpp b/src/kile/kile.cpp
index 90b3974..e981332 100644
--- a/src/kile/kile.cpp
+++ b/src/kile/kile.cpp
@@ -2311,7 +2311,7 @@ void Kile::citeViewBib()
}
else{
TQDataStream reply(replyData, IO_ReadOnly);
- if (replyType == TQSTRING_OBJECT_NAME_STRING)
+ if (replyType == "TQString")
{
TQString result;
reply >> result;
diff --git a/src/kile/kilekonsolewidget.cpp b/src/kile/kilekonsolewidget.cpp
index 5989147..a68cecd 100644
--- a/src/kile/kilekonsolewidget.cpp
+++ b/src/kile/kilekonsolewidget.cpp
@@ -51,7 +51,7 @@ namespace KileWidget
if (!m_part) return;
- if (m_part->widget()->inherits(TQFRAME_OBJECT_NAME_STRING))
+ if (m_part->widget()->inherits("TQFrame"))
((TQFrame*)m_part->widget())->setFrameStyle(TQFrame::Panel|TQFrame::Sunken);
m_bPresent=true;