diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-06 11:39:06 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-07 11:03:40 +0900 |
commit | afc67225900e0375f32048f4df27f32986704a67 (patch) | |
tree | 1fe1cadfa3aef633b34a3a773d111c55f07213d0 /atlantik | |
parent | 0195c436ad939e6c1cde8953a9bff70ccca701e5 (diff) | |
download | tdegames-afc67225900e0375f32048f4df27f32986704a67.tar.gz tdegames-afc67225900e0375f32048f4df27f32986704a67.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 4243c1195d662a4e6e0971cef547520ece2c6673)
Diffstat (limited to 'atlantik')
-rw-r--r-- | atlantik/client/configdlg.cpp | 4 | ||||
-rw-r--r-- | atlantik/libatlantikui/estateview.cpp | 4 | ||||
-rw-r--r-- | atlantik/libatlantikui/portfolioestate.cpp | 2 | ||||
-rw-r--r-- | atlantik/libatlantikui/portfolioview.cpp | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/atlantik/client/configdlg.cpp b/atlantik/client/configdlg.cpp index e24244c5..e30e4ca1 100644 --- a/atlantik/client/configdlg.cpp +++ b/atlantik/client/configdlg.cpp @@ -258,7 +258,7 @@ ConfigBoard::ConfigBoard(ConfigDialog *configDialog, TQWidget *parent, const cha m_configDialog = configDialog; TQVBoxLayout *layout = new TQVBoxLayout(parent, KDialog::marginHint(), KDialog::spacingHint()); - TQGroupBox *box = new TQGroupBox(1, Qt::Horizontal, i18n("Game Status Feedback"), parent); + TQGroupBox *box = new TQGroupBox(1, TQt::Horizontal, i18n("Game Status Feedback"), parent); layout->addWidget(box); m_indicateUnowned = new TQCheckBox(i18n("Display title deed card on unowned properties"), box); @@ -291,7 +291,7 @@ ConfigBoard::ConfigBoard(ConfigDialog *configDialog, TQWidget *parent, const cha "will have a Quartz effect similar to the Quartz KWin style.\n"); TQWhatsThis::add(m_quartzEffects, message); -// box = new TQGroupBox(1, Qt::Horizontal, i18n("Size"), parent); +// box = new TQGroupBox(1, TQt::Horizontal, i18n("Size"), parent); // layout->addWidget(box); layout->addStretch(1); 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()); |