summaryrefslogtreecommitdiffstats
path: root/kpoker
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-20 22:30:18 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-20 22:39:59 +0900
commit7909152750670148360093b2519955fbfa555154 (patch)
tree86544c17c877637743df75e42369e8114c38abf3 /kpoker
parent2d872f6fb68350f9ee5b0b5c86ab3240b0d09aae (diff)
downloadtdegames-7909152750670148360093b2519955fbfa555154.tar.gz
tdegames-7909152750670148360093b2519955fbfa555154.zip
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kpoker')
-rw-r--r--kpoker/top.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/kpoker/top.cpp b/kpoker/top.cpp
index a8d9002f..57c34add 100644
--- a/kpoker/top.cpp
+++ b/kpoker/top.cpp
@@ -79,46 +79,46 @@ PokerWindow::~PokerWindow()
void PokerWindow::initTDEAction()
{
//Game
- KStdGameAction::gameNew(TQT_TQOBJECT(m_kpok), TQT_SLOT(newGame()), actionCollection());
- KStdGameAction::save(TQT_TQOBJECT(m_kpok), TQT_SLOT(saveGame()), actionCollection());
- KStdGameAction::quit(TQT_TQOBJECT(this), TQT_SLOT(close()), actionCollection());
+ KStdGameAction::gameNew(m_kpok, TQT_SLOT(newGame()), actionCollection());
+ KStdGameAction::save(m_kpok, TQT_SLOT(saveGame()), actionCollection());
+ KStdGameAction::quit(this, TQT_SLOT(close()), actionCollection());
//Settings
showMenubarAction =
- KStdAction::showMenubar(TQT_TQOBJECT(this), TQT_SLOT(toggleMenubar()), actionCollection());
+ KStdAction::showMenubar(this, TQT_SLOT(toggleMenubar()), actionCollection());
- soundAction = new TDEToggleAction(i18n("Soun&d"), 0, TQT_TQOBJECT(m_kpok),
+ soundAction = new TDEToggleAction(i18n("Soun&d"), 0, m_kpok,
TQT_SLOT(toggleSound()), actionCollection(), "options_sound");
if (m_kpok->getSound())
m_kpok->toggleSound();
- blinkingAction = new TDEToggleAction(i18n("&Blinking Cards"), 0, TQT_TQOBJECT(m_kpok),
+ blinkingAction = new TDEToggleAction(i18n("&Blinking Cards"), 0, m_kpok,
TQT_SLOT(toggleBlinking()), actionCollection(), "options_blinking");
if (m_kpok->getBlinking())
m_kpok->toggleBlinking();
adjustAction = new TDEToggleAction(i18n("&Adjust Bet is Default"), 0,
- TQT_TQOBJECT(m_kpok), TQT_SLOT(toggleAdjust()), actionCollection(), "options_adjust");
+ m_kpok, TQT_SLOT(toggleAdjust()), actionCollection(), "options_adjust");
if (m_kpok->getAdjust())
m_kpok->toggleAdjust();
showStatusbarAction =
- KStdAction::showStatusbar(TQT_TQOBJECT(this), TQT_SLOT(toggleStatusbar()), actionCollection());
+ KStdAction::showStatusbar(this, TQT_SLOT(toggleStatusbar()), actionCollection());
- KStdAction::saveOptions(TQT_TQOBJECT(this), TQT_SLOT(saveOptions()), actionCollection());
- KStdGameAction::carddecks(TQT_TQOBJECT(m_kpok), TQT_SLOT(slotCardDeck()), actionCollection());
- KStdAction::preferences(TQT_TQOBJECT(m_kpok), TQT_SLOT(slotPreferences()), actionCollection());
+ KStdAction::saveOptions(this, TQT_SLOT(saveOptions()), actionCollection());
+ KStdGameAction::carddecks(m_kpok, TQT_SLOT(slotCardDeck()), actionCollection());
+ KStdAction::preferences(m_kpok, TQT_SLOT(slotPreferences()), actionCollection());
// Keyboard shortcuts.
- (void)new TDEAction(i18n("Draw"), TDEShortcut(TQt::Key_Return), TQT_TQOBJECT(m_kpok),
+ (void)new TDEAction(i18n("Draw"), TDEShortcut(TQt::Key_Return), m_kpok,
TQT_SLOT(drawClick()), actionCollection(), "draw");
- (void)new TDEAction(i18n("Exchange Card 1"), TDEShortcut(TQt::Key_1), TQT_TQOBJECT(m_kpok),
+ (void)new TDEAction(i18n("Exchange Card 1"), TDEShortcut(TQt::Key_1), m_kpok,
TQT_SLOT(exchangeCard1()), actionCollection(), "exchange_card_1");
- (void)new TDEAction(i18n("Exchange Card 2"), TDEShortcut(TQt::Key_2), TQT_TQOBJECT(m_kpok),
+ (void)new TDEAction(i18n("Exchange Card 2"), TDEShortcut(TQt::Key_2), m_kpok,
TQT_SLOT(exchangeCard2()), actionCollection(), "exchange_card_2");
- (void)new TDEAction(i18n("Exchange Card 3"), TDEShortcut(TQt::Key_3), TQT_TQOBJECT(m_kpok),
+ (void)new TDEAction(i18n("Exchange Card 3"), TDEShortcut(TQt::Key_3), m_kpok,
TQT_SLOT(exchangeCard3()), actionCollection(), "exchange_card_3");
- (void)new TDEAction(i18n("Exchange Card 4"), TDEShortcut(TQt::Key_4), TQT_TQOBJECT(m_kpok),
+ (void)new TDEAction(i18n("Exchange Card 4"), TDEShortcut(TQt::Key_4), m_kpok,
TQT_SLOT(exchangeCard4()), actionCollection(), "exchange_card_4");
- (void)new TDEAction(i18n("Exchange Card 5"), TDEShortcut(TQt::Key_5), TQT_TQOBJECT(m_kpok),
+ (void)new TDEAction(i18n("Exchange Card 5"), TDEShortcut(TQt::Key_5), m_kpok,
TQT_SLOT(exchangeCard5()), actionCollection(), "exchange_card_5");
setupGUI( TDEMainWindow::Save | StatusBar | Keys | Create);