summaryrefslogtreecommitdiffstats
path: root/chalk/ui/kis_selection_manager.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chalk/ui/kis_selection_manager.cc')
-rw-r--r--chalk/ui/kis_selection_manager.cc20
1 files changed, 10 insertions, 10 deletions
diff --git a/chalk/ui/kis_selection_manager.cc b/chalk/ui/kis_selection_manager.cc
index 3caba5e74..0655b8342 100644
--- a/chalk/ui/kis_selection_manager.cc
+++ b/chalk/ui/kis_selection_manager.cc
@@ -60,8 +60,8 @@
#include "kis_fill_painter.h"
#include "kis_canvas.h"
-KisSelectionManager::KisSelectionManager(KisView * tqparent, KisDoc * doc)
- : m_parent(tqparent),
+KisSelectionManager::KisSelectionManager(KisView * parent, KisDoc * doc)
+ : m_parent(parent),
m_doc(doc),
m_copy(0),
m_cut(0),
@@ -258,7 +258,7 @@ void KisSelectionManager::updateGUI()
Q_ASSERT(m_clipboard);
if (m_parent == 0) {
- // "Eek, no tqparent!
+ // "Eek, no parent!
return;
}
@@ -393,7 +393,7 @@ void KisSelectionManager::copy()
gc.bitBlt(0, 0, COMPOSITE_COPY, dev, r.x(), r.y(), r.width(), r.height());
gc.end();
- // Apply selection tqmask.
+ // Apply selection mask.
for (TQ_INT32 y = 0; y < r.height(); y++) {
KisHLineIteratorPixel layerIt = clip->createHLineIterator(0, y, r.width(), true);
@@ -451,7 +451,7 @@ KisLayerSP KisSelectionManager::paste()
layer->convertTo(img->colorSpace());
*/
TQApplication::restoreOverrideCursor();
- if(img->addLayer(layer, img->activeLayer()->tqparent(), img->activeLayer()))
+ if(img->addLayer(layer, img->activeLayer()->parent(), img->activeLayer()))
{
return layer;
} else {
@@ -833,7 +833,7 @@ void KisSelectionManager::grow (TQ_INT32 xradius, TQ_INT32 yradius)
TQ_UINT8* out = new TQ_UINT8[ layerSize.width() ]; // holds the new scan line we are computing
- TQ_INT32* circ = new TQ_INT32[ 2 * xradius + 1 ]; // holds the y coords of the filter's tqmask
+ TQ_INT32* circ = new TQ_INT32[ 2 * xradius + 1 ]; // holds the y coords of the filter's mask
computeBorder (circ, xradius, yradius);
/* offset the circ pointer by xradius so the range of the array
@@ -994,7 +994,7 @@ void KisSelectionManager::shrink (TQ_INT32 xradius, TQ_INT32 yradius, bool edge_
TQ_UINT8* out = new TQ_UINT8[layerSize.width()]; // holds the new scan line we are computing
- TQ_INT32* circ = new TQ_INT32[2 * xradius + 1]; // holds the y coords of the filter's tqmask
+ TQ_INT32* circ = new TQ_INT32[2 * xradius + 1]; // holds the y coords of the filter's mask
computeBorder (circ, xradius, yradius);
@@ -1090,7 +1090,7 @@ void KisSelectionManager::shrink (TQ_INT32 xradius, TQ_INT32 yradius, bool edge_
dev->emitSelectionChanged();
}
-//Simple convolution filter to smooth a tqmask (1bpp)
+//Simple convolution filter to smooth a mask (1bpp)
void KisSelectionManager::smooth()
{
@@ -1159,7 +1159,7 @@ void KisSelectionManager::smooth()
dev->emitSelectionChanged();
}
-// Erode (radius 1 pixel) a tqmask (1bpp)
+// Erode (radius 1 pixel) a mask (1bpp)
void KisSelectionManager::erode()
{
@@ -1234,7 +1234,7 @@ void KisSelectionManager::erode()
dev->emitSelectionChanged();
}
-// dilate (radius 1 pixel) a tqmask (1bpp)
+// dilate (radius 1 pixel) a mask (1bpp)
void KisSelectionManager::dilate()
{