From 31622296062e9eaafb3429eb84f8780fab22e597 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 4 Jan 2024 10:28:49 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro (cherry picked from commit bea15ca3009c2f8505bfa10445c1dc2fc43a4ffe) --- src/systemtray.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/systemtray.cpp') diff --git a/src/systemtray.cpp b/src/systemtray.cpp index 842608f..2b06ed0 100644 --- a/src/systemtray.cpp +++ b/src/systemtray.cpp @@ -204,10 +204,10 @@ SystemTray::SystemTray(TQWidget *parent, const char *name) setAcceptDrops(true); m_showTimer = new TQTimer(this); - connect( m_showTimer, TQT_SIGNAL(timeout()), Global::bnpView, TQT_SLOT(setActive()) ); + connect( m_showTimer, TQ_SIGNAL(timeout()), Global::bnpView, TQ_SLOT(setActive()) ); m_autoShowTimer = new TQTimer(this); - connect( m_autoShowTimer, TQT_SIGNAL(timeout()), Global::bnpView, TQT_SLOT(setActive()) ); + connect( m_autoShowTimer, TQ_SIGNAL(timeout()), Global::bnpView, TQ_SLOT(setActive()) ); // Create pixmaps for the icon: m_iconPixmap = loadIcon("basket"); @@ -285,7 +285,7 @@ void SystemTray::mousePressEvent(TQMouseEvent *event) } Global::bnpView->currentBasket()->setInsertPopupMenu(); - connect( &menu, TQT_SIGNAL(aboutToHide()), Global::bnpView->currentBasket(), TQT_SLOT(delayedCancelInsertPopupMenu()) ); + connect( &menu, TQ_SIGNAL(aboutToHide()), Global::bnpView->currentBasket(), TQ_SLOT(delayedCancelInsertPopupMenu()) ); menu.exec(event->globalPos()); event->accept(); } else @@ -426,7 +426,7 @@ void SystemTray::updateToolTip() setPixmap(bgPix); } - //TQTimer::singleShot( Container::c_delayTooltipTime, this, TQT_SLOT(updateToolTipDelayed()) ); + //TQTimer::singleShot( Container::c_delayTooltipTime, this, TQ_SLOT(updateToolTipDelayed()) ); // No need to delay: it's be called when notes are changed: updateToolTipDelayed(); } -- cgit v1.2.1