summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrTextObject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpresenter/KPrTextObject.cpp')
-rw-r--r--kpresenter/KPrTextObject.cpp42
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);
}