diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-07 19:47:33 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-09 10:54:51 +0900 |
| commit | 43e0ea16d738b24b6c9078bc126735753c2b5393 (patch) | |
| tree | 31598f2adb646629549aae33c495e4328f903e8a /src/komposetaskmanager.cpp | |
| parent | cb45523131a2a7c0770bf2698f441aa601a9ed91 (diff) | |
| download | kompose-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/komposetaskmanager.cpp')
| -rw-r--r-- | src/komposetaskmanager.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/komposetaskmanager.cpp b/src/komposetaskmanager.cpp index fa8b1bb..4830e1d 100644 --- a/src/komposetaskmanager.cpp +++ b/src/komposetaskmanager.cpp @@ -75,20 +75,20 @@ KomposeTaskManager::KomposeTaskManager() callCompositeRedirect(); // Listeners for KWinmodule signals - connect( twin_module, SIGNAL(windowAdded(WId)), this, SLOT(slotWindowAdded(WId)) ); - connect( twin_module, SIGNAL(windowRemoved(WId)), this, SLOT(slotWindowRemoved(WId)) ); - connect( twin_module, SIGNAL(numberOfDesktopsChanged(int)), this, SLOT(slotDesktopCountChanged(int)) ); - connect( twin_module, SIGNAL(currentDesktopChanged(int)), this, SLOT(slotCurrentDesktopChanged(int)) ); + connect( twin_module, TQ_SIGNAL(windowAdded(WId)), this, TQ_SLOT(slotWindowAdded(WId)) ); + connect( twin_module, TQ_SIGNAL(windowRemoved(WId)), this, TQ_SLOT(slotWindowRemoved(WId)) ); + connect( twin_module, TQ_SIGNAL(numberOfDesktopsChanged(int)), this, TQ_SLOT(slotDesktopCountChanged(int)) ); + connect( twin_module, TQ_SIGNAL(currentDesktopChanged(int)), this, TQ_SLOT(slotCurrentDesktopChanged(int)) ); - connect( KomposeSettings::instance(), SIGNAL(settingsChanged()), this, SLOT(slotStartWindowListeners()) ); - connect( KomposeSettings::instance(), SIGNAL(settingsChanged()), this, SLOT(callCompositeRedirect()) ); + connect( KomposeSettings::instance(), TQ_SIGNAL(settingsChanged()), this, TQ_SLOT(slotStartWindowListeners()) ); + connect( KomposeSettings::instance(), TQ_SIGNAL(settingsChanged()), this, TQ_SLOT(callCompositeRedirect()) ); // register existing windows const TQValueList<WId> windows = twin_module->windows(); for (TQValueList<WId>::ConstIterator it = windows.begin(); it != windows.end(); ++it ) slotWindowAdded(*it); - connect( twin_module, SIGNAL(activeWindowChanged(WId)), this, SLOT(slotTaskActivated(WId)) ); + connect( twin_module, TQ_SIGNAL(activeWindowChanged(WId)), this, TQ_SLOT(slotTaskActivated(WId)) ); slotStartWindowListeners(); } @@ -137,10 +137,10 @@ KomposeTask* KomposeTaskManager::findTask(WId w, bool wmFrameIds ) void KomposeTaskManager::slotStartWindowListeners() { - disconnect( twin_module, SIGNAL(windowChanged( WId, unsigned int )), this, - SLOT(slotWindowChanged( WId, unsigned int )) ); - connect( twin_module, SIGNAL(windowChanged( WId, unsigned int )), this, - SLOT(slotWindowChanged( WId, unsigned int )) ); + disconnect( twin_module, TQ_SIGNAL(windowChanged( WId, unsigned int )), this, + TQ_SLOT(slotWindowChanged( WId, unsigned int )) ); + connect( twin_module, TQ_SIGNAL(windowChanged( WId, unsigned int )), this, + TQ_SLOT(slotWindowChanged( WId, unsigned int )) ); } |
