diff options
Diffstat (limited to 'src/komposetaskvisualizer.cpp')
-rw-r--r-- | src/komposetaskvisualizer.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/komposetaskvisualizer.cpp b/src/komposetaskvisualizer.cpp index 9e21eaf..7a73619 100644 --- a/src/komposetaskvisualizer.cpp +++ b/src/komposetaskvisualizer.cpp @@ -56,11 +56,11 @@ KomposeTaskVisualizer::KomposeTaskVisualizer(KomposeTask *parent, const char *na if ( !KomposeSettings::instance()->getCacheScaledPixmaps() ) { // clear cached pixmaps on viewclose - connect( KomposeViewManager::instance(), SIGNAL(viewClosed()), this, SLOT(clearCached()) ); + connect( KomposeViewManager::instance(), TQ_SIGNAL(viewClosed()), this, TQ_SLOT(clearCached()) ); } initXComposite(); - connect( KomposeSettings::instance(), SIGNAL(settingsChanged()), this, SLOT(initXComposite()) ); + connect( KomposeSettings::instance(), TQ_SIGNAL(settingsChanged()), this, TQ_SLOT(initXComposite()) ); } KomposeTaskVisualizer::~KomposeTaskVisualizer() @@ -197,7 +197,7 @@ void KomposeTaskVisualizer::slotTaskActivated() { // Retry 1 sec later screenshotSuspended = true; - TQTimer::singleShot( 500, this, SLOT( slotTaskActivated() ) ); + TQTimer::singleShot( 500, this, TQ_SLOT( slotTaskActivated() ) ); } screenshotSuspended = false; @@ -208,7 +208,7 @@ void KomposeTaskVisualizer::slotTaskActivated() { kdDebug() << "KomposeTaskVisualizer::slotTaskActivated() (WId " << task->window() << ") - Screenshot already exists, but passive mode on - Grabbing new one." << endl; // Use a timer to make task switching feel more responsive - TQTimer::singleShot( 300, this, SLOT( captureScreenshot_GrabWindow() ) ); + TQTimer::singleShot( 300, this, TQ_SLOT( captureScreenshot_GrabWindow() ) ); //captureScreenshot_GrabWindow(); } } @@ -266,7 +266,7 @@ void KomposeTaskVisualizer::slotUpdateScreenshot() // Restore if formerly iconified if ( iconifyLater ) - TQTimer::singleShot( 1000, task, SLOT( iconify() ) ); + TQTimer::singleShot( 1000, task, TQ_SLOT( iconify() ) ); scaledScreenshotDirty = true; } @@ -312,9 +312,9 @@ void KomposeTaskVisualizer::initXComposite() { dpy = TQPaintDevice::x11AppDisplay(); - connect( task, SIGNAL(x11ConfigureNotify()), this, SLOT(updateXCompositeNamedPixmap())); + connect( task, TQ_SIGNAL(x11ConfigureNotify()), this, TQ_SLOT(updateXCompositeNamedPixmap())); XSelectInput( dpy, task->wmFrame(), StructureNotifyMask ); - connect( task, SIGNAL( x11DamageNotify() ), SLOT( setScaledScreenshotDirty() ) ); + connect( task, TQ_SIGNAL( x11DamageNotify() ), TQ_SLOT( setScaledScreenshotDirty() ) ); XWindowAttributes attr; XGetWindowAttributes( dpy, task->wmFrame(), &attr ); @@ -335,8 +335,8 @@ void KomposeTaskVisualizer::initXComposite() } else { - disconnect( task, SIGNAL(x11ConfigureNotify()), this, SLOT(updateXCompositeNamedPixmap())); - disconnect( task, SIGNAL( x11DamageNotify() ), this, SLOT( setScaledScreenshotDirty() ) ); + disconnect( task, TQ_SIGNAL(x11ConfigureNotify()), this, TQ_SLOT(updateXCompositeNamedPixmap())); + disconnect( task, TQ_SIGNAL( x11DamageNotify() ), this, TQ_SLOT( setScaledScreenshotDirty() ) ); if ( compositeInit ) { XDamageDestroy( dpy, damage); @@ -368,7 +368,7 @@ void KomposeTaskVisualizer::captureScreenshot_GrabWindow() // We've just grabbed a screenshot and don't want this to happen again in the next 3?! seconds screenshotBlocked = true; - TQTimer::singleShot( 3000, this, SLOT( enablePasvScreenshots() ) ); + TQTimer::singleShot( 3000, this, TQ_SLOT( enablePasvScreenshots() ) ); kdDebug() << "KomposeTaskVisualizer::captureScreenshot_GrabWindow() (WId " << task->window() << ") - Grabbed screenshot." << endl; |