summaryrefslogtreecommitdiffstats
path: root/src/komposeviewmanager.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-07 19:47:33 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-09 10:54:51 +0900
commit43e0ea16d738b24b6c9078bc126735753c2b5393 (patch)
tree31598f2adb646629549aae33c495e4328f903e8a /src/komposeviewmanager.cpp
parentcb45523131a2a7c0770bf2698f441aa601a9ed91 (diff)
downloadkompose-43e0ea16d738b24b6c9078bc126735753c2b5393.tar.gz
kompose-43e0ea16d738b24b6c9078bc126735753c2b5393.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 183355477fb2d6bd6429da51d7abd74f7950f207)
Diffstat (limited to 'src/komposeviewmanager.cpp')
-rw-r--r--src/komposeviewmanager.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/komposeviewmanager.cpp b/src/komposeviewmanager.cpp
index 9b4da6e..0be6f5a 100644
--- a/src/komposeviewmanager.cpp
+++ b/src/komposeviewmanager.cpp
@@ -57,7 +57,7 @@ KomposeViewManager::KomposeViewManager():
slotStartCursorUpdateTimer();
// dirty hack. see uglyTQtHackInitFunction()
- TQTimer::singleShot( 500, this, SLOT( uglyTQtHackInitFunction() ) );
+ TQTimer::singleShot( 500, this, TQ_SLOT( uglyTQtHackInitFunction() ) );
}
@@ -72,7 +72,7 @@ KomposeViewManager::~KomposeViewManager()
*/
void KomposeViewManager::uglyTQtHackInitFunction()
{
- connect( KomposeSettings::instance(), SIGNAL( settingsChanged() ), SLOT( slotStartCursorUpdateTimer() ) );
+ connect( KomposeSettings::instance(), TQ_SIGNAL( settingsChanged() ), TQ_SLOT( slotStartCursorUpdateTimer() ) );
}
/**
@@ -81,7 +81,7 @@ void KomposeViewManager::uglyTQtHackInitFunction()
*/
void KomposeViewManager::slotStartCursorUpdateTimer()
{
- disconnect( cursorUpdateTimer, SIGNAL( timeout() ), this, SLOT( checkCursorPos() ) );
+ disconnect( cursorUpdateTimer, TQ_SIGNAL( timeout() ), this, TQ_SLOT( checkCursorPos() ) );
if ( KomposeSettings::instance()->getActivateOnBottomLeftCorner() ||
KomposeSettings::instance()->getActivateOnBottomRightCorner() ||
@@ -100,7 +100,7 @@ void KomposeViewManager::slotStartCursorUpdateTimer()
bottomLeftCorner = deskRect.bottomLeft();
bottomRightCorner = deskRect.bottomRight();
- connect( cursorUpdateTimer, SIGNAL( timeout() ), SLOT( checkCursorPos() ) );
+ connect( cursorUpdateTimer, TQ_SIGNAL( timeout() ), TQ_SLOT( checkCursorPos() ) );
cursorUpdateTimer->start( 200, false ); // TODO: Find out why even an interval of 1ms doesn't hit performance!
}
}
@@ -131,7 +131,7 @@ void KomposeViewManager::checkCursorPos()
)
{
//cursorUpdateTimer->stop();
- TQTimer::singleShot( KomposeSettings::instance()->getAutoLockDelay(), this, SLOT( reCheckCursorPos() ) );
+ TQTimer::singleShot( KomposeSettings::instance()->getAutoLockDelay(), this, TQ_SLOT( reCheckCursorPos() ) );
}
}
@@ -230,7 +230,7 @@ void KomposeViewManager::closeCurrentView()
KWin::setCurrentDesktop( deskBeforeSnaps );
// A short delay until we allow screenshots again (would cause overlapping else
- TQTimer::singleShot( 400, this, SLOT( toggleBlockScreenshots() ) );
+ TQTimer::singleShot( 400, this, TQ_SLOT( toggleBlockScreenshots() ) );
// Restart Timer for corner checks
slotStartCursorUpdateTimer();