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 12:29:31 +0900
commit4c0dae60b2fbc60996fc8f4bd29ee6219b869527 (patch)
tree6aa583e34395f4d19d4b85f081b31513e5c9c19d /kate/part
parent066f257eadc5866386c2cfbdba1a93105cff67ae (diff)
downloadtdelibs-4c0dae60b2fbc60996fc8f4bd29ee6219b869527.tar.gz
tdelibs-4c0dae60b2fbc60996fc8f4bd29ee6219b869527.zip
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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; }