diff options
Diffstat (limited to 'kmid/kdisptext.cpp')
-rw-r--r-- | kmid/kdisptext.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kmid/kdisptext.cpp b/kmid/kdisptext.cpp index 72436009..a0e7461d 100644 --- a/kmid/kdisptext.cpp +++ b/kmid/kdisptext.cpp @@ -26,7 +26,7 @@ #include <tqfont.h> #include <tqfontmetrics.h> #include <tqrect.h> -#include <tqtextcodec.h> +#include <textcodec.h> #include <kconfig.h> #include <kglobal.h> @@ -125,7 +125,7 @@ void KDisplayText::ClearEv(bool totally) TQT_TQOBJECT(this)->killTimers(); autoscrollv=0; resizeContents(0,0); - viewport()->tqrepaint(TRUE); + viewport()->repaint(TRUE); } } @@ -367,7 +367,7 @@ void KDisplayText::CursorToHome(void) setContentsPos(0,0); - viewport()->tqrepaint(true); + viewport()->repaint(true); } void KDisplayText::PaintIn(int type) @@ -487,7 +487,7 @@ void KDisplayText::gotomsec(ulong i) TQT_TQOBJECT(this)->killTimers(); autoscrollv=0; setContentsPos(0,first_line->ypos); - viewport()->tqrepaint(); + viewport()->repaint(); } } @@ -508,7 +508,7 @@ void KDisplayText::fontChanged(void) qfmetr=new TQFontMetrics(*qtextfont); calculatePositions(); nvisiblelines=height()/qfmetr->lineSpacing(); - viewport()->tqrepaint(TRUE); + viewport()->repaint(TRUE); } void KDisplayText::ChangeTypeOfTextEvents(int type) @@ -534,7 +534,7 @@ void KDisplayText::ChangeTypeOfTextEvents(int type) setContentsPos(0,first_line->ypos); } - viewport()->tqrepaint(TRUE); + viewport()->repaint(TRUE); } int KDisplayText::ChooseTypeOfTextEvents(void) |