diff options
Diffstat (limited to 'chalk/ui/kis_part_layer.cpp')
-rw-r--r-- | chalk/ui/kis_part_layer.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/chalk/ui/kis_part_layer.cpp b/chalk/ui/kis_part_layer.cpp index 4c05360e..167d5b3e 100644 --- a/chalk/ui/kis_part_layer.cpp +++ b/chalk/ui/kis_part_layer.cpp @@ -86,8 +86,8 @@ void KisPartLayerImpl::childActivated(KoDocumentChild* child) TQPtrList<KoView> views = child->parentDocument()->views(); Q_ASSERT(views.count()); // XXX iterate over views - connect(views.at(0), TQT_SIGNAL(activated(bool)), - this, TQT_SLOT(childDeactivated(bool))); + connect(views.at(0), TQ_SIGNAL(activated(bool)), + this, TQ_SLOT(childDeactivated(bool))); } } @@ -99,7 +99,7 @@ void KisPartLayerImpl::childDeactivated(bool activated) if (m_activated && !activated /* no clue, but debugging suggests it is false here */) { TQPtrList<KoView> views = m_doc->parentDocument()->views(); Q_ASSERT(views.count()); - views.at(0)->disconnect(TQT_SIGNAL(activated(bool))); + views.at(0)->disconnect(TQ_SIGNAL(activated(bool))); m_activated = false; setDirty(m_doc->geometry()); } @@ -240,10 +240,10 @@ bool KisConnectPartLayerVisitor::visit(KisGroupLayer *layer) { bool KisConnectPartLayerVisitor::visit(KisPartLayer *layer) { if (m_connect) { - TQObject::connect(m_view, TQT_SIGNAL(childActivated(KoDocumentChild*)), - layer, TQT_SLOT(childActivated(KoDocumentChild*))); + TQObject::connect(m_view, TQ_SIGNAL(childActivated(KoDocumentChild*)), + layer, TQ_SLOT(childActivated(KoDocumentChild*))); } else { - TQObject::disconnect(m_view, TQT_SIGNAL(childActivated(KoDocumentChild*)), layer, 0 ); + TQObject::disconnect(m_view, TQ_SIGNAL(childActivated(KoDocumentChild*)), layer, 0 ); } return true; |