diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
commit | ffe8a83e053396df448e9413828527613ca3bd46 (patch) | |
tree | a73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kate/part/katerenderer.h | |
parent | 682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff) | |
download | tdelibs-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 'kate/part/katerenderer.h')
-rw-r--r-- | kate/part/katerenderer.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kate/part/katerenderer.h b/kate/part/katerenderer.h index fc4865ab1..1b9169efd 100644 --- a/kate/part/katerenderer.h +++ b/kate/part/katerenderer.h @@ -26,8 +26,8 @@ #include "kateattribute.h" #include "katetextline.h" -#include <qfont.h> -#include <qfontmetrics.h> +#include <tqfont.h> +#include <tqfontmetrics.h> class KateDocument; class KateView; @@ -147,8 +147,8 @@ public: */ void increaseFontSizes(); void decreaseFontSizes(); - const QFont* currentFont(); - const QFontMetrics* currentFontMetrics(); + const TQFont* currentFont(); + const TQFontMetrics* currentFontMetrics(); /** * @return whether the renderer is configured to paint in a @@ -207,7 +207,7 @@ public: * The text line is painted from the upper limit of (0,0). To move that, * apply a transform to your painter. */ - void paintTextLine(QPainter& paint, const KateLineRange* range, int xStart, int xEnd, const KateTextCursor* cursor = 0L, const KateBracketRange* bracketmark = 0L); + void paintTextLine(TQPainter& paint, const KateLineRange* range, int xStart, int xEnd, const KateTextCursor* cursor = 0L, const KateBracketRange* bracketmark = 0L); /** * Paint the background of a line @@ -218,7 +218,7 @@ public: * * @return whether the selection has been painted or not */ - bool paintTextLineBackground(QPainter& paint, int line, bool isCurrentLine, int xStart, int xEnd); + bool paintTextLineBackground(TQPainter& paint, int line, bool isCurrentLine, int xStart, int xEnd); /** * This takes an in index, and returns all the attributes for it. @@ -235,10 +235,10 @@ public: * * Currently only used by the tabs, but it will also be used for highlighting trailing whitespace */ - void paintWhitespaceMarker(QPainter &paint, uint x, uint y); + void paintWhitespaceMarker(TQPainter &paint, uint x, uint y); /** Paint a SciTE-like indent marker. */ - void paintIndentMarker(QPainter &paint, uint x, uint y); + void paintIndentMarker(TQPainter &paint, uint x, uint y); KateDocument* m_doc; KateView *m_view; @@ -255,7 +255,7 @@ public: bool m_showTabs; bool m_printerFriendly; - QMemArray<KateAttribute> *m_attributes; + TQMemArray<KateAttribute> *m_attributes; /** * Configuration |