From 03d51915bf86a00c5953817c89976b62785bb5a1 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 7 Jul 2011 21:14:06 +0000 Subject: Rename incorrect instances of tqrepaint[...] to repaint[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1240369 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kcoloredit/gradientselection.cpp | 4 ++-- kcoloredit/paletteviewscrolledarea.cpp | 6 +++--- kcoloredit/paletteviewscrolledarea.h | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) (limited to 'kcoloredit') diff --git a/kcoloredit/gradientselection.cpp b/kcoloredit/gradientselection.cpp index 72dd02cd..1399a952 100644 --- a/kcoloredit/gradientselection.cpp +++ b/kcoloredit/gradientselection.cpp @@ -218,7 +218,7 @@ void GradientSelection::slotXyColorSelectorPosChanged(int x, int y) { } void GradientSelection::slotZColorSelectorPosChanged(int y) { - bool tqrepaintZColorSelector = false; + bool repaintZColorSelector = false; switch(zColorSelectorComponentIndex) { case H_COMPONENT: hComponent = y; @@ -237,7 +237,7 @@ void GradientSelection::slotZColorSelectorPosChanged(int y) { rgbColor.setHsv(hComponent, sComponent, vComponent); color.setComponents(rgbColor.red(), rgbColor.green(), rgbColor.blue()); updateXyColorSelector(false); - if(tqrepaintZColorSelector) + if(repaintZColorSelector) updateZColorSelector(); emit valueChanged(&color); } diff --git a/kcoloredit/paletteviewscrolledarea.cpp b/kcoloredit/paletteviewscrolledarea.cpp index e6d26a20..f6aa47cb 100644 --- a/kcoloredit/paletteviewscrolledarea.cpp +++ b/kcoloredit/paletteviewscrolledarea.cpp @@ -73,10 +73,10 @@ void PaletteViewScrolledArea::slotViewColorNames(bool viewColorNames) { void PaletteViewScrolledArea::redraw() { //setCellsSizes(); - tqrepaintPalette(); + repaintPalette(); } -void PaletteViewScrolledArea::tqrepaintPalette() { +void PaletteViewScrolledArea::repaintPalette() { tqrepaint(false); } @@ -106,7 +106,7 @@ void PaletteViewScrolledArea::slotScrollTimeout() { else setSelection(selectionEnd, selectionBegin); checkSelectionAutoScroll(cursorPoint.y()); - tqrepaintPalette(); + repaintPalette(); } } diff --git a/kcoloredit/paletteviewscrolledarea.h b/kcoloredit/paletteviewscrolledarea.h index 8e69a354..9f708b85 100644 --- a/kcoloredit/paletteviewscrolledarea.h +++ b/kcoloredit/paletteviewscrolledarea.h @@ -42,7 +42,7 @@ public: TQScrollBar* hScrollBar, KColorEditView* view, TQWidget* tqparent = 0, const char* name = 0); ~PaletteViewScrolledArea(); - /** Sets cells sizes and then calls tqrepaintPalette() */ + /** Sets cells sizes and then calls repaintPalette() */ void redraw(); public slots: @@ -106,8 +106,8 @@ protected: * visible area width */ void setCellsSizes(); - /** tqrepaints the palette */ - void tqrepaintPalette(); + /** repaints the palette */ + void repaintPalette(); /** @return A color index at a given position, -1 if none */ int colorIndex(const TQPoint& point) const; /** @return A color at a given position */ -- cgit v1.2.1