summaryrefslogtreecommitdiffstats
path: root/kate/part
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-25 12:03:00 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-25 17:50:49 +0900
commit04d353236066b9aa85f6387fa05d3d37b75a7dd2 (patch)
tree3781200cbdb5db08e22cb07dd16c2dcdf6402b98 /kate/part
parentb0f1961286230520573e2433b0ed4562718ce7a3 (diff)
downloadtdelibs-04d353236066b9aa85f6387fa05d3d37b75a7dd2.tar.gz
tdelibs-04d353236066b9aa85f6387fa05d3d37b75a7dd2.zip
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 4c0dae60b2fbc60996fc8f4bd29ee6219b869527)
Diffstat (limited to 'kate/part')
-rw-r--r--kate/part/katehighlight.cpp6
-rw-r--r--kate/part/katehighlight.h2
-rw-r--r--kate/part/katetextline.h2
3 files changed, 5 insertions, 5 deletions
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<sho
*/
int KateHighlighting::makeDynamicContext(KateHlContext *model, const TQStringList *args)
{
- QPair<KateHlContext *, TQString> key(model, args->front());
+ TQPair<KateHlContext *, TQString> 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<KateHlContext*> m_contexts;
inline KateHlContext *contextNum (uint n) { if (n < m_contexts.size()) return m_contexts[n]; return 0; }
- TQMap< QPair<KateHlContext *, TQString>, short> dynamicCtxs;
+ TQMap< TQPair<KateHlContext *, TQString>, 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; }