summaryrefslogtreecommitdiffstats
path: root/kbackgammon/kbg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kbackgammon/kbg.cpp')
-rw-r--r--kbackgammon/kbg.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kbackgammon/kbg.cpp b/kbackgammon/kbg.cpp
index f2fea097..70bff939 100644
--- a/kbackgammon/kbg.cpp
+++ b/kbackgammon/kbg.cpp
@@ -105,7 +105,7 @@ KBg::KBg()
TQStringList list;
for (int i = 0; i < MaxEngine; i++)
list.append(engineString[i]);
- engineSet = new KSelectAction(i18n("&Engine"), 0, TQT_TQOBJECT(this), TQT_SLOT(setupEngine()), actionCollection(),
+ engineSet = new TDESelectAction(i18n("&Engine"), 0, TQT_TQOBJECT(this), TQT_SLOT(setupEngine()), actionCollection(),
"move_engine");
engineSet->setItems(list);
@@ -121,7 +121,7 @@ KBg::KBg()
rollAction->setEnabled(false);
endAction = KStdGameAction::endTurn(TQT_TQOBJECT(this), TQT_SLOT(done()), actionCollection());
endAction->setEnabled(false);
- cubeAction = new KAction(i18n("Double Cube"), TQIconSet(kapp->iconLoader()->loadIcon
+ cubeAction = new TDEAction(i18n("Double Cube"), TQIconSet(kapp->iconLoader()->loadIcon
(PROG_NAME "-double.xpm", KIcon::Toolbar)),
0, TQT_TQOBJECT(this), TQT_SLOT(cube()), actionCollection(), "move_cube");
cubeAction->setEnabled(false);
@@ -130,12 +130,12 @@ KBg::KBg()
KStdAction::preferences(TQT_TQOBJECT(this), TQT_SLOT(setupDlg()), actionCollection());
KStdAction::saveOptions(TQT_TQOBJECT(this), TQT_SLOT(saveConfig()), actionCollection());
- KPopupMenu *p = (new KActionMenu(i18n("&Backgammon on the Web"),
+ TDEPopupMenu *p = (new TDEActionMenu(i18n("&Backgammon on the Web"),
actionCollection(), "help_www"))->popupMenu();
- (new KAction(helpTopic[FIBSHome][0], 0, TQT_TQOBJECT(this), TQT_SLOT(wwwFIBS()),
+ (new TDEAction(helpTopic[FIBSHome][0], 0, TQT_TQOBJECT(this), TQT_SLOT(wwwFIBS()),
actionCollection(), "help_www_fibs"))->plug(p);
- (new KAction(helpTopic[RuleHome][0], 0, TQT_TQOBJECT(this), TQT_SLOT(wwwRule()),
+ (new TDEAction(helpTopic[RuleHome][0], 0, TQT_TQOBJECT(this), TQT_SLOT(wwwRule()),
actionCollection(), "help_www_rule"))->plug(p);
/*
@@ -812,7 +812,7 @@ void KBg::allowCommand(int cmd, bool f)
*/
void KBg::hideEvent(TQHideEvent *e)
{
- KMainWindow::hideEvent(e);
+ TDEMainWindow::hideEvent(e);
engine[currEngine]->hideEvent();
}
@@ -822,7 +822,7 @@ void KBg::hideEvent(TQHideEvent *e)
*/
void KBg::showEvent(TQShowEvent *e)
{
- KMainWindow::showEvent(e);
+ TDEMainWindow::showEvent(e);
engine[currEngine]->showEvent();
}