summaryrefslogtreecommitdiffstats
path: root/chalk/ui/kis_view.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chalk/ui/kis_view.cc')
-rw-r--r--chalk/ui/kis_view.cc20
1 files changed, 10 insertions, 10 deletions
diff --git a/chalk/ui/kis_view.cc b/chalk/ui/kis_view.cc
index decc9eca..26a657c3 100644
--- a/chalk/ui/kis_view.cc
+++ b/chalk/ui/kis_view.cc
@@ -416,7 +416,7 @@ KoPaletteManager * KisView::paletteManager()
{
if (!m_paletteManager) {
m_paletteManager = new KoPaletteManager(this, actionCollection(), "Chalk palette manager");
- Q_CHECK_PTR(m_paletteManager);
+ TQ_CHECK_PTR(m_paletteManager);
}
return m_paletteManager;
}
@@ -449,7 +449,7 @@ DCOPObject* KisView::dcopObject()
{
if (!m_dcop) {
m_dcop = new KisViewIface(this);
- Q_CHECK_PTR(m_dcop);
+ TQ_CHECK_PTR(m_dcop);
}
return m_dcop;
}
@@ -459,10 +459,10 @@ void KisView::setupScrollBars()
m_scrollX = 0;
m_scrollY = 0;
m_vScroll = new TQScrollBar(Qt::Vertical, this);
- Q_CHECK_PTR(m_vScroll);
+ TQ_CHECK_PTR(m_vScroll);
m_hScroll = new TQScrollBar(Qt::Horizontal, this);
- Q_CHECK_PTR(m_hScroll);
+ TQ_CHECK_PTR(m_hScroll);
m_vScroll->setGeometry(width() - 16, 20, 16, height() - 36);
m_hScroll->setGeometry(20, height() - 16, width() - 36, 16);
@@ -475,10 +475,10 @@ void KisView::setupScrollBars()
void KisView::setupRulers()
{
m_hRuler = new KisRuler(Qt::Horizontal, this);
- Q_CHECK_PTR(m_hRuler);
+ TQ_CHECK_PTR(m_hRuler);
m_vRuler = new KisRuler(Qt::Vertical, this);
- Q_CHECK_PTR(m_vRuler);
+ TQ_CHECK_PTR(m_vRuler);
m_hRuler->setGeometry(20, 0, width() - 20, 20);
m_vRuler->setGeometry(0, 20, 20, height() - 20);
@@ -1792,7 +1792,7 @@ void KisView::mirrorLayerX()
KisTransaction * t = 0;
if (undoAdapter() && undoAdapter()->undo()) {
t = new KisTransaction(i18n("Mirror Layer X"), dev);
- Q_CHECK_PTR(t);
+ TQ_CHECK_PTR(t);
}
dev->mirrorX();
@@ -1813,7 +1813,7 @@ void KisView::mirrorLayerY()
KisTransaction * t = 0;
if (undoAdapter() && undoAdapter()->undo()) {
t = new KisTransaction(i18n("Mirror Layer Y"), dev);
- Q_CHECK_PTR(t);
+ TQ_CHECK_PTR(t);
}
dev->mirrorY();
@@ -1835,7 +1835,7 @@ void KisView::scaleLayer(double sx, double sy, KisFilterStrategy *filterStrategy
KisSelectedTransaction * t = 0;
if (undoAdapter() && undoAdapter()->undo()) {
t = new KisSelectedTransaction(i18n("Scale Layer"), dev);
- Q_CHECK_PTR(t);
+ TQ_CHECK_PTR(t);
}
KisTransformWorker worker(dev, sx, sy, 0, 0, 0.0, 0, 0, m_progress, filterStrategy);
@@ -1858,7 +1858,7 @@ void KisView::rotateLayer(double radians)
KisSelectedTransaction * t = 0;
if (undoAdapter() && undoAdapter()->undo()) {
t = new KisSelectedTransaction(i18n("Rotate Layer"), dev);
- Q_CHECK_PTR(t);
+ TQ_CHECK_PTR(t);
}
KisFilterStrategy *filter = KisFilterStrategyRegistry::instance()->get(KisID("Triangle"));