summaryrefslogtreecommitdiffstats
path: root/kcoloredit/kcoloreditview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kcoloredit/kcoloreditview.cpp')
-rw-r--r--kcoloredit/kcoloreditview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kcoloredit/kcoloreditview.cpp b/kcoloredit/kcoloreditview.cpp
index b82a92ca..e7251ec7 100644
--- a/kcoloredit/kcoloreditview.cpp
+++ b/kcoloredit/kcoloreditview.cpp
@@ -234,7 +234,7 @@ void KColorEditView::slotAddColor() {
case REPLACE_COLOR:
if(index < palette->length())
- document()->tqreplace(index, color);
+ document()->replace(index, color);
else
document()->insert(index, color);
break;
@@ -274,7 +274,7 @@ void KColorEditView::slotSetColorName(const TQString& name) {
palette->color(cursorPos)->component(Color::BLUE_INDEX),
name);
doNotUpdateColorLabels = true;
- document()->tqreplace(cursorPos, newColor);
+ document()->replace(cursorPos, newColor);
doNotUpdateColorLabels = false;
}
}