diff options
author | Michele Calgaro <[email protected]> | 2023-12-29 16:35:31 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-31 22:21:10 +0900 |
commit | 4bff0b57c61dcee5074d6dc0c02d7f61eeb7202d (patch) | |
tree | 08f73c8f83ba7b8bdad08cdec881878a332ab6bf /src/itemdocument.cpp | |
parent | a082a2596013ce2dc791319f70d0371004a406a5 (diff) | |
download | ktechlab-4bff0b57c61dcee5074d6dc0c02d7f61eeb7202d.tar.gz ktechlab-4bff0b57c61dcee5074d6dc0c02d7f61eeb7202d.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 671d0469ada4df2d833d41d065793a06f4d87a65)
Diffstat (limited to 'src/itemdocument.cpp')
-rw-r--r-- | src/itemdocument.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/itemdocument.cpp b/src/itemdocument.cpp index a8dc42b..a1da229 100644 --- a/src/itemdocument.cpp +++ b/src/itemdocument.cpp @@ -74,15 +74,15 @@ ItemDocument::ItemDocument( const TQString &caption, KTechlab *ktechlab, const c m_canvas->setDoubleBuffering(true); m_pEventTimer = new TQTimer(this); - connect( m_pEventTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(processItemDocumentEvents()) ); + connect( m_pEventTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(processItemDocumentEvents()) ); - connect( this, TQT_SIGNAL(itemSelected(Item*)), this, TQT_SLOT(slotInitItemActions(Item*)) ); - connect( this, TQT_SIGNAL(itemUnselected(Item*)), this, TQT_SLOT(slotInitItemActions(Item*)) ); + connect( this, TQ_SIGNAL(itemSelected(Item*)), this, TQ_SLOT(slotInitItemActions(Item*)) ); + connect( this, TQ_SIGNAL(itemUnselected(Item*)), this, TQ_SLOT(slotInitItemActions(Item*)) ); - connect( ComponentSelector::self(), TQT_SIGNAL(itemClicked(const TQString& )), this, TQT_SLOT(slotUnsetRepeatedItemId()) ); - connect( FlowPartSelector::self(), TQT_SIGNAL(itemClicked(const TQString& )), this, TQT_SLOT(slotUnsetRepeatedItemId()) ); + connect( ComponentSelector::self(), TQ_SIGNAL(itemClicked(const TQString& )), this, TQ_SLOT(slotUnsetRepeatedItemId()) ); + connect( FlowPartSelector::self(), TQ_SIGNAL(itemClicked(const TQString& )), this, TQ_SLOT(slotUnsetRepeatedItemId()) ); #ifdef MECHANICS - connect( MechanicsSelector::self(), TQT_SIGNAL(itemClicked(const TQString& )), this, TQT_SLOT(slotUnsetRepeatedItemId()) ); + connect( MechanicsSelector::self(), TQ_SIGNAL(itemClicked(const TQString& )), this, TQ_SLOT(slotUnsetRepeatedItemId()) ); #endif m_pAlignmentAction = new TDEActionMenu( i18n("Alignment"), "format-justify-right", this ); @@ -130,9 +130,9 @@ bool ItemDocument::registerItem( TQCanvasItem *qcanvasItem ) { Item *item = dynamic_cast<Item*>(qcanvasItem); m_itemList.append(item); - connect( item, TQT_SIGNAL(removed(Item*)), this, TQT_SLOT(requestRerouteInvalidatedConnectors()) ); - connect( item, TQT_SIGNAL(selected(Item*,bool)), this, TQT_SIGNAL(itemSelected(Item*)) ); - connect( item, TQT_SIGNAL(unselected(Item*,bool)), this, TQT_SIGNAL(itemUnselected(Item*)) ); + connect( item, TQ_SIGNAL(removed(Item*)), this, TQ_SLOT(requestRerouteInvalidatedConnectors()) ); + connect( item, TQ_SIGNAL(selected(Item*,bool)), this, TQ_SIGNAL(itemSelected(Item*)) ); + connect( item, TQ_SIGNAL(unselected(Item*,bool)), this, TQ_SIGNAL(itemUnselected(Item*)) ); itemAdded(item); return true; } @@ -1219,7 +1219,7 @@ Canvas::Canvas( ItemDocument *itemDocument, const char * name ) { p_itemDocument = itemDocument; m_pMessageTimeout = new TQTimer(this); - connect( m_pMessageTimeout, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotSetAllChanged()) ); + connect( m_pMessageTimeout, TQ_SIGNAL(timeout()), this, TQ_SLOT(slotSetAllChanged()) ); } |