diff options
author | Michele Calgaro <[email protected]> | 2023-11-06 11:39:06 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-07 11:03:40 +0900 |
commit | afc67225900e0375f32048f4df27f32986704a67 (patch) | |
tree | 1fe1cadfa3aef633b34a3a773d111c55f07213d0 /kgoldrunner | |
parent | 0195c436ad939e6c1cde8953a9bff70ccca701e5 (diff) | |
download | tdegames-afc67225900e0375f32048f4df27f32986704a67.tar.gz tdegames-afc67225900e0375f32048f4df27f32986704a67.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 4243c1195d662a4e6e0971cef547520ece2c6673)
Diffstat (limited to 'kgoldrunner')
-rw-r--r-- | kgoldrunner/src/kgrdialog.cpp | 4 | ||||
-rw-r--r-- | kgoldrunner/src/kgrgame.cpp | 12 |
2 files changed, 8 insertions, 8 deletions
diff --git a/kgoldrunner/src/kgrdialog.cpp b/kgoldrunner/src/kgrdialog.cpp index def7af7d..789ee953 100644 --- a/kgoldrunner/src/kgrdialog.cpp +++ b/kgoldrunner/src/kgrdialog.cpp @@ -99,7 +99,7 @@ KGrSLDialog::KGrSLDialog (int action, int requestedLevel, int collnIndex, // Initial range 1->150, small step 1, big step 10 and default value 1. number = new TQScrollBar (1, 150, 1, 10, 1, - Qt::Horizontal, dad); + TQt::Horizontal, dad); grid->addWidget (number, 1, 1); TQHBox * numberPair = new TQHBox (dad); @@ -612,7 +612,7 @@ KGrECDialog::KGrECDialog (int action, int collnIndex, prefixL = new TQLabel (i18n("File name prefix:"), prefixBox); ecPrefix = new TQLineEdit (prefixBox); - ecGrp = new TQButtonGroup (1, Qt::Horizontal, 0, dad); + ecGrp = new TQButtonGroup (1, TQt::Horizontal, 0, dad); mainLayout->addWidget (ecGrp); ecTradB = new TQRadioButton (i18n("Traditional rules"), ecGrp); ecKGrB = new TQRadioButton (i18n("KGoldrunner rules"), ecGrp); diff --git a/kgoldrunner/src/kgrgame.cpp b/kgoldrunner/src/kgrgame.cpp index ffe0987d..3f584008 100644 --- a/kgoldrunner/src/kgrgame.cpp +++ b/kgoldrunner/src/kgrgame.cpp @@ -741,8 +741,8 @@ void KGrGame::doDig (int button) { startPlaying(); // If first player-input, start playing. } switch (button) { - case Qt::LeftButton: hero->digLeft (); break; - case Qt::RightButton: hero->digRight (); break; + case TQt::LeftButton: hero->digLeft (); break; + case TQt::RightButton: hero->digRight (); break; default: break; } } @@ -2090,8 +2090,8 @@ void KGrGame::doEdit (int button) i = p.x(); j = p.y(); switch (button) { - case Qt::LeftButton: - case Qt::RightButton: + case TQt::LeftButton: + case TQt::RightButton: paintEditObj = TRUE; insertEditObj (i, j); view->updateCanvas(); @@ -2113,8 +2113,8 @@ void KGrGame::endEdit (int button) i = p.x(); j = p.y(); switch (button) { - case Qt::LeftButton: - case Qt::RightButton: + case TQt::LeftButton: + case TQt::RightButton: paintEditObj = FALSE; if ((i != oldI) || (j != oldJ)) { insertEditObj (i, j); |