summaryrefslogtreecommitdiffstats
path: root/chalk/ui/kis_part_layer.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-04 10:30:32 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-04 12:36:03 +0900
commitc0332621bc998c9786f4841e86a62b7711fe4abf (patch)
tree38b3ab6688de7a9396a1c5993a8ec265f5f33b64 /chalk/ui/kis_part_layer.cpp
parent6c81ff8d61ec679e735d3fbd875583b12f0ef0a5 (diff)
downloadkoffice-c0332621bc998c9786f4841e86a62b7711fe4abf.tar.gz
koffice-c0332621bc998c9786f4841e86a62b7711fe4abf.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'chalk/ui/kis_part_layer.cpp')
-rw-r--r--chalk/ui/kis_part_layer.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/chalk/ui/kis_part_layer.cpp b/chalk/ui/kis_part_layer.cpp
index 4c05360eb..167d5b3eb 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;