diff options
Diffstat (limited to 'kword/KWCanvas.cpp')
-rw-r--r-- | kword/KWCanvas.cpp | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/kword/KWCanvas.cpp b/kword/KWCanvas.cpp index 3412b029..e006903c 100644 --- a/kword/KWCanvas.cpp +++ b/kword/KWCanvas.cpp @@ -111,8 +111,8 @@ KWCanvas::KWCanvas(const TQString& viewMode, TQWidget *parent, KWDocument *d, KW viewport()->setMouseTracking( TRUE ); m_scrollTimer = new TQTimer( this ); - connect( m_scrollTimer, TQT_SIGNAL( timeout() ), - this, TQT_SLOT( doAutoScroll() ) ); + connect( m_scrollTimer, TQ_SIGNAL( timeout() ), + this, TQ_SLOT( doAutoScroll() ) ); viewport()->setFocusProxy( this ); viewport()->setFocusPolicy( TQWidget::WheelFocus ); @@ -122,17 +122,17 @@ KWCanvas::KWCanvas(const TQString& viewMode, TQWidget *parent, KWDocument *d, KW installEventFilter( this ); KCursor::setAutoHideCursor( this, true, true ); - connect( this, TQT_SIGNAL(contentsMoving( int, int )), - this, TQT_SLOT(slotContentsMoving( int, int )) ); + connect( this, TQ_SIGNAL(contentsMoving( int, int )), + this, TQ_SLOT(slotContentsMoving( int, int )) ); - connect( m_doc, TQT_SIGNAL( newContentsSize() ), - this, TQT_SLOT( slotNewContentsSize() ) ); + connect( m_doc, TQ_SIGNAL( newContentsSize() ), + this, TQ_SLOT( slotNewContentsSize() ) ); - connect( m_doc, TQT_SIGNAL( mainTextHeightChanged() ), - this, TQT_SLOT( slotMainTextHeightChanged() ) ); + connect( m_doc, TQ_SIGNAL( mainTextHeightChanged() ), + this, TQ_SLOT( slotMainTextHeightChanged() ) ); - connect( m_doc, TQT_SIGNAL( sig_terminateEditing( KWFrameSet * ) ), - this, TQT_SLOT( terminateEditing( KWFrameSet * ) ) ); + connect( m_doc, TQ_SIGNAL( sig_terminateEditing( KWFrameSet * ) ), + this, TQ_SLOT( terminateEditing( KWFrameSet * ) ) ); slotNewContentsSize(); @@ -162,10 +162,10 @@ KWCanvas::KWCanvas(const TQString& viewMode, TQWidget *parent, KWDocument *d, KW } m_doc->deleteInitialEditingInfo(); - connect(frameViewManager(), TQT_SIGNAL(sigFrameResized(const TQValueList<KWFrame*>&)), - m_doc, TQT_SLOT(framesChanged(const TQValueList<KWFrame*>&))); - connect(frameViewManager(), TQT_SIGNAL(sigFrameMoved(const TQValueList<KWFrame*>&)), - m_doc, TQT_SLOT(framesChanged(const TQValueList<KWFrame*>&))); + connect(frameViewManager(), TQ_SIGNAL(sigFrameResized(const TQValueList<KWFrame*>&)), + m_doc, TQ_SLOT(framesChanged(const TQValueList<KWFrame*>&))); + connect(frameViewManager(), TQ_SIGNAL(sigFrameMoved(const TQValueList<KWFrame*>&)), + m_doc, TQ_SLOT(framesChanged(const TQValueList<KWFrame*>&))); } KWCanvas::~KWCanvas() @@ -175,10 +175,10 @@ KWCanvas::~KWCanvas() m_currentFrameSetEdit = 0; delete m_viewMode; m_viewMode = 0; - disconnect(frameViewManager(), TQT_SIGNAL(sigFrameResized(const TQValueList<KWFrame*>&)), - m_doc, TQT_SLOT(framesChanged(const TQValueList<KWFrame*>&))); - disconnect(frameViewManager(), TQT_SIGNAL(sigFrameMoved(const TQValueList<KWFrame*>&)), - m_doc, TQT_SLOT(framesChanged(const TQValueList<KWFrame*>&))); + disconnect(frameViewManager(), TQ_SIGNAL(sigFrameResized(const TQValueList<KWFrame*>&)), + m_doc, TQ_SLOT(framesChanged(const TQValueList<KWFrame*>&))); + disconnect(frameViewManager(), TQ_SIGNAL(sigFrameMoved(const TQValueList<KWFrame*>&)), + m_doc, TQ_SLOT(framesChanged(const TQValueList<KWFrame*>&))); delete m_frameViewManager; m_frameViewManager = 0; } @@ -1631,7 +1631,7 @@ void KWCanvas::slotContentsMoving( int cx, int cy ) // so that it will reposition any active embedded object. // This needs to be delayed since contents moving is emitted -before- moving, // and from resizeEvent it's too early too. - TQTimer::singleShot( 0, this, TQT_SIGNAL( viewTransformationsChanged() ) ); + TQTimer::singleShot( 0, this, TQ_SIGNAL( viewTransformationsChanged() ) ); } void KWCanvas::slotMainTextHeightChanged() |