summaryrefslogtreecommitdiffstats
path: root/kpoker/top.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpoker/top.cpp')
-rw-r--r--kpoker/top.cpp50
1 files changed, 25 insertions, 25 deletions
diff --git a/kpoker/top.cpp b/kpoker/top.cpp
index 57c34add..129d450a 100644
--- a/kpoker/top.cpp
+++ b/kpoker/top.cpp
@@ -50,14 +50,14 @@ PokerWindow::PokerWindow()
LHLabel = new TQLabel(statusBar());
LHLabel->adjustSize();
- connect(m_kpok, TQT_SIGNAL(changeLastHand(const TQString &, bool)),
- this, TQT_SLOT(setHand(const TQString &, bool)));
- connect(m_kpok, TQT_SIGNAL(showClickToHold(bool)),
- this, TQT_SLOT(showClickToHold(bool)));
- connect(m_kpok, TQT_SIGNAL(clearStatusBar()),
- this, TQT_SLOT(clearStatusBar()));
- connect(m_kpok, TQT_SIGNAL(statusBarMessage(TQString)),
- this, TQT_SLOT(statusBarMessage(TQString)));
+ connect(m_kpok, TQ_SIGNAL(changeLastHand(const TQString &, bool)),
+ this, TQ_SLOT(setHand(const TQString &, bool)));
+ connect(m_kpok, TQ_SIGNAL(showClickToHold(bool)),
+ this, TQ_SLOT(showClickToHold(bool)));
+ connect(m_kpok, TQ_SIGNAL(clearStatusBar()),
+ this, TQ_SLOT(clearStatusBar()));
+ connect(m_kpok, TQ_SIGNAL(statusBarMessage(TQString)),
+ this, TQ_SLOT(statusBarMessage(TQString)));
statusBar()->addWidget(LHLabel, 0, true);
m_kpok->updateLHLabel();
@@ -79,47 +79,47 @@ PokerWindow::~PokerWindow()
void PokerWindow::initTDEAction()
{
//Game
- KStdGameAction::gameNew(m_kpok, TQT_SLOT(newGame()), actionCollection());
- KStdGameAction::save(m_kpok, TQT_SLOT(saveGame()), actionCollection());
- KStdGameAction::quit(this, TQT_SLOT(close()), actionCollection());
+ KStdGameAction::gameNew(m_kpok, TQ_SLOT(newGame()), actionCollection());
+ KStdGameAction::save(m_kpok, TQ_SLOT(saveGame()), actionCollection());
+ KStdGameAction::quit(this, TQ_SLOT(close()), actionCollection());
//Settings
showMenubarAction =
- KStdAction::showMenubar(this, TQT_SLOT(toggleMenubar()), actionCollection());
+ KStdAction::showMenubar(this, TQ_SLOT(toggleMenubar()), actionCollection());
soundAction = new TDEToggleAction(i18n("Soun&d"), 0, m_kpok,
- TQT_SLOT(toggleSound()), actionCollection(), "options_sound");
+ TQ_SLOT(toggleSound()), actionCollection(), "options_sound");
if (m_kpok->getSound())
m_kpok->toggleSound();
blinkingAction = new TDEToggleAction(i18n("&Blinking Cards"), 0, m_kpok,
- TQT_SLOT(toggleBlinking()), actionCollection(), "options_blinking");
+ TQ_SLOT(toggleBlinking()), actionCollection(), "options_blinking");
if (m_kpok->getBlinking())
m_kpok->toggleBlinking();
adjustAction = new TDEToggleAction(i18n("&Adjust Bet is Default"), 0,
- m_kpok, TQT_SLOT(toggleAdjust()), actionCollection(), "options_adjust");
+ m_kpok, TQ_SLOT(toggleAdjust()), actionCollection(), "options_adjust");
if (m_kpok->getAdjust())
m_kpok->toggleAdjust();
showStatusbarAction =
- KStdAction::showStatusbar(this, TQT_SLOT(toggleStatusbar()), actionCollection());
+ KStdAction::showStatusbar(this, TQ_SLOT(toggleStatusbar()), actionCollection());
- KStdAction::saveOptions(this, TQT_SLOT(saveOptions()), actionCollection());
- KStdGameAction::carddecks(m_kpok, TQT_SLOT(slotCardDeck()), actionCollection());
- KStdAction::preferences(m_kpok, TQT_SLOT(slotPreferences()), actionCollection());
+ KStdAction::saveOptions(this, TQ_SLOT(saveOptions()), actionCollection());
+ KStdGameAction::carddecks(m_kpok, TQ_SLOT(slotCardDeck()), actionCollection());
+ KStdAction::preferences(m_kpok, TQ_SLOT(slotPreferences()), actionCollection());
// Keyboard shortcuts.
(void)new TDEAction(i18n("Draw"), TDEShortcut(TQt::Key_Return), m_kpok,
- TQT_SLOT(drawClick()), actionCollection(), "draw");
+ TQ_SLOT(drawClick()), actionCollection(), "draw");
(void)new TDEAction(i18n("Exchange Card 1"), TDEShortcut(TQt::Key_1), m_kpok,
- TQT_SLOT(exchangeCard1()), actionCollection(), "exchange_card_1");
+ TQ_SLOT(exchangeCard1()), actionCollection(), "exchange_card_1");
(void)new TDEAction(i18n("Exchange Card 2"), TDEShortcut(TQt::Key_2), m_kpok,
- TQT_SLOT(exchangeCard2()), actionCollection(), "exchange_card_2");
+ TQ_SLOT(exchangeCard2()), actionCollection(), "exchange_card_2");
(void)new TDEAction(i18n("Exchange Card 3"), TDEShortcut(TQt::Key_3), m_kpok,
- TQT_SLOT(exchangeCard3()), actionCollection(), "exchange_card_3");
+ TQ_SLOT(exchangeCard3()), actionCollection(), "exchange_card_3");
(void)new TDEAction(i18n("Exchange Card 4"), TDEShortcut(TQt::Key_4), m_kpok,
- TQT_SLOT(exchangeCard4()), actionCollection(), "exchange_card_4");
+ TQ_SLOT(exchangeCard4()), actionCollection(), "exchange_card_4");
(void)new TDEAction(i18n("Exchange Card 5"), TDEShortcut(TQt::Key_5), m_kpok,
- TQT_SLOT(exchangeCard5()), actionCollection(), "exchange_card_5");
+ TQ_SLOT(exchangeCard5()), actionCollection(), "exchange_card_5");
setupGUI( TDEMainWindow::Save | StatusBar | Keys | Create);
}