From e6cf8874a75a09b279e13f59e78b31804b1d6f83 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 14 Feb 2012 21:10:09 -0600 Subject: Update various qt function definitions and static methods for tqt3 --- chalk/plugins/viewplugins/imagesize/dlg_imagesize.cc | 2 +- chalk/plugins/viewplugins/imagesize/dlg_layersize.cc | 2 +- chalk/plugins/viewplugins/imagesize/imagesize.cc | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'chalk/plugins/viewplugins/imagesize') diff --git a/chalk/plugins/viewplugins/imagesize/dlg_imagesize.cc b/chalk/plugins/viewplugins/imagesize/dlg_imagesize.cc index 6ee07f30..0d9b3218 100644 --- a/chalk/plugins/viewplugins/imagesize/dlg_imagesize.cc +++ b/chalk/plugins/viewplugins/imagesize/dlg_imagesize.cc @@ -52,7 +52,7 @@ DlgImageSize::DlgImageSize( TQWidget * parent, m_lock = false; m_page = new WdgImageSize(this, "image_size"); - Q_CHECK_PTR(m_page); + TQ_CHECK_PTR(m_page); m_page->cmbFilterType->setIDList(KisFilterStrategyRegistry::instance()->listKeys()); m_page->cmbFilterType->setCurrentText("Mitchell"); diff --git a/chalk/plugins/viewplugins/imagesize/dlg_layersize.cc b/chalk/plugins/viewplugins/imagesize/dlg_layersize.cc index d084060b..620ee85d 100644 --- a/chalk/plugins/viewplugins/imagesize/dlg_layersize.cc +++ b/chalk/plugins/viewplugins/imagesize/dlg_layersize.cc @@ -53,7 +53,7 @@ DlgLayerSize::DlgLayerSize( TQWidget * parent, m_lock = false; m_page = new WdgLayerSize(this, "layer_size"); - Q_CHECK_PTR(m_page); + TQ_CHECK_PTR(m_page); m_page->cmbFilterType->setIDList(KisFilterStrategyRegistry::instance()->listKeys()); m_page->cmbFilterType->setCurrentText("Mitchell"); diff --git a/chalk/plugins/viewplugins/imagesize/imagesize.cc b/chalk/plugins/viewplugins/imagesize/imagesize.cc index 76ac2328..9943b7d8 100644 --- a/chalk/plugins/viewplugins/imagesize/imagesize.cc +++ b/chalk/plugins/viewplugins/imagesize/imagesize.cc @@ -73,7 +73,7 @@ ImageSize::ImageSize(TQObject *parent, const char *name, const TQStringList &) m_view = (KisView*) parent; // Selection manager takes ownership? KAction * a = new KAction(i18n("&Scale Selection..."), 0, 0, this, TQT_SLOT(slotSelectionScale()), actionCollection(), "selectionscale"); - Q_CHECK_PTR(a); + TQ_CHECK_PTR(a); m_view ->canvasSubject()-> selectionManager()->addSelectionAction(a); } } @@ -90,7 +90,7 @@ void ImageSize::slotImageSize() if (!image) return; DlgImageSize * dlgImageSize = new DlgImageSize(m_view, "ImageSize"); - Q_CHECK_PTR(dlgImageSize); + TQ_CHECK_PTR(dlgImageSize); dlgImageSize->setCaption(i18n("Image Size")); @@ -123,7 +123,7 @@ void ImageSize::slotLayerSize() if (!image) return; DlgLayerSize * dlgLayerSize = new DlgLayerSize(m_view, "LayerSize"); - Q_CHECK_PTR(dlgLayerSize); + TQ_CHECK_PTR(dlgLayerSize); dlgLayerSize->setCaption(i18n("Layer Size")); @@ -160,7 +160,7 @@ void ImageSize::slotSelectionScale() DlgLayerSize * dlgLayerSize = new DlgLayerSize(m_view, "SelectionScale"); - Q_CHECK_PTR(dlgLayerSize); + TQ_CHECK_PTR(dlgLayerSize); dlgLayerSize->setCaption(i18n("Scale Selection")); -- cgit v1.2.1