summaryrefslogtreecommitdiffstats
path: root/src/widgets/qtextedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/qtextedit.cpp')
-rw-r--r--src/widgets/qtextedit.cpp58
1 files changed, 29 insertions, 29 deletions
diff --git a/src/widgets/qtextedit.cpp b/src/widgets/qtextedit.cpp
index 598093fbc..fa9b2e4b4 100644
--- a/src/widgets/qtextedit.cpp
+++ b/src/widgets/qtextedit.cpp
@@ -956,8 +956,8 @@ void TQTextEdit::init()
readonly = TRUE;
setReadOnly( FALSE );
setFrameStyle( LineEditPanel | Sunken );
- connect( doc, SIGNAL( minimumWidthChanged(int) ),
- this, SLOT( documentWidthChanged(int) ) );
+ connect( doc, TQ_SIGNAL( minimumWidthChanged(int) ),
+ this, TQ_SLOT( documentWidthChanged(int) ) );
mousePressed = FALSE;
inDoubleClick = FALSE;
@@ -989,28 +989,28 @@ void TQTextEdit::init()
cursor = new TQTextCursor( doc );
formatTimer = new TQTimer( this );
- connect( formatTimer, SIGNAL( timeout() ),
- this, SLOT( formatMore() ) );
+ connect( formatTimer, TQ_SIGNAL( timeout() ),
+ this, TQ_SLOT( formatMore() ) );
lastFormatted = doc->firstParagraph();
scrollTimer = new TQTimer( this );
- connect( scrollTimer, SIGNAL( timeout() ),
- this, SLOT( autoScrollTimerDone() ) );
+ connect( scrollTimer, TQ_SIGNAL( timeout() ),
+ this, TQ_SLOT( autoScrollTimerDone() ) );
interval = 0;
changeIntervalTimer = new TQTimer( this );
- connect( changeIntervalTimer, SIGNAL( timeout() ),
- this, SLOT( doChangeInterval() ) );
+ connect( changeIntervalTimer, TQ_SIGNAL( timeout() ),
+ this, TQ_SLOT( doChangeInterval() ) );
cursorVisible = TRUE;
blinkTimer = new TQTimer( this );
- connect( blinkTimer, SIGNAL( timeout() ),
- this, SLOT( blinkCursor() ) );
+ connect( blinkTimer, TQ_SIGNAL( timeout() ),
+ this, TQ_SLOT( blinkCursor() ) );
#ifndef TQT_NO_DRAGANDDROP
dragStartTimer = new TQTimer( this );
- connect( dragStartTimer, SIGNAL( timeout() ),
- this, SLOT( startDrag() ) );
+ connect( dragStartTimer, TQ_SIGNAL( timeout() ),
+ this, TQ_SLOT( startDrag() ) );
#endif
d->trippleClickTimer = new TQTimer( this );
@@ -1023,8 +1023,8 @@ void TQTextEdit::init()
viewport()->setFocusPolicy( WheelFocus );
setInputMethodEnabled( TRUE );
viewport()->installEventFilter( this );
- connect( this, SIGNAL(horizontalSliderReleased()), this, SLOT(sliderReleased()) );
- connect( this, SIGNAL(verticalSliderReleased()), this, SLOT(sliderReleased()) );
+ connect( this, TQ_SIGNAL(horizontalSliderReleased()), this, TQ_SLOT(sliderReleased()) );
+ connect( this, TQ_SIGNAL(verticalSliderReleased()), this, TQ_SLOT(sliderReleased()) );
installEventFilter( this );
}
@@ -2411,11 +2411,11 @@ void TQTextEdit::copyToClipboard()
d->clipboard_mode = TQClipboard::Selection;
// don't listen to selection changes
- disconnect( TQApplication::clipboard(), SIGNAL(selectionChanged()), this, 0);
+ disconnect( TQApplication::clipboard(), TQ_SIGNAL(selectionChanged()), this, 0);
copy();
// listen to selection changes
- connect( TQApplication::clipboard(), SIGNAL(selectionChanged()),
- this, SLOT(clipboardChanged()) );
+ connect( TQApplication::clipboard(), TQ_SIGNAL(selectionChanged()),
+ this, TQ_SLOT(clipboardChanged()) );
d->clipboard_mode = TQClipboard::Clipboard;
}
@@ -2776,11 +2776,11 @@ void TQTextEdit::contentsContextMenuEvent( TQContextMenuEvent *e )
d->clipboard_mode = TQClipboard::Selection;
// don't listen to selection changes
- disconnect( TQApplication::clipboard(), SIGNAL(selectionChanged()), this, 0);
+ disconnect( TQApplication::clipboard(), TQ_SIGNAL(selectionChanged()), this, 0);
copy();
// listen to selection changes
- connect( TQApplication::clipboard(), SIGNAL(selectionChanged()),
- this, SLOT(clipboardChanged()) );
+ connect( TQApplication::clipboard(), TQ_SIGNAL(selectionChanged()),
+ this, TQ_SLOT(clipboardChanged()) );
d->clipboard_mode = TQClipboard::Clipboard;
}
@@ -6139,7 +6139,7 @@ void TQTextEdit::clipboardChanged()
{
#ifndef TQT_NO_CLIPBOARD
// don't listen to selection changes
- disconnect( TQApplication::clipboard(), SIGNAL(selectionChanged()), this, 0);
+ disconnect( TQApplication::clipboard(), TQ_SIGNAL(selectionChanged()), this, 0);
#endif
selectAll(FALSE);
}
@@ -6190,19 +6190,19 @@ bool TQTextEdit::checkOptimMode()
if ( oldMode != d->optimMode ) {
if ( d->optimMode ) {
d->od = new TQTextEditOptimPrivate;
- connect( scrollTimer, SIGNAL( timeout() ), this, SLOT( optimDoAutoScroll() ) );
- disconnect( doc, SIGNAL( minimumWidthChanged(int) ), this, SLOT( documentWidthChanged(int) ) );
- disconnect( scrollTimer, SIGNAL( timeout() ), this, SLOT( autoScrollTimerDone() ) );
- disconnect( formatTimer, SIGNAL( timeout() ), this, SLOT( formatMore() ) );
+ connect( scrollTimer, TQ_SIGNAL( timeout() ), this, TQ_SLOT( optimDoAutoScroll() ) );
+ disconnect( doc, TQ_SIGNAL( minimumWidthChanged(int) ), this, TQ_SLOT( documentWidthChanged(int) ) );
+ disconnect( scrollTimer, TQ_SIGNAL( timeout() ), this, TQ_SLOT( autoScrollTimerDone() ) );
+ disconnect( formatTimer, TQ_SIGNAL( timeout() ), this, TQ_SLOT( formatMore() ) );
optimSetText( doc->originalText() );
doc->clear(TRUE);
delete cursor;
cursor = new TQTextCursor( doc );
} else {
- disconnect( scrollTimer, SIGNAL( timeout() ), this, SLOT( optimDoAutoScroll() ) );
- connect( doc, SIGNAL( minimumWidthChanged(int) ), this, SLOT( documentWidthChanged(int) ) );
- connect( scrollTimer, SIGNAL( timeout() ), this, SLOT( autoScrollTimerDone() ) );
- connect( formatTimer, SIGNAL( timeout() ), this, SLOT( formatMore() ) );
+ disconnect( scrollTimer, TQ_SIGNAL( timeout() ), this, TQ_SLOT( optimDoAutoScroll() ) );
+ connect( doc, TQ_SIGNAL( minimumWidthChanged(int) ), this, TQ_SLOT( documentWidthChanged(int) ) );
+ connect( scrollTimer, TQ_SIGNAL( timeout() ), this, TQ_SLOT( autoScrollTimerDone() ) );
+ connect( formatTimer, TQ_SIGNAL( timeout() ), this, TQ_SLOT( formatMore() ) );
setText( optimText() );
delete d->od;
d->od = 0;