From 74c05bbf9d92e43a6cf3799355b5f3598884409e Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 19 Dec 2011 11:56:05 -0600 Subject: Remove additional unneeded tq method conversions --- kcoloredit/kcoloredit.h | 2 +- kcoloredit/kxycolorselector.cpp | 2 +- kcoloredit/kzcolorselector.cpp | 2 +- kcoloredit/paletteviewscrolledarea.cpp | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'kcoloredit') diff --git a/kcoloredit/kcoloredit.h b/kcoloredit/kcoloredit.h index e09fd415..675cddb0 100644 --- a/kcoloredit/kcoloredit.h +++ b/kcoloredit/kcoloredit.h @@ -74,7 +74,7 @@ class KColorEditApp : public KMainWindow KColorEditDoc *document() const; protected: - /** save general Options like all bar positions and status as well as the tqgeometry and the recent file list to the configuration + /** save general Options like all bar positions and status as well as the geometry and the recent file list to the configuration * file */ void saveOptions(); diff --git a/kcoloredit/kxycolorselector.cpp b/kcoloredit/kxycolorselector.cpp index 68df676d..e6c0e6ef 100644 --- a/kcoloredit/kxycolorselector.cpp +++ b/kcoloredit/kxycolorselector.cpp @@ -42,7 +42,7 @@ void KXYColorSelector::setType(const int type) { void KXYColorSelector::updateContents() { drawPalette(&pixmap); - tqrepaint(); + repaint(); } void KXYColorSelector::resizeEvent(TQResizeEvent*) { diff --git a/kcoloredit/kzcolorselector.cpp b/kcoloredit/kzcolorselector.cpp index c705cad0..bb4a3c23 100644 --- a/kcoloredit/kzcolorselector.cpp +++ b/kcoloredit/kzcolorselector.cpp @@ -53,7 +53,7 @@ void KZColorSelector::setType(const int type) { void KZColorSelector::updateContents() { drawPalette(&pixmap); - tqrepaint(false); + repaint(false); } void KZColorSelector::resizeEvent(TQResizeEvent*) { diff --git a/kcoloredit/paletteviewscrolledarea.cpp b/kcoloredit/paletteviewscrolledarea.cpp index 63cb3f9b..12c637cd 100644 --- a/kcoloredit/paletteviewscrolledarea.cpp +++ b/kcoloredit/paletteviewscrolledarea.cpp @@ -77,7 +77,7 @@ void PaletteViewScrolledArea::redraw() { } void PaletteViewScrolledArea::repaintPalette() { - tqrepaint(false); + repaint(false); } void PaletteViewScrolledArea::checkSelectionAutoScroll(const int mousePosY) { @@ -220,7 +220,7 @@ void PaletteViewScrolledArea::paintEvent(TQPaintEvent* /*event*/) { setCellsSizes(); TQPixmap pixmap(size()); TQPainter painter; - painter.tqbegin(TQT_TQPAINTDEVICE(&pixmap), this); + painter.begin(TQT_TQPAINTDEVICE(&pixmap), this); TQFontMetrics fontMetrics = painter.fontMetrics(); int maxLineWidth; if(viewColorNames) { -- cgit v1.2.3