summaryrefslogtreecommitdiffstats
path: root/src/systemtray.cpp
diff options
context:
space:
mode:
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();