diff options
author | Timothy Pearson <[email protected]> | 2012-02-14 21:10:09 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-02-14 21:10:09 -0600 |
commit | e6cf8874a75a09b279e13f59e78b31804b1d6f83 (patch) | |
tree | 73cf4e5dee6ce00c4fa7d32243c322631c50712c /chalk/ui/kis_selection_manager.cc | |
parent | 35dc3d657c5d486b5233ce8e6ec74bf9656aaedf (diff) | |
download | koffice-e6cf8874a75a09b279e13f59e78b31804b1d6f83.tar.gz koffice-e6cf8874a75a09b279e13f59e78b31804b1d6f83.zip |
Update various qt function definitions and static methods for tqt3
Diffstat (limited to 'chalk/ui/kis_selection_manager.cc')
-rw-r--r-- | chalk/ui/kis_selection_manager.cc | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/chalk/ui/kis_selection_manager.cc b/chalk/ui/kis_selection_manager.cc index 5d7a31d1..23abb2b9 100644 --- a/chalk/ui/kis_selection_manager.cc +++ b/chalk/ui/kis_selection_manager.cc @@ -354,7 +354,7 @@ void KisSelectionManager::cut() if (img->undo()) { t = new KisSelectedTransaction(i18n("Cut"), dev); - Q_CHECK_PTR(t); + TQ_CHECK_PTR(t); } dev->clearSelection(); @@ -381,7 +381,7 @@ void KisSelectionManager::copy() TQRect r = selection->selectedExactRect(); KisPaintDeviceSP clip = new KisPaintDevice(dev->colorSpace(), "clip"); - Q_CHECK_PTR(clip); + TQ_CHECK_PTR(clip); KisColorSpace * cs = clip->colorSpace(); @@ -424,7 +424,7 @@ KisLayerSP KisSelectionManager::paste() if (clip) { TQApplication::setOverrideCursor(KisCursor::waitCursor()); KisPaintLayer *layer = new KisPaintLayer(img, img->nextLayerName() + i18n("(pasted)"), OPACITY_OPAQUE); - Q_CHECK_PTR(layer); + TQ_CHECK_PTR(layer); TQRect r = clip->exactBounds(); KisPainter gc; @@ -506,7 +506,7 @@ void KisSelectionManager::selectAll() KisSelectedTransaction * t = 0; if (img->undo()) t = new KisSelectedTransaction(i18n("Select All"), dev); - Q_CHECK_PTR(t); + TQ_CHECK_PTR(t); // Make adjustment layers behave better KisAdjustmentLayer* adj = dynamic_cast<KisAdjustmentLayer*>(img->activeLayer().data()); @@ -533,7 +533,7 @@ void KisSelectionManager::deselect() if (!dev) return; KisSelectedTransaction * t = 0; if (img->undo()) t = new KisSelectedTransaction(i18n("Deselect"), dev); - Q_CHECK_PTR(t); + TQ_CHECK_PTR(t); // Make adjustment layers behave almost the same (except no reselect) KisAdjustmentLayer* adj = dynamic_cast<KisAdjustmentLayer*>(img->activeLayer().data()); @@ -636,7 +636,7 @@ void KisSelectionManager::reselect() KisSelectedTransaction * t = 0; if (img->undo()) t = new KisSelectedTransaction(i18n("Reselect"), dev); - Q_CHECK_PTR(t); + TQ_CHECK_PTR(t); dev->reselect(); // sets hasSelection=true dev->setDirty(); @@ -662,7 +662,7 @@ void KisSelectionManager::invert() if (img->undo()) { t = new KisSelectedTransaction(i18n("Invert"), dev); - Q_CHECK_PTR(t); + TQ_CHECK_PTR(t); } s->invert(); @@ -716,7 +716,7 @@ void KisSelectionManager::feather() KisSelectionSP selection = dev->selection(); KisSelectedTransaction * t = 0; if (img->undo()) t = new KisSelectedTransaction(i18n("Feather..."), dev); - Q_CHECK_PTR(t); + TQ_CHECK_PTR(t); // XXX: we should let gaussian blur & others influence alpha channels as well @@ -805,7 +805,7 @@ void KisSelectionManager::grow (TQ_INT32 xradius, TQ_INT32 yradius) if (img->undo()) { t = new KisSelectedTransaction(i18n("Grow"), dev); - Q_CHECK_PTR(t); + TQ_CHECK_PTR(t); } max = new TQ_UINT8* [layerSize.width() + 2 * xradius]; |