diff options
author | Michele Calgaro <[email protected]> | 2024-01-04 10:30:32 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-13 20:22:52 +0900 |
commit | e1b37ac1936f81994a2c1aa2778298fbc757531f (patch) | |
tree | 2e2df5ea5786d581b10e51e0cbde9f4921697b2f /kword/KWFrameViewManager.cpp | |
parent | d08f80f854355e446d1c6be0eb50166646f7f291 (diff) | |
download | koffice-e1b37ac1936f81994a2c1aa2778298fbc757531f.tar.gz koffice-e1b37ac1936f81994a2c1aa2778298fbc757531f.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit c0332621bc998c9786f4841e86a62b7711fe4abf)
Diffstat (limited to 'kword/KWFrameViewManager.cpp')
-rw-r--r-- | kword/KWFrameViewManager.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kword/KWFrameViewManager.cpp b/kword/KWFrameViewManager.cpp index a0070584..96b6cc5d 100644 --- a/kword/KWFrameViewManager.cpp +++ b/kword/KWFrameViewManager.cpp @@ -43,8 +43,8 @@ KWFrameViewManager::KWFrameViewManager(KWDocument *doc) { ++frameSets; } m_blockEvents = false; - connect(doc, TQT_SIGNAL( sigFrameSetAdded(KWFrameSet*)), TQT_SLOT( slotFrameSetAdded(KWFrameSet*))); - connect(doc, TQT_SIGNAL( sigFrameSetRemoved(KWFrameSet*)), TQT_SLOT( slotFrameSetRemoved(KWFrameSet*))); + connect(doc, TQ_SIGNAL( sigFrameSetAdded(KWFrameSet*)), TQ_SLOT( slotFrameSetAdded(KWFrameSet*))); + connect(doc, TQ_SIGNAL( sigFrameSetRemoved(KWFrameSet*)), TQ_SLOT( slotFrameSetRemoved(KWFrameSet*))); recalculateFrameCache(); } @@ -66,9 +66,9 @@ void KWFrameViewManager::removeKWFramesListener(KWFramesListener *listener) { void KWFrameViewManager::slotFrameSetAdded(KWFrameSet *fs) { if(! m_blockEvents) m_frameEvents.append(new FrameEvent(FrameEvent::FrameSetAdded, fs)); - connect(fs, TQT_SIGNAL( sigFrameAdded(KWFrame*)), TQT_SLOT( slotFrameAdded(KWFrame *))); - connect(fs, TQT_SIGNAL( sigFrameRemoved(KWFrame*)), TQT_SLOT( slotFrameRemoved(KWFrame *))); - connect(fs, TQT_SIGNAL( sigNameChanged(KWFrameSet*)), TQT_SLOT( slotFrameSetRenamed(KWFrameSet *))); + connect(fs, TQ_SIGNAL( sigFrameAdded(KWFrame*)), TQ_SLOT( slotFrameAdded(KWFrame *))); + connect(fs, TQ_SIGNAL( sigFrameRemoved(KWFrame*)), TQ_SLOT( slotFrameRemoved(KWFrame *))); + connect(fs, TQ_SIGNAL( sigNameChanged(KWFrameSet*)), TQ_SLOT( slotFrameSetRenamed(KWFrameSet *))); TQPtrListIterator<KWFrame> frames = fs->frameIterator(); while(frames.current()) { KWFrame *f = frames.current(); @@ -80,9 +80,9 @@ void KWFrameViewManager::slotFrameSetAdded(KWFrameSet *fs) { void KWFrameViewManager::slotFrameSetRemoved(KWFrameSet *fs) { if(! m_blockEvents) m_frameEvents.append(new FrameEvent(FrameEvent::FrameSetRemoved, fs)); - disconnect(fs, TQT_SIGNAL( sigFrameAdded(KWFrame*)), this, TQT_SLOT( slotFrameAdded(KWFrame *))); - disconnect(fs, TQT_SIGNAL( sigFrameRemoved(KWFrame*)), this, TQT_SLOT( slotFrameRemoved(KWFrame *))); - disconnect(fs, TQT_SIGNAL( sigNameChanged(KWFrameSet*)), this, TQT_SLOT( slotFrameSetRenamed(KWFrameSet *))); + disconnect(fs, TQ_SIGNAL( sigFrameAdded(KWFrame*)), this, TQ_SLOT( slotFrameAdded(KWFrame *))); + disconnect(fs, TQ_SIGNAL( sigFrameRemoved(KWFrame*)), this, TQ_SLOT( slotFrameRemoved(KWFrame *))); + disconnect(fs, TQ_SIGNAL( sigNameChanged(KWFrameSet*)), this, TQ_SLOT( slotFrameSetRenamed(KWFrameSet *))); TQPtrListIterator<KWFrame> frames = fs->frameIterator(); while(frames.current()) { KWFrame *f = frames.current(); @@ -145,7 +145,7 @@ void KWFrameViewManager::requestFireEvents() { if(m_queueRequested && !m_blockEvents) return; m_queueRequested = true; - TQTimer::singleShot ( 0, this, TQT_SLOT(fireEvents()) ); + TQTimer::singleShot ( 0, this, TQ_SLOT(fireEvents()) ); } void KWFrameViewManager::fireEvents() { |