diff options
Diffstat (limited to 'lib/kotext/KoTextObject.cpp')
| -rw-r--r-- | lib/kotext/KoTextObject.cpp | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/lib/kotext/KoTextObject.cpp b/lib/kotext/KoTextObject.cpp index cae6e9e40..01eea0fab 100644 --- a/lib/kotext/KoTextObject.cpp +++ b/lib/kotext/KoTextObject.cpp @@ -88,30 +88,30 @@ void KoTextObject::init() m_highlightSelectionAdded = false; interval = 0; changeIntervalTimer = new TQTimer( this ); - connect( changeIntervalTimer, TQT_SIGNAL( timeout() ), - this, TQT_SLOT( doChangeInterval() ) ); + connect( changeIntervalTimer, TQ_SIGNAL( timeout() ), + this, TQ_SLOT( doChangeInterval() ) ); formatTimer = new TQTimer( this ); - connect( formatTimer, TQT_SIGNAL( timeout() ), - this, TQT_SLOT( formatMore() ) ); + connect( formatTimer, TQ_SIGNAL( timeout() ), + this, TQ_SLOT( formatMore() ) ); // Apply default style to initial paragraph if ( m_lastFormatted && m_defaultStyle ) m_lastFormatted->applyStyle( m_defaultStyle ); - connect( textdoc, TQT_SIGNAL( paragraphDeleted( KoTextParag* ) ), - this, TQT_SIGNAL( paragraphDeleted( KoTextParag* ) ) ); - connect( textdoc, TQT_SIGNAL( paragraphDeleted( KoTextParag* ) ), - this, TQT_SLOT( slotParagraphDeleted( KoTextParag* ) ) ); - connect( textdoc, TQT_SIGNAL( newCommand( KCommand* ) ), - this, TQT_SIGNAL( newCommand( KCommand* ) ) ); - connect( textdoc, TQT_SIGNAL( repaintChanged() ), - this, TQT_SLOT( emitRepaintChanged() ) ); + connect( textdoc, TQ_SIGNAL( paragraphDeleted( KoTextParag* ) ), + this, TQ_SIGNAL( paragraphDeleted( KoTextParag* ) ) ); + connect( textdoc, TQ_SIGNAL( paragraphDeleted( KoTextParag* ) ), + this, TQ_SLOT( slotParagraphDeleted( KoTextParag* ) ) ); + connect( textdoc, TQ_SIGNAL( newCommand( KCommand* ) ), + this, TQ_SIGNAL( newCommand( KCommand* ) ) ); + connect( textdoc, TQ_SIGNAL( repaintChanged() ), + this, TQ_SLOT( emitRepaintChanged() ) ); - connect( this, TQT_SIGNAL(paragraphModified( KoTextParag*, int, int , int ) ), - this, TQT_SLOT(slotParagraphModified(KoTextParag *, int, int , int))); - connect( this, TQT_SIGNAL(paragraphCreated( KoTextParag* )), - this, TQT_SLOT(slotParagraphCreated(KoTextParag *))); + connect( this, TQ_SIGNAL(paragraphModified( KoTextParag*, int, int , int ) ), + this, TQ_SLOT(slotParagraphModified(KoTextParag *, int, int , int))); + connect( this, TQ_SIGNAL(paragraphCreated( KoTextParag* )), + this, TQ_SLOT(slotParagraphCreated(KoTextParag *))); } KoTextObject::~KoTextObject() @@ -231,7 +231,7 @@ void KoTextObject::undo() emit setCursor( c ); setLastFormattedParag( textdoc->firstParag() ); delete cursor; - TQTimer::singleShot( 0, this, TQT_SLOT( slotAfterUndoRedo() ) ); + TQTimer::singleShot( 0, this, TQ_SLOT( slotAfterUndoRedo() ) ); } void KoTextObject::redo() @@ -248,7 +248,7 @@ void KoTextObject::redo() emit setCursor( c ); // see undo setLastFormattedParag( textdoc->firstParag() ); delete cursor; - TQTimer::singleShot( 0, this, TQT_SLOT( slotAfterUndoRedo() ) ); + TQTimer::singleShot( 0, this, TQ_SLOT( slotAfterUndoRedo() ) ); } KoTextObject::UndoRedoInfo::UndoRedoInfo( KoTextObject *to ) |
