diff options
Diffstat (limited to 'atlantik/libatlantikui')
-rw-r--r-- | atlantik/libatlantikui/estateview.cpp | 4 | ||||
-rw-r--r-- | atlantik/libatlantikui/portfolioestate.cpp | 2 | ||||
-rw-r--r-- | atlantik/libatlantikui/portfolioview.cpp | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/atlantik/libatlantikui/estateview.cpp b/atlantik/libatlantikui/estateview.cpp index fe53d63e..47f96572 100644 --- a/atlantik/libatlantikui/estateview.cpp +++ b/atlantik/libatlantikui/estateview.cpp @@ -432,7 +432,7 @@ void EstateView::resizeEvent(TQResizeEvent *) void EstateView::mousePressEvent(TQMouseEvent *e) { - if (e->button()==Qt::RightButton && m_estate->isOwned()) + if (e->button()==TQt::RightButton && m_estate->isOwned()) { TDEPopupMenu *rmbMenu = new TDEPopupMenu(this); rmbMenu->insertTitle(m_estate->name()); @@ -488,7 +488,7 @@ void EstateView::mousePressEvent(TQMouseEvent *e) rmbMenu->exec(g); delete rmbMenu; } - else if (e->button()==Qt::LeftButton) + else if (e->button()==TQt::LeftButton) emit LMBClicked(m_estate); } diff --git a/atlantik/libatlantikui/portfolioestate.cpp b/atlantik/libatlantikui/portfolioestate.cpp index 1117b6e8..1c165244 100644 --- a/atlantik/libatlantikui/portfolioestate.cpp +++ b/atlantik/libatlantikui/portfolioestate.cpp @@ -89,6 +89,6 @@ void PortfolioEstate::paintEvent(TQPaintEvent *) void PortfolioEstate::mousePressEvent(TQMouseEvent *e) { - if (e->button()==Qt::LeftButton) + if (e->button()==TQt::LeftButton) emit estateClicked(m_estate); } diff --git a/atlantik/libatlantikui/portfolioview.cpp b/atlantik/libatlantikui/portfolioview.cpp index 19424e3b..cec443e7 100644 --- a/atlantik/libatlantikui/portfolioview.cpp +++ b/atlantik/libatlantikui/portfolioview.cpp @@ -252,7 +252,7 @@ void PortfolioView::mousePressEvent(TQMouseEvent *e) { Player *playerSelf = m_atlanticCore->playerSelf(); - if ( e->button()==Qt::RightButton && (m_player != playerSelf) ) + if ( e->button()==TQt::RightButton && (m_player != playerSelf) ) { TDEPopupMenu *rmbMenu = new TDEPopupMenu(this); rmbMenu->insertTitle(m_player->name()); |