summaryrefslogtreecommitdiffstats
path: root/khtml/khtml_caret_p.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /khtml/khtml_caret_p.h
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'khtml/khtml_caret_p.h')
-rw-r--r--khtml/khtml_caret_p.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/khtml/khtml_caret_p.h b/khtml/khtml_caret_p.h
index c96ab965d..04508413a 100644
--- a/khtml/khtml_caret_p.h
+++ b/khtml/khtml_caret_p.h
@@ -23,7 +23,7 @@
#include "rendering/render_table.h"
-#include <qvaluevector.h>
+#include <tqvaluevector.h>
#define DEBUG_CARETMODE 0
@@ -112,13 +112,13 @@ class LinearDocument;
* @since 3.3
* @internal
*/
-template<class T> class MassDeleter : public QValueVector<T *> {
+template<class T> class MassDeleter : public TQValueVector<T *> {
public:
MassDeleter(size_t reserved = 1) { this->reserve(reserved); }
~MassDeleter()
{
- typename QValueVector<T *>::Iterator nd = this->end();
- for (typename QValueVector<T *>::Iterator it = this->begin(); it != nd; ++it)
+ typename TQValueVector<T *>::Iterator nd = this->end();
+ for (typename TQValueVector<T *>::Iterator it = this->begin(); it != nd; ++it)
delete *it;
}
};
@@ -218,7 +218,7 @@ public:
long maxOffset() const { return _box && !isLineBreak() ? _box->maxOffset() : 0; }
#if DEBUG_CARETMODE > 0
- void dump(QTextStream &ts, const QString &ind) const;
+ void dump(TQTextStream &ts, const TQString &ind) const;
#endif
friend class CaretBoxLine;
@@ -398,12 +398,12 @@ public:
RenderBox *cb, bool outside, bool outsideEnd, CaretBoxIterator &iter) /*KDE_NO_EXPORT*/;
#if DEBUG_CARETMODE > 0
- void dump(QTextStream &ts, const QString &ind) const;
- QString information() const
+ void dump(TQTextStream &ts, const TQString &ind) const;
+ TQString information() const
{
- QString result;
- QTextStream ts(&result, IO_WriteOnly);
- dump(ts, QString::null);
+ TQString result;
+ TQTextStream ts(&result, IO_WriteOnly);
+ dump(ts, TQString::null);
return result;
}
#endif
@@ -464,7 +464,7 @@ protected:
* @param left true to add left edge, false to add right edge
* @param rtl true if direction is rtl
*/
- void addCreatedInlineBoxEdge(InlineBox *box, const QFontMetrics &fm,
+ void addCreatedInlineBoxEdge(InlineBox *box, const TQFontMetrics &fm,
bool left, bool rtl) /*KDE_NO_EXPORT*/;
/** creates and adds the edge of an inline flow box
* @param flowBox inline flow box
@@ -472,13 +472,13 @@ protected:
* @param left true to add left edge, false to add right edge
* @param rtl true if direction is rtl
*/
- void addCreatedFlowBoxEdge(InlineFlowBox *flowBox, const QFontMetrics &fm,
+ void addCreatedFlowBoxEdge(InlineFlowBox *flowBox, const TQFontMetrics &fm,
bool left, bool rtl) /*KDE_NO_EXPORT*/;
/** creates and adds the inside of an inline flow box
* @param flowBox inline flow box
* @param fm font metrics of inline flow box
*/
- void addCreatedFlowBoxInside(InlineFlowBox *flowBox, const QFontMetrics &fm) /*KDE_NO_EXPORT*/;
+ void addCreatedFlowBoxInside(InlineFlowBox *flowBox, const TQFontMetrics &fm) /*KDE_NO_EXPORT*/;
friend class CaretBoxIterator;
};
@@ -1037,7 +1037,7 @@ public:
/** returns the current character as a unicode symbol, substituting
* a blank for a non-text node.
*/
- QChar operator *() const { return QChar(_char >= 0 ? _char : ' '); }
+ TQChar operator *() const { return TQChar(_char >= 0 ? _char : ' '); }
/** returns true when the end of the document has been reached.
*/