diff options
Diffstat (limited to 'kword/KWDocument.cpp')
-rw-r--r-- | kword/KWDocument.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kword/KWDocument.cpp b/kword/KWDocument.cpp index 5a6e886e..c6469ace 100644 --- a/kword/KWDocument.cpp +++ b/kword/KWDocument.cpp @@ -220,8 +220,8 @@ KWDocument::KWDocument(TQWidget *parentWidget, const char *widname, TQObject* pa m_layoutViewMode = 0; m_commandHistory = new KWCommandHistory( this ); - connect( m_commandHistory, TQT_SIGNAL( documentRestored() ), this, TQT_SLOT( slotDocumentRestored() ) ); - connect( m_commandHistory, TQT_SIGNAL( commandExecuted() ), this, TQT_SLOT( slotCommandExecuted() ) ); + connect( m_commandHistory, TQ_SIGNAL( documentRestored() ), this, TQ_SLOT( slotDocumentRestored() ) ); + connect( m_commandHistory, TQ_SIGNAL( commandExecuted() ), this, TQ_SLOT( slotCommandExecuted() ) ); //styleMask = U_FONT_FAMILY_ALL_SIZE | U_COLOR | U_BORDER | U_INDENT | // U_NUMBERING | U_ALIGN | U_TABS | U_SMART; @@ -1936,10 +1936,10 @@ void KWDocument::endOfLoading() // called by both oasis and oldxml // Connect to notifications from main text-frameset if ( frameset ) { - connect( frameset->textObject(), TQT_SIGNAL( chapterParagraphFormatted( KoTextParag * ) ), - TQT_SLOT( slotChapterParagraphFormatted( KoTextParag * ) ) ); - connect( frameset, TQT_SIGNAL( mainTextHeightChanged() ), - TQT_SIGNAL( mainTextHeightChanged() ) ); + connect( frameset->textObject(), TQ_SIGNAL( chapterParagraphFormatted( KoTextParag * ) ), + TQ_SLOT( slotChapterParagraphFormatted( KoTextParag * ) ) ); + connect( frameset, TQ_SIGNAL( mainTextHeightChanged() ), + TQ_SIGNAL( mainTextHeightChanged() ) ); } // Note that more stuff will happen in completeLoading @@ -2439,7 +2439,7 @@ bool KWDocument::completeLoading( KoStore *store ) emit newContentsSize(); repaintAllViews( true ); // in case any view exists already reactivateBgSpellChecking(); - connect( documentInfo(), TQT_SIGNAL( sigDocumentInfoModifed()),this,TQT_SLOT(slotDocumentInfoModifed() ) ); + connect( documentInfo(), TQ_SIGNAL( sigDocumentInfoModifed()),this,TQ_SLOT(slotDocumentInfoModifed() ) ); //desactivate bgspellchecking //attributes isReadWrite is not placed at the beginning ! @@ -3730,8 +3730,8 @@ void KWDocument::removeView( KoView *view ) void KWDocument::addShell( KoMainWindow *shell ) { - connect( shell, TQT_SIGNAL( documentSaved() ), m_commandHistory, TQT_SLOT( documentSaved() ) ); - connect( shell, TQT_SIGNAL( saveDialogShown() ), this, TQT_SLOT( saveDialogShown() ) ); + connect( shell, TQ_SIGNAL( documentSaved() ), m_commandHistory, TQ_SLOT( documentSaved() ) ); + connect( shell, TQ_SIGNAL( saveDialogShown() ), this, TQ_SLOT( saveDialogShown() ) ); KoDocument::addShell( shell ); } @@ -3895,7 +3895,7 @@ KWPartFrameSet* KWDocument::insertObject( const KoRect& rect, KoDocumentEntry& e void KWDocument::delayedRepaintAllViews() { if (!m_repaintAllViewsPending) { - TQTimer::singleShot( 0, this, TQT_SLOT( slotRepaintAllViews() ) ); + TQTimer::singleShot( 0, this, TQ_SLOT( slotRepaintAllViews() ) ); m_repaintAllViewsPending=true; } } @@ -3910,7 +3910,7 @@ void KWDocument::delayedRecalcFrames( int fromPage ) { if ( m_recalcFramesPending == -1 || fromPage < m_recalcFramesPending ) { m_recalcFramesPending = fromPage; - TQTimer::singleShot( 0, this, TQT_SLOT( slotRecalcFrames() ) ); + TQTimer::singleShot( 0, this, TQ_SLOT( slotRecalcFrames() ) ); } } @@ -4333,7 +4333,7 @@ void KWDocument::frameChanged( KWFrame * frame ) { if(! m_framesChangedHandler) { m_framesChangedHandler = new FramesChangedHandler(this); - TQTimer::singleShot( 0, this, TQT_SLOT( updateFramesChanged() ) ); + TQTimer::singleShot( 0, this, TQ_SLOT( updateFramesChanged() ) ); } m_framesChangedHandler->addFrame(frame); } |