From 04d353236066b9aa85f6387fa05d3d37b75a7dd2 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 25 Sep 2023 12:03:00 +0900 Subject: Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version Signed-off-by: Michele Calgaro (cherry picked from commit 4c0dae60b2fbc60996fc8f4bd29ee6219b869527) --- kate/part/katehighlight.cpp | 6 +++--- kate/part/katehighlight.h | 2 +- kate/part/katetextline.h | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'kate') diff --git a/kate/part/katehighlight.cpp b/kate/part/katehighlight.cpp index 66991ca8f..ad4cc5abe 100644 --- a/kate/part/katehighlight.cpp +++ b/kate/part/katehighlight.cpp @@ -1289,7 +1289,7 @@ void KateHighlighting::generateContextStack(int *ctxNum, int ctx, TQMemArray key(model, args->front()); + TQPair key(model, args->front()); short value; if (dynamicCtxs.contains(key)) @@ -1694,7 +1694,7 @@ void KateHighlighting::getKateHlItemDataList (uint schema, KateHlItemDataList &l TQString tmp=s[0]; if (!tmp.isEmpty()) p->defStyleNum=tmp.toInt(); - QRgb col; + TQRgb col; tmp=s[1]; if (!tmp.isEmpty()) { col=tmp.toUInt(0,16); p->setTextColor(col); } @@ -3281,7 +3281,7 @@ void KateHlManager::getDefaults(uint schema, KateAttributeList &list) s << ""; TQString tmp; - QRgb col; + TQRgb col; tmp=s[0]; if (!tmp.isEmpty()) { col=tmp.toUInt(0,16); i->setTextColor(col); } diff --git a/kate/part/katehighlight.h b/kate/part/katehighlight.h index 3ab7a7042..caad80a90 100644 --- a/kate/part/katehighlight.h +++ b/kate/part/katehighlight.h @@ -251,7 +251,7 @@ class KateHighlighting TQValueVector m_contexts; inline KateHlContext *contextNum (uint n) { if (n < m_contexts.size()) return m_contexts[n]; return 0; } - TQMap< QPair, short> dynamicCtxs; + TQMap< TQPair, short> dynamicCtxs; // make them pointers perhaps KateEmbeddedHlInfos embeddedHls; diff --git a/kate/part/katetextline.h b/kate/part/katetextline.h index 78c28e644..dec072d9d 100644 --- a/kate/part/katetextline.h +++ b/kate/part/katetextline.h @@ -167,7 +167,7 @@ class KateTextLine : public TDEShared inline uchar *attributes () const { return m_attributes.data(); } /** - * Gets a QString + * Gets a TQString * @return text of line as TQString reference */ inline const TQString& string() const { return m_text; } -- cgit v1.2.1