summaryrefslogtreecommitdiffstats
path: root/src/viewcontainer.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-12-29 16:35:31 +0900
committerMichele Calgaro <[email protected]>2023-12-29 16:35:31 +0900
commit671d0469ada4df2d833d41d065793a06f4d87a65 (patch)
tree08f73c8f83ba7b8bdad08cdec881878a332ab6bf /src/viewcontainer.cpp
parent15796910975130bce11a662cbe259913d791942f (diff)
downloadktechlab-671d0469ada4df2d833d41d065793a06f4d87a65.tar.gz
ktechlab-671d0469ada4df2d833d41d065793a06f4d87a65.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/viewcontainer.cpp')
-rw-r--r--src/viewcontainer.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/viewcontainer.cpp b/src/viewcontainer.cpp
index 2a7492f..a87a233 100644
--- a/src/viewcontainer.cpp
+++ b/src/viewcontainer.cpp
@@ -27,11 +27,11 @@ ViewContainer::ViewContainer( const TQString & caption, KTechlab * ktechlab, TQW
b_deleted = false;
p_ktechlab = ktechlab;
if (ktechlab)
- connect( ktechlab, TQT_SIGNAL(needUpdateCaptions()), this, TQT_SLOT(updateCaption()) );
+ connect( ktechlab, TQ_SIGNAL(needUpdateCaptions()), this, TQ_SLOT(updateCaption()) );
TQHBoxLayout *layout = new TQHBoxLayout(this);
m_baseViewArea = new ViewArea( this, this, 0, "viewarea_0" );
- connect( m_baseViewArea, TQT_SIGNAL(destroyed(TQObject* )), this, TQT_SLOT(baseViewAreaDestroyed(TQObject* )) );
+ connect( m_baseViewArea, TQ_SIGNAL(destroyed(TQObject* )), this, TQ_SLOT(baseViewAreaDestroyed(TQObject* )) );
layout->addWidget(m_baseViewArea);
@@ -415,8 +415,8 @@ ViewArea *ViewArea::createViewArea( Position position, uint id )
p_viewArea1 = new ViewArea(this, p_viewContainer, m_id, TQString("viewarea_%1").arg(TQString::number(m_id)).latin1());
p_viewArea2 = new ViewArea(this, p_viewContainer, id, TQString("viewarea_%1").arg(TQString::number(id)).latin1());
- connect( p_viewArea1, TQT_SIGNAL(destroyed(TQObject* )), this, TQT_SLOT(viewAreaDestroyed(TQObject* )) );
- connect( p_viewArea2, TQT_SIGNAL(destroyed(TQObject* )), this, TQT_SLOT(viewAreaDestroyed(TQObject* )) );
+ connect( p_viewArea1, TQ_SIGNAL(destroyed(TQObject* )), this, TQ_SLOT(viewAreaDestroyed(TQObject* )) );
+ connect( p_viewArea2, TQ_SIGNAL(destroyed(TQObject* )), this, TQ_SLOT(viewAreaDestroyed(TQObject* )) );
p_view->reparent( p_viewArea1, TQPoint(), true );
p_viewArea1->setView(p_view);
@@ -459,7 +459,7 @@ void ViewArea::setView( View *view )
return;
}
p_view = view;
- connect( view, TQT_SIGNAL(destroyed()), this, TQT_SLOT(viewDestroyed()) );
+ connect( view, TQ_SIGNAL(destroyed()), this, TQ_SLOT(viewDestroyed()) );
}
@@ -560,7 +560,7 @@ void ViewArea::restoreState( TDEConfig *config, int id, const TQString &groupNam
{
int viewArea1Id = contains[0];
p_viewArea1 = new ViewArea(this, p_viewContainer, viewArea1Id, TQString("viewarea_%1").arg(TQString::number(viewArea1Id)).latin1());
- connect( p_viewArea1, TQT_SIGNAL(destroyed(TQObject* )), this, TQT_SLOT(viewAreaDestroyed(TQObject* )) );
+ connect( p_viewArea1, TQ_SIGNAL(destroyed(TQObject* )), this, TQ_SLOT(viewAreaDestroyed(TQObject* )) );
p_viewArea1->restoreState( config, viewArea1Id, groupName );
p_viewArea1->show();
}
@@ -569,7 +569,7 @@ void ViewArea::restoreState( TDEConfig *config, int id, const TQString &groupNam
{
int viewArea2Id = contains[1];
p_viewArea2 = new ViewArea(this, p_viewContainer, viewArea2Id, TQString("viewarea_%1").arg(TQString::number(viewArea2Id)).latin1());
- connect( p_viewArea2, TQT_SIGNAL(destroyed(TQObject* )), this, TQT_SLOT(viewAreaDestroyed(TQObject* )) );
+ connect( p_viewArea2, TQ_SIGNAL(destroyed(TQObject* )), this, TQ_SLOT(viewAreaDestroyed(TQObject* )) );
p_viewArea2->restoreState( config, viewArea2Id, groupName );
p_viewArea2->show();
}