diff options
Diffstat (limited to 'chalk/ui/kis_doc.cc')
-rw-r--r-- | chalk/ui/kis_doc.cc | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/chalk/ui/kis_doc.cc b/chalk/ui/kis_doc.cc index 1fc1c9c9..6bae7e78 100644 --- a/chalk/ui/kis_doc.cc +++ b/chalk/ui/kis_doc.cc @@ -137,8 +137,8 @@ namespace { } -KisDoc::KisDoc(TQWidget *parentWidget, const char *widgetName, TQObject *tqparent, const char *name, bool singleViewMode) : - super(parentWidget, widgetName, tqparent, name, singleViewMode) +KisDoc::KisDoc(TQWidget *parentWidget, const char *widgetName, TQObject *parent, const char *name, bool singleViewMode) : + super(parentWidget, widgetName, parent, name, singleViewMode) { m_undo = false; @@ -460,7 +460,7 @@ KisImageSP KisDoc::loadImage(const TQDomElement& element) return img; } -void KisDoc::loadLayers(const TQDomElement& element, KisImageSP img, KisGroupLayerSP tqparent) +void KisDoc::loadLayers(const TQDomElement& element, KisImageSP img, KisGroupLayerSP parent) { TQDomNode node = element.firstChild(); TQDomNode child; @@ -477,7 +477,7 @@ void KisDoc::loadLayers(const TQDomElement& element, KisImageSP img, KisGroupLay } else { img->nextLayerName(); // Make sure the nameserver is current with the number of layers. - img->addLayer(layer, tqparent, 0); + img->addLayer(layer, parent, 0); } } } @@ -593,11 +593,11 @@ KisLayerSP KisDoc::loadPaintLayer(const TQDomElement& element, KisImageSP img, else m_layerFilenames[layer.data()] = TQString(element.attribute("filename")); - if ((attr = element.attribute("hastqmask")).isNull()) + if ((attr = element.attribute("hasmask")).isNull()) attr = "0"; if (attr == "1") { - // We add a tqmask, but we'll fill in the actual tqmask later in completeLoading with the visitor + // We add a mask, but we'll fill in the actual mask later in completeLoading with the visitor layer->createMask(); } @@ -805,7 +805,7 @@ bool KisDoc::completeLoading(KoStore *store) return true; } -TQWidget* KisDoc::createCustomDocumentWidget(TQWidget *tqparent) +TQWidget* KisDoc::createCustomDocumentWidget(TQWidget *parent) { KisConfig cfg; @@ -818,7 +818,7 @@ TQWidget* KisDoc::createCustomDocumentWidget(TQWidget *tqparent) w = sz.width(); h = sz.height(); } - return new KisCustomImageWidget(tqparent, this, w, h, cfg.defImgResolution(), cfg.workingColorSpace(),"unnamed"); + return new KisCustomImageWidget(parent, this, w, h, cfg.defImgResolution(), cfg.workingColorSpace(),"unnamed"); } @@ -931,9 +931,9 @@ bool KisDoc::newImage(const TQString& name, TQ_INT32 width, TQ_INT32 height, Kis return true; } -KoView* KisDoc::createViewInstance(TQWidget* tqparent, const char *name) +KoView* KisDoc::createViewInstance(TQWidget* parent, const char *name) { - KisView * v = new KisView(this, this, tqparent, name); + KisView * v = new KisView(this, this, parent, name); Q_CHECK_PTR(v); return v; |