summaryrefslogtreecommitdiffstats
path: root/kword/KWTextFrameSet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kword/KWTextFrameSet.cpp')
-rw-r--r--kword/KWTextFrameSet.cpp50
1 files changed, 25 insertions, 25 deletions
diff --git a/kword/KWTextFrameSet.cpp b/kword/KWTextFrameSet.cpp
index 195ecd5d..d0fbff38 100644
--- a/kword/KWTextFrameSet.cpp
+++ b/kword/KWTextFrameSet.cpp
@@ -156,25 +156,25 @@ void KWTextFrameSet::init()
m_textobj = new KoTextObject( textdoc, m_doc->styleCollection()->findStyle( "Standard" ),
this, (m_name+"-textobj").utf8() );
m_doc->backSpeller()->registerNewTextObject( m_textobj );
- connect( m_textobj, TQT_SIGNAL( availableHeightNeeded() ),
- TQT_SLOT( slotAvailableHeightNeeded() ) );
- connect( m_textobj, TQT_SIGNAL( afterFormatting( int, KoTextParag*, bool* ) ),
- TQT_SLOT( slotAfterFormatting( int, KoTextParag*, bool* ) ) );
- //connect( m_textobj, TQT_SIGNAL( formattingFirstParag() ),
- // TQT_SLOT( slotFormattingFirstParag() ) );
- //connect( m_textobj, TQT_SIGNAL( chapterParagraphFormatted( KoTextParag * ) ),
- // TQT_SLOT( slotChapterParagraphFormatted( KoTextParag * ) ) );
- connect( m_textobj, TQT_SIGNAL( newCommand( KCommand * ) ),
- TQT_SLOT( slotNewCommand( KCommand * ) ) );
- connect( m_textobj, TQT_SIGNAL( repaintChanged( KoTextObject* ) ),
- TQT_SLOT( slotRepaintChanged() ) );
- connect( m_textobj, TQT_SIGNAL( paragraphDeleted( KoTextParag*) ),
- TQT_SLOT( slotParagraphDeleted(KoTextParag*) ));
-
- connect( m_textobj, TQT_SIGNAL( paragraphCreated( KoTextParag*) ),
- TQT_SLOT( slotParagraphCreated(KoTextParag*) ));
- connect( m_textobj, TQT_SIGNAL( paragraphModified( KoTextParag*, int, int, int) ),
- TQT_SLOT( slotParagraphModified(KoTextParag*, int, int, int) ));
+ connect( m_textobj, TQ_SIGNAL( availableHeightNeeded() ),
+ TQ_SLOT( slotAvailableHeightNeeded() ) );
+ connect( m_textobj, TQ_SIGNAL( afterFormatting( int, KoTextParag*, bool* ) ),
+ TQ_SLOT( slotAfterFormatting( int, KoTextParag*, bool* ) ) );
+ //connect( m_textobj, TQ_SIGNAL( formattingFirstParag() ),
+ // TQ_SLOT( slotFormattingFirstParag() ) );
+ //connect( m_textobj, TQ_SIGNAL( chapterParagraphFormatted( KoTextParag * ) ),
+ // TQ_SLOT( slotChapterParagraphFormatted( KoTextParag * ) ) );
+ connect( m_textobj, TQ_SIGNAL( newCommand( KCommand * ) ),
+ TQ_SLOT( slotNewCommand( KCommand * ) ) );
+ connect( m_textobj, TQ_SIGNAL( repaintChanged( KoTextObject* ) ),
+ TQ_SLOT( slotRepaintChanged() ) );
+ connect( m_textobj, TQ_SIGNAL( paragraphDeleted( KoTextParag*) ),
+ TQ_SLOT( slotParagraphDeleted(KoTextParag*) ));
+
+ connect( m_textobj, TQ_SIGNAL( paragraphCreated( KoTextParag*) ),
+ TQ_SLOT( slotParagraphCreated(KoTextParag*) ));
+ connect( m_textobj, TQ_SIGNAL( paragraphModified( KoTextParag*, int, int, int) ),
+ TQ_SLOT( slotParagraphModified(KoTextParag*, int, int, int) ));
}
void KWTextFrameSet::slotParagraphModified(KoTextParag* _parag, int /*KoTextParag::ParagModifyType*/ _type, int start, int length)
@@ -3099,11 +3099,11 @@ KWTextFrameSetEdit::KWTextFrameSetEdit( KWTextFrameSet * fs, KWCanvas * canvas )
//kdDebug(32001) << "KWTextFrameSetEdit::KWTextFrameSetEdit " << fs->name() << endl;
KoTextView::setReadWrite( fs->kWordDocument()->isReadWrite() );
KoTextObject* textobj = fs->textObject();
- connect( textobj, TQT_SIGNAL( selectionChanged(bool) ), canvas, TQT_SIGNAL( selectionChanged(bool) ) );
- connect( fs, TQT_SIGNAL( frameDeleted(KWFrame *) ), this, TQT_SLOT( slotFrameDeleted(KWFrame *) ) );
- 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( textobj, TQ_SIGNAL( selectionChanged(bool) ), canvas, TQ_SIGNAL( selectionChanged(bool) ) );
+ connect( fs, TQ_SIGNAL( frameDeleted(KWFrame *) ), this, TQ_SLOT( slotFrameDeleted(KWFrame *) ) );
+ 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 );
if( canvas->gui() && canvas->gui()->getHorzRuler())
@@ -3133,7 +3133,7 @@ KoTextViewIface* KWTextFrameSetEdit::dcopObject()
void KWTextFrameSetEdit::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);
}