From c0332621bc998c9786f4841e86a62b7711fe4abf Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 4 Jan 2024 10:30:32 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro --- lib/kformula/kformulaview.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'lib/kformula/kformulaview.cpp') diff --git a/lib/kformula/kformulaview.cpp b/lib/kformula/kformulaview.cpp index 1e50694d..92022e54 100644 --- a/lib/kformula/kformulaview.cpp +++ b/lib/kformula/kformulaview.cpp @@ -41,17 +41,17 @@ struct View::View_Impl { : smallCursor(false), activeCursor(true), cursorHasChanged(true), document(doc) { - connect(document, TQT_SIGNAL(elementWillVanish(BasicElement*)), - view, TQT_SLOT(slotElementWillVanish(BasicElement*))); - connect(document, TQT_SIGNAL(formulaLoaded(FormulaElement*)), - view, TQT_SLOT(slotFormulaLoaded(FormulaElement*))); - connect(document, TQT_SIGNAL(cursorMoved(FormulaCursor*)), - view, TQT_SLOT(slotCursorMoved(FormulaCursor*))); + connect(document, TQ_SIGNAL(elementWillVanish(BasicElement*)), + view, TQ_SLOT(slotElementWillVanish(BasicElement*))); + connect(document, TQ_SIGNAL(formulaLoaded(FormulaElement*)), + view, TQ_SLOT(slotFormulaLoaded(FormulaElement*))); + connect(document, TQ_SIGNAL(cursorMoved(FormulaCursor*)), + view, TQ_SLOT(slotCursorMoved(FormulaCursor*))); cursor = document->createCursor(); blinkTimer = new TQTimer( view ); - connect( blinkTimer, TQT_SIGNAL( timeout() ), - view, TQT_SLOT( slotBlinkCursor() ) ); + connect( blinkTimer, TQ_SIGNAL( timeout() ), + view, TQ_SLOT( slotBlinkCursor() ) ); if ( TQApplication::cursorFlashTime() > 0 ) blinkTimer->start( TQApplication::cursorFlashTime() / 2 ); } -- cgit v1.2.1