diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-07 21:14:06 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-07 21:14:06 +0000 |
commit | 03d51915bf86a00c5953817c89976b62785bb5a1 (patch) | |
tree | 9d7535688297156379ab6c2639875b08b491babe /kcoloredit | |
parent | b86459d60bcb618fe6a61afb292b087c64878f1a (diff) | |
download | tdegraphics-03d51915bf86a00c5953817c89976b62785bb5a1.tar.gz tdegraphics-03d51915bf86a00c5953817c89976b62785bb5a1.zip |
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
Diffstat (limited to 'kcoloredit')
-rw-r--r-- | kcoloredit/gradientselection.cpp | 4 | ||||
-rw-r--r-- | kcoloredit/paletteviewscrolledarea.cpp | 6 | ||||
-rw-r--r-- | kcoloredit/paletteviewscrolledarea.h | 6 |
3 files changed, 8 insertions, 8 deletions
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 */ |