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 /kpresenter/KPrTextObject.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 'kpresenter/KPrTextObject.cpp')
-rw-r--r-- | kpresenter/KPrTextObject.cpp | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/kpresenter/KPrTextObject.cpp b/kpresenter/KPrTextObject.cpp index 6a7f4440..18844e43 100644 --- a/kpresenter/KPrTextObject.cpp +++ b/kpresenter/KPrTextObject.cpp @@ -131,22 +131,22 @@ KPrTextObject::KPrTextObject( KPrDocument *doc ) bbottom = 0.0; alignVertical = 0.0; - connect( m_textobj, TQT_SIGNAL( newCommand( KCommand * ) ), - TQT_SLOT( slotNewCommand( KCommand * ) ) ); - connect( m_textobj, TQT_SIGNAL( availableHeightNeeded() ), - TQT_SLOT( slotAvailableHeightNeeded() ) ); - connect( m_textobj, TQT_SIGNAL( repaintChanged( KoTextObject* ) ), - TQT_SLOT( slotRepaintChanged() ) ); + connect( m_textobj, TQ_SIGNAL( newCommand( KCommand * ) ), + TQ_SLOT( slotNewCommand( KCommand * ) ) ); + connect( m_textobj, TQ_SIGNAL( availableHeightNeeded() ), + TQ_SLOT( slotAvailableHeightNeeded() ) ); + connect( m_textobj, TQ_SIGNAL( repaintChanged( KoTextObject* ) ), + TQ_SLOT( slotRepaintChanged() ) ); // Send our "repaintChanged" signals to the document. - connect( this, TQT_SIGNAL( repaintChanged( KPrTextObject * ) ), - m_doc, TQT_SLOT( slotRepaintChanged( KPrTextObject * ) ) ); - connect(m_textobj, TQT_SIGNAL( showFormatObject(const KoTextFormat &) ), - TQT_SLOT( slotFormatChanged(const KoTextFormat &)) ); - connect( m_textobj, TQT_SIGNAL( afterFormatting( int, KoTextParag*, bool* ) ), - TQT_SLOT( slotAfterFormatting( int, KoTextParag*, bool* ) ) ); - connect( m_textobj, TQT_SIGNAL( paragraphDeleted( KoTextParag*) ), - TQT_SLOT( slotParagraphDeleted(KoTextParag*) )); + connect( this, TQ_SIGNAL( repaintChanged( KPrTextObject * ) ), + m_doc, TQ_SLOT( slotRepaintChanged( KPrTextObject * ) ) ); + connect(m_textobj, TQ_SIGNAL( showFormatObject(const KoTextFormat &) ), + TQ_SLOT( slotFormatChanged(const KoTextFormat &)) ); + connect( m_textobj, TQ_SIGNAL( afterFormatting( int, KoTextParag*, bool* ) ), + TQ_SLOT( slotAfterFormatting( int, KoTextParag*, bool* ) ) ); + connect( m_textobj, TQ_SIGNAL( paragraphDeleted( KoTextParag*) ), + TQ_SLOT( slotParagraphDeleted(KoTextParag*) )); } @@ -1778,12 +1778,12 @@ KPrTextView::KPrTextView( KPrTextObject * txtObj, KPrCanvas *_canvas, bool temp m_kptextobj=txtObj; if (temp) return; - connect( txtObj->textObject(), TQT_SIGNAL( selectionChanged(bool) ), - m_canvas, TQT_SIGNAL( selectionChanged(bool) ) ); + connect( txtObj->textObject(), TQ_SIGNAL( selectionChanged(bool) ), + m_canvas, TQ_SIGNAL( selectionChanged(bool) ) ); KoTextView::setReadWrite( txtObj->kPresenterDocument()->isReadWrite() ); - connect( textView(), TQT_SIGNAL( cut() ), TQT_SLOT( cut() ) ); - connect( textView(), TQT_SIGNAL( copy() ), TQT_SLOT( copy() ) ); - connect( textView(), TQT_SIGNAL( paste() ), TQT_SLOT( paste() ) ); + connect( textView(), TQ_SIGNAL( cut() ), TQ_SLOT( cut() ) ); + connect( textView(), TQ_SIGNAL( copy() ), TQ_SLOT( copy() ) ); + connect( textView(), TQ_SIGNAL( paste() ), TQ_SLOT( paste() ) ); updateUI( true, true ); txtObj->setEditingTextObj( true ); @@ -1803,8 +1803,8 @@ KoTextViewIface* KPrTextView::dcopObject() void KPrTextView::terminate(bool removeSelection) { - disconnect( textView()->textObject(), TQT_SIGNAL( selectionChanged(bool) ), - m_canvas, TQT_SIGNAL( selectionChanged(bool) ) ); + disconnect( textView()->textObject(), TQ_SIGNAL( selectionChanged(bool) ), + m_canvas, TQ_SIGNAL( selectionChanged(bool) ) ); textView()->terminate(removeSelection); } |