From 560378aaca1784ba19806a0414a32b20c744de39 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 3 Jan 2011 04:12:51 +0000 Subject: Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1 NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- khtml/rendering/render_text.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'khtml/rendering/render_text.h') diff --git a/khtml/rendering/render_text.h b/khtml/rendering/render_text.h index d91782b47..f5356b6c7 100644 --- a/khtml/rendering/render_text.h +++ b/khtml/rendering/render_text.h @@ -36,7 +36,7 @@ class TQPainter; class TQFontMetrics; -// Define a constant for soft hyphen's unicode value. +// Define a constant for soft hyphen's tqunicode value. #define SOFT_HYPHEN 173 const int cNoTruncation = -1; @@ -154,7 +154,7 @@ public: InlineTextBox* first(); - int findFirstMatching( Item ) const; + int tqfindFirstMatching( Item ) const; virtual int compareItems( Item, Item ); }; @@ -183,7 +183,7 @@ public: virtual InlineBox* createInlineBox(bool, bool); - virtual void layout() {assert(false);} + virtual void tqlayout() {assert(false);} virtual bool nodeAtPoint(NodeInfo& info, int x, int y, int tx, int ty, HitTestAction hitTestAction, bool inBox); @@ -217,7 +217,7 @@ public: short& beginMaxW, short& endMaxW, short& minW, short& maxW, bool& stripFrontSpaces); - bool containsOnlyWhitespace(unsigned int from, unsigned int len) const; + bool tqcontainsOnlyWhitespace(unsigned int from, unsigned int len) const; ushort startMin() const { return m_startMin; } ushort endMin() const { return m_endMin; } @@ -247,7 +247,7 @@ public: virtual short marginLeft() const { return style()->marginLeft().minWidth(0); } virtual short marginRight() const { return style()->marginRight().minWidth(0); } - virtual void repaint(Priority p=NormalPriority); + virtual void tqrepaint(Priority p=NormalPriority); bool hasBreakableChar() const { return m_hasBreakableChar; } const TQFontMetrics &metrics(bool firstLine) const; @@ -285,7 +285,7 @@ public: * boxes, if available. * @return the text box, or 0 if no match has been found */ - InlineTextBox * findInlineTextBox( int offset, int &pos, + InlineTextBox * tqfindInlineTextBox( int offset, int &pos, bool checkFirstLetter = false ); protected: // members -- cgit v1.2.1