summaryrefslogtreecommitdiffstats
path: root/src/systemtray.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-05 11:53:32 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-05 20:54:59 +0900
commit48f3d5f4d811e899ed05c12dbd61b43244e045aa (patch)
treeb8d3a57932c4b736ad1203d5566535ccf03eb388 /src/systemtray.cpp
parent123ea9fbbf9d2cdbfd7169cd3d08bfb99ddc25cf (diff)
downloadbasket-48f3d5f4d811e899ed05c12dbd61b43244e045aa.tar.gz
basket-48f3d5f4d811e899ed05c12dbd61b43244e045aa.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit ac30f16b60532c3d1ff474177bb36a073d51ceb4)
Diffstat (limited to 'src/systemtray.cpp')
-rw-r--r--src/systemtray.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/systemtray.cpp b/src/systemtray.cpp
index 3616e25..21323b4 100644
--- a/src/systemtray.cpp
+++ b/src/systemtray.cpp
@@ -229,18 +229,18 @@ SystemTray::~SystemTray()
void SystemTray::mousePressEvent(TQMouseEvent *event)
{
- if (event->button() & Qt::LeftButton) { // Prepare drag
+ if (event->button() & TQt::LeftButton) { // Prepare drag
m_pressPos = event->globalPos();
m_canDrag = true;
event->accept();
- } else if (event->button() & Qt::MidButton) { // Paste
+ } else if (event->button() & TQt::MidButton) { // Paste
Global::bnpView->currentBasket()->setInsertPopupMenu();
Global::bnpView->currentBasket()->pasteNote(TQClipboard::Selection);
Global::bnpView->currentBasket()->cancelInsertPopupMenu();
if (Settings::usePassivePopup())
Global::bnpView->showPassiveDropped(i18n("Pasted selection to basket <i>%1</i>"));
event->accept();
- } else if (event->button() & Qt::RightButton) { // Popup menu
+ } else if (event->button() & TQt::RightButton) { // Popup menu
TDEPopupMenu menu(this);
menu.insertTitle( SmallIcon("basket"), kapp->aboutData()->programName() );
@@ -300,7 +300,7 @@ void SystemTray::mouseMoveEvent(TQMouseEvent *event)
void SystemTray::mouseReleaseEvent(TQMouseEvent *event)
{
m_canDrag = false;
- if (event->button() == Qt::LeftButton) // Show / hide main window
+ if (event->button() == TQt::LeftButton) // Show / hide main window
if ( rect().contains(event->pos()) ) { // Accept only if released in systemTray
toggleActive();
emit showPart();