summaryrefslogtreecommitdiffstats
path: root/kcoloredit
diff options
context:
space:
mode:
Diffstat (limited to 'kcoloredit')
-rw-r--r--kcoloredit/gradientselection.cpp4
-rw-r--r--kcoloredit/paletteviewscrolledarea.cpp6
-rw-r--r--kcoloredit/paletteviewscrolledarea.h6
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 */