diff options
Diffstat (limited to 'kcoloredit/paletteviewscrolledarea.cpp')
-rw-r--r-- | kcoloredit/paletteviewscrolledarea.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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) { |