diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-04 10:28:49 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-06 19:52:52 +0900 |
commit | 31622296062e9eaafb3429eb84f8780fab22e597 (patch) | |
tree | 7220cbbc37f829f7139b672ae1d2a74cfb7a6d36 /src/systemtray.cpp | |
parent | 50245e3df9d78cdd42e9551fb32a3ea032434b0e (diff) | |
download | basket-31622296062e9eaafb3429eb84f8780fab22e597.tar.gz basket-31622296062e9eaafb3429eb84f8780fab22e597.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit bea15ca3009c2f8505bfa10445c1dc2fc43a4ffe)
Diffstat (limited to 'src/systemtray.cpp')
-rw-r--r-- | src/systemtray.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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(); } |