diff options
author | Michele Calgaro <[email protected]> | 2024-01-07 19:47:33 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-07 19:47:33 +0900 |
commit | 183355477fb2d6bd6429da51d7abd74f7950f207 (patch) | |
tree | 0562dc18c6dc80cc128cdbea07c067f14f27b7bf /src/komposefullscreenwidget.cpp | |
parent | 3f0b743b945d7f09d6bf935c447f4917ce791c27 (diff) | |
download | kompose-183355477fb2d6bd6429da51d7abd74f7950f207.tar.gz kompose-183355477fb2d6bd6429da51d7abd74f7950f207.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/komposefullscreenwidget.cpp')
-rw-r--r-- | src/komposefullscreenwidget.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/komposefullscreenwidget.cpp b/src/komposefullscreenwidget.cpp index 1d0b7e1..1e66ad1 100644 --- a/src/komposefullscreenwidget.cpp +++ b/src/komposefullscreenwidget.cpp @@ -126,7 +126,7 @@ void KomposeFullscreenWidget::initView() if ( type == KOMPOSEDISPLAY_VIRTUALDESKS ) { - disconnect( KomposeTaskManager::instance(), SIGNAL( newTask( KomposeTask* ) ), this, SLOT( createTaskWidget( KomposeTask* ) ) ); + disconnect( KomposeTaskManager::instance(), TQ_SIGNAL( newTask( KomposeTask* ) ), this, TQ_SLOT( createTaskWidget( KomposeTask* ) ) ); layout->setType( TLAYOUT_TASKCONTAINERS ); setDesktop( -2 ); createDesktopWidgets(); @@ -136,14 +136,14 @@ void KomposeFullscreenWidget::initView() layout->setType( TLAYOUT_GENERIC ); setDesktop( -1 ); createTaskWidgets(); - connect( KomposeTaskManager::instance(), SIGNAL( newTask( KomposeTask* ) ), this, SLOT( createTaskWidget( KomposeTask* ) ) ); + connect( KomposeTaskManager::instance(), TQ_SIGNAL( newTask( KomposeTask* ) ), this, TQ_SLOT( createTaskWidget( KomposeTask* ) ) ); } else if ( type == KOMPOSEDISPLAY_CURRENTDESK ) { layout->setType( TLAYOUT_GENERIC ); setDesktop( KomposeViewManager::instance()->getDesktopBeforeSnaps() ); createTaskWidgets(); - connect( KomposeTaskManager::instance(), SIGNAL( newTask( KomposeTask* ) ), this, SLOT( createTaskWidget( KomposeTask* ) ) ); + connect( KomposeTaskManager::instance(), TQ_SIGNAL( newTask( KomposeTask* ) ), this, TQ_SLOT( createTaskWidget( KomposeTask* ) ) ); } unsetCursor(); @@ -159,8 +159,8 @@ void KomposeFullscreenWidget::createDesktopWidgets() //int col = i % 2; //kdDebug() << "rc %d %d", row, col); KomposeDesktopWidget *desktop = new KomposeDesktopWidget(i, this ); - connect( desktop, SIGNAL(contentsChanged()), layout, SLOT(arrangeLayout()) ); - connect( desktop, SIGNAL(activated(KomposeDesktopWidget*)), this, SLOT(desktopChanged(KomposeDesktopWidget*)) ); + connect( desktop, TQ_SIGNAL(contentsChanged()), layout, TQ_SLOT(arrangeLayout()) ); + connect( desktop, TQ_SIGNAL(activated(KomposeDesktopWidget*)), this, TQ_SLOT(desktopChanged(KomposeDesktopWidget*)) ); desktop->show(); } } |