summaryrefslogtreecommitdiffstats
path: root/lib/kotext/KoTextObject.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-04 10:30:32 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-04 12:36:03 +0900
commitc0332621bc998c9786f4841e86a62b7711fe4abf (patch)
tree38b3ab6688de7a9396a1c5993a8ec265f5f33b64 /lib/kotext/KoTextObject.cpp
parent6c81ff8d61ec679e735d3fbd875583b12f0ef0a5 (diff)
downloadkoffice-c0332621bc998c9786f4841e86a62b7711fe4abf.tar.gz
koffice-c0332621bc998c9786f4841e86a62b7711fe4abf.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'lib/kotext/KoTextObject.cpp')
-rw-r--r--lib/kotext/KoTextObject.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/lib/kotext/KoTextObject.cpp b/lib/kotext/KoTextObject.cpp
index cae6e9e4..01eea0fa 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 )