diff options
author | Michele Calgaro <[email protected]> | 2024-01-04 10:30:32 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-04 12:36:03 +0900 |
commit | c0332621bc998c9786f4841e86a62b7711fe4abf (patch) | |
tree | 38b3ab6688de7a9396a1c5993a8ec265f5f33b64 /kword/KWFormulaFrameSet.cpp | |
parent | 6c81ff8d61ec679e735d3fbd875583b12f0ef0a5 (diff) | |
download | koffice-c0332621bc998c9786f4841e86a62b7711fe4abf.tar.gz koffice-c0332621bc998c9786f4841e86a62b7711fe4abf.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kword/KWFormulaFrameSet.cpp')
-rw-r--r-- | kword/KWFormulaFrameSet.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kword/KWFormulaFrameSet.cpp b/kword/KWFormulaFrameSet.cpp index 98f27cfa..d3aabc0c 100644 --- a/kword/KWFormulaFrameSet.cpp +++ b/kword/KWFormulaFrameSet.cpp @@ -92,10 +92,10 @@ void KWFormulaFrameSet::init() // there is no need to move the KFormulaContainer anymore, it remains at (0,0). formula->moveTo( 0, 0 ); - connect( formula, TQT_SIGNAL( formulaChanged( double, double ) ), - this, TQT_SLOT( slotFormulaChanged( double, double ) ) ); - connect( formula, TQT_SIGNAL( errorMsg( const TQString& ) ), - this, TQT_SLOT( slotErrorMessage( const TQString& ) ) ); + connect( formula, TQ_SIGNAL( formulaChanged( double, double ) ), + this, TQ_SLOT( slotFormulaChanged( double, double ) ) ); + connect( formula, TQ_SIGNAL( errorMsg( const TQString& ) ), + this, TQ_SLOT( slotErrorMessage( const TQString& ) ) ); /* if ( isFloating() ) { @@ -293,10 +293,10 @@ void KWFormulaFrameSet::paste( TQDomNode& formulaElem ) if (!formulaElem.isNull()) { if (formula == 0) { formula = m_doc->formulaDocument()->createFormula( -1, false ); - connect(formula, TQT_SIGNAL(formulaChanged(double, double)), - this, TQT_SLOT(slotFormulaChanged(double, double))); - connect( formula, TQT_SIGNAL( errorMsg( const TQString& ) ), - this, TQT_SLOT( slotErrorMessage( const TQString& ) ) ); + connect(formula, TQ_SIGNAL(formulaChanged(double, double)), + this, TQ_SLOT(slotFormulaChanged(double, double))); + connect( formula, TQ_SIGNAL( errorMsg( const TQString& ) ), + this, TQ_SLOT( slotErrorMessage( const TQString& ) ) ); } m_doc->formulaDocument()->setCreationStrategy( "Oasis" ); if ( !formula->loadMathML( formulaElem.firstChild().toElement() ) ) { @@ -362,10 +362,10 @@ KWFormulaFrameSetEdit::KWFormulaFrameSetEdit(KWFormulaFrameSet* fs, KWCanvas* ca { formulaView = new KFormula::View( fs->getFormula() ); - connect( formulaView, TQT_SIGNAL( cursorChanged( bool, bool ) ), - this, TQT_SLOT( cursorChanged( bool, bool ) ) ); - connect( fs->getFormula(), TQT_SIGNAL( leaveFormula( Container*, FormulaCursor*, int ) ), - this, TQT_SLOT( slotLeaveFormula( Container*, FormulaCursor*, int ) ) ); + connect( formulaView, TQ_SIGNAL( cursorChanged( bool, bool ) ), + this, TQ_SLOT( cursorChanged( bool, bool ) ) ); + connect( fs->getFormula(), TQ_SIGNAL( leaveFormula( Container*, FormulaCursor*, int ) ), + this, TQ_SLOT( slotLeaveFormula( Container*, FormulaCursor*, int ) ) ); fs->m_edit = this; |