diff options
author | Michele Calgaro <[email protected]> | 2024-01-13 12:34:35 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-13 12:43:12 +0900 |
commit | c616fab9053b07ed30508ab714de876409d82653 (patch) | |
tree | 02b8b0fd20d25a2607a2173186a5e4acd016cb62 /kolourpaint/kpviewscrollablecontainer.cpp | |
parent | 7cf662aaa0828773212e35d6842cffd0aa2c509f (diff) | |
download | tdegraphics-c616fab9053b07ed30508ab714de876409d82653.tar.gz tdegraphics-c616fab9053b07ed30508ab714de876409d82653.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kolourpaint/kpviewscrollablecontainer.cpp')
-rw-r--r-- | kolourpaint/kpviewscrollablecontainer.cpp | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/kolourpaint/kpviewscrollablecontainer.cpp b/kolourpaint/kpviewscrollablecontainer.cpp index 65b0da89..47c842d9 100644 --- a/kolourpaint/kpviewscrollablecontainer.cpp +++ b/kolourpaint/kpviewscrollablecontainer.cpp @@ -424,11 +424,11 @@ kpViewScrollableContainer::kpViewScrollableContainer (kpMainWindow *parent, connectGripSignals (m_bottomRightGrip); - 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_dragScrollTimer, TQT_SIGNAL (timeout ()), - this, TQT_SLOT (slotDragScroll ())); + connect (m_dragScrollTimer, TQ_SIGNAL (timeout ()), + this, TQ_SLOT (slotDragScroll ())); } kpViewScrollableContainer::~kpViewScrollableContainer () @@ -458,20 +458,20 @@ int kpViewScrollableContainer::contentsYSoon () // protected void kpViewScrollableContainer::connectGripSignals (kpGrip *grip) { - connect (grip, TQT_SIGNAL (beganDraw ()), - this, TQT_SLOT (slotGripBeganDraw ())); - connect (grip, TQT_SIGNAL (continuedDraw (int, int, bool)), - this, TQT_SLOT (slotGripContinuedDraw (int, int, bool))); - connect (grip, TQT_SIGNAL (cancelledDraw ()), - this, TQT_SLOT (slotGripCancelledDraw ())); - connect (grip, TQT_SIGNAL (endedDraw (int, int)), - this, TQT_SLOT (slotGripEndedDraw (int, int))); + connect (grip, TQ_SIGNAL (beganDraw ()), + this, TQ_SLOT (slotGripBeganDraw ())); + connect (grip, TQ_SIGNAL (continuedDraw (int, int, bool)), + this, TQ_SLOT (slotGripContinuedDraw (int, int, bool))); + connect (grip, TQ_SIGNAL (cancelledDraw ()), + this, TQ_SLOT (slotGripCancelledDraw ())); + connect (grip, TQ_SIGNAL (endedDraw (int, int)), + this, TQ_SLOT (slotGripEndedDraw (int, int))); - connect (grip, TQT_SIGNAL (statusMessageChanged (const TQString &)), - this, TQT_SLOT (slotGripStatusMessageChanged (const TQString &))); + connect (grip, TQ_SIGNAL (statusMessageChanged (const TQString &)), + this, TQ_SLOT (slotGripStatusMessageChanged (const TQString &))); - connect (grip, TQT_SIGNAL (releasedAllButtons ()), - this, TQT_SLOT (recalculateStatusMessage ())); + connect (grip, TQ_SIGNAL (releasedAllButtons ()), + this, TQ_SLOT (recalculateStatusMessage ())); } @@ -946,7 +946,7 @@ void kpViewScrollableContainer::slotContentsMoving (int x, int y) // Reduce flicker - don't let TQScrollView scroll to-be-erased lines eraseResizeLines (); - TQTimer::singleShot (0, this, TQT_SLOT (slotContentsMoved ())); + TQTimer::singleShot (0, this, TQ_SLOT (slotContentsMoved ())); } // protected slot @@ -972,19 +972,19 @@ void kpViewScrollableContainer::slotContentsMoved () // protected void kpViewScrollableContainer::disconnectViewSignals () { - disconnect (m_view, TQT_SIGNAL (sizeChanged (const TQSize &)), - this, TQT_SLOT (updateGrips ())); - disconnect (m_view, TQT_SIGNAL (destroyed ()), - this, TQT_SLOT (slotViewDestroyed ())); + disconnect (m_view, TQ_SIGNAL (sizeChanged (const TQSize &)), + this, TQ_SLOT (updateGrips ())); + disconnect (m_view, TQ_SIGNAL (destroyed ()), + this, TQ_SLOT (slotViewDestroyed ())); } // protected void kpViewScrollableContainer::connectViewSignals () { - connect (m_view, TQT_SIGNAL (sizeChanged (const TQSize &)), - this, TQT_SLOT (updateGrips ())); - connect (m_view, TQT_SIGNAL (destroyed ()), - this, TQT_SLOT (slotViewDestroyed ())); + connect (m_view, TQ_SIGNAL (sizeChanged (const TQSize &)), + this, TQ_SLOT (updateGrips ())); + connect (m_view, TQ_SIGNAL (destroyed ()), + this, TQ_SLOT (slotViewDestroyed ())); } |