summaryrefslogtreecommitdiffstats
path: root/krita/core/kis_transaction.cc
diff options
context:
space:
mode:
Diffstat (limited to 'krita/core/kis_transaction.cc')
-rw-r--r--krita/core/kis_transaction.cc18
1 files changed, 9 insertions, 9 deletions
diff --git a/krita/core/kis_transaction.cc b/krita/core/kis_transaction.cc
index 10df1a8e..b755c597 100644
--- a/krita/core/kis_transaction.cc
+++ b/krita/core/kis_transaction.cc
@@ -27,13 +27,13 @@
class KisTransactionPrivate {
public:
- QString m_name;
+ TQString m_name;
KisPaintDeviceSP m_device;
KisMementoSP m_memento;
};
-KisTransaction::KisTransaction(const QString& name, KisPaintDeviceSP device)
+KisTransaction::KisTransaction(const TQString& name, KisPaintDeviceSP device)
{
m_private = new KisTransactionPrivate;
@@ -57,12 +57,12 @@ void KisTransaction::execute()
m_private->m_device->rollforward(m_private->m_memento);
- QRect rc;
- Q_INT32 x, y, width, height;
+ TQRect rc;
+ TQ_INT32 x, y, width, height;
m_private->m_memento->extent(x,y,width,height);
rc.setRect(x + m_private->m_device->getX(), y + m_private->m_device->getY(), width, height);
- KisLayerSP l = m_private->m_device->parentLayer();
+ KisLayerSP l = m_private->m_device->tqparentLayer();
if (l) l->setDirty(rc);
}
@@ -71,12 +71,12 @@ void KisTransaction::unexecute()
Q_ASSERT(m_private->m_memento != 0);
m_private->m_device->rollback(m_private->m_memento);
- QRect rc;
- Q_INT32 x, y, width, height;
+ TQRect rc;
+ TQ_INT32 x, y, width, height;
m_private->m_memento->extent(x,y,width,height);
rc.setRect(x + m_private->m_device->getX(), y + m_private->m_device->getY(), width, height);
- KisLayerSP l = m_private->m_device->parentLayer();
+ KisLayerSP l = m_private->m_device->tqparentLayer();
if (l) l->setDirty(rc);
}
@@ -88,7 +88,7 @@ void KisTransaction::unexecuteNoUpdate()
m_private->m_device->rollback(m_private->m_memento);
}
-QString KisTransaction::name() const
+TQString KisTransaction::name() const
{
return m_private->m_name;
}