diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-29 16:35:31 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-31 22:21:10 +0900 |
commit | 4bff0b57c61dcee5074d6dc0c02d7f61eeb7202d (patch) | |
tree | 08f73c8f83ba7b8bdad08cdec881878a332ab6bf /src/docmanager.cpp | |
parent | a082a2596013ce2dc791319f70d0371004a406a5 (diff) | |
download | ktechlab-4bff0b57.tar.gz ktechlab-4bff0b57.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 671d0469ada4df2d833d41d065793a06f4d87a65)
Diffstat (limited to 'src/docmanager.cpp')
-rw-r--r-- | src/docmanager.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/docmanager.cpp b/src/docmanager.cpp index 71a5bea..f6f101d 100644 --- a/src/docmanager.cpp +++ b/src/docmanager.cpp @@ -260,12 +260,12 @@ void DocManager::handleNewDocument( Document *document, ViewArea *viewArea ) m_documentList.append(document); document->setDCOPID(m_nextDocumentID++); - connect( document, TQT_SIGNAL(modifiedStateChanged()), p_ktechlab, TQT_SLOT(slotDocModifiedChanged()) ); - connect( document, TQT_SIGNAL(fileNameChanged(const KURL&)), p_ktechlab, TQT_SLOT(slotDocModifiedChanged()) ); - connect( document, TQT_SIGNAL(fileNameChanged(const KURL&)), p_ktechlab, TQT_SLOT(addRecentFile(const KURL&)) ); - connect( document, TQT_SIGNAL(destroyed(TQObject* )), this, TQT_SLOT(documentDestroyed(TQObject* )) ); - connect( document, TQT_SIGNAL(viewFocused(View* )), this, TQT_SLOT(slotViewFocused(View* )) ); - connect( document, TQT_SIGNAL(viewUnfocused()), this, TQT_SLOT(slotViewUnfocused()) ); + connect( document, TQ_SIGNAL(modifiedStateChanged()), p_ktechlab, TQ_SLOT(slotDocModifiedChanged()) ); + connect( document, TQ_SIGNAL(fileNameChanged(const KURL&)), p_ktechlab, TQ_SLOT(slotDocModifiedChanged()) ); + connect( document, TQ_SIGNAL(fileNameChanged(const KURL&)), p_ktechlab, TQ_SLOT(addRecentFile(const KURL&)) ); + connect( document, TQ_SIGNAL(destroyed(TQObject* )), this, TQ_SLOT(documentDestroyed(TQObject* )) ); + connect( document, TQ_SIGNAL(viewFocused(View* )), this, TQ_SLOT(slotViewFocused(View* )) ); + connect( document, TQ_SIGNAL(viewUnfocused()), this, TQ_SLOT(slotViewUnfocused()) ); createNewView( document, viewArea ); } @@ -332,7 +332,7 @@ void DocManager::slotViewFocused( View *view ) Document *document = view->document(); - connect( document, TQT_SIGNAL(undoRedoStateChanged()), p_ktechlab, TQT_SLOT(slotDocUndoRedoChanged()) ); + connect( document, TQ_SIGNAL(undoRedoStateChanged()), p_ktechlab, TQ_SLOT(slotDocUndoRedoChanged()) ); p_connectedDocument = document; if ( document->type() == Document::dt_circuit || @@ -359,7 +359,7 @@ void DocManager::slotViewUnfocused() if (p_connectedDocument) { - disconnect( p_connectedDocument, TQT_SIGNAL(undoRedoStateChanged()), p_ktechlab, TQT_SLOT(slotDocUndoRedoChanged()) ); + disconnect( p_connectedDocument, TQ_SIGNAL(undoRedoStateChanged()), p_ktechlab, TQ_SLOT(slotDocUndoRedoChanged()) ); p_connectedDocument = 0l; } |