summaryrefslogtreecommitdiffstats
path: root/kpat/pwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpat/pwidget.cpp')
-rw-r--r--kpat/pwidget.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kpat/pwidget.cpp b/kpat/pwidget.cpp
index 7e0f85c2..003b4b6f 100644
--- a/kpat/pwidget.cpp
+++ b/kpat/pwidget.cpp
@@ -55,7 +55,7 @@ void saveGame(int) {
}
pWidget::pWidget()
- : KMainWindow(0, "pwidget"), dill(0)
+ : TDEMainWindow(0, "pwidget"), dill(0)
{
current_pwidget = this;
// KCrash::setEmergencySaveFunction(::saveGame);
@@ -73,14 +73,14 @@ pWidget::pWidget()
recent->loadEntries(TDEGlobal::config());
(void)KStdAction::saveAs(TQT_TQOBJECT(this), TQT_SLOT(saveGame()),
actionCollection(), "save");
- (void)new KAction(i18n("&Choose Game..."), 0, TQT_TQOBJECT(this), TQT_SLOT(chooseGame()),
+ (void)new TDEAction(i18n("&Choose Game..."), 0, TQT_TQOBJECT(this), TQT_SLOT(chooseGame()),
actionCollection(), "choose_game");
- (void)new KAction(i18n("Restart &Game"), TQString::fromLatin1("reload"), 0,
+ (void)new TDEAction(i18n("Restart &Game"), TQString::fromLatin1("reload"), 0,
TQT_TQOBJECT(this), TQT_SLOT(restart()),
actionCollection(), "restart_game");
(void)KStdAction::help(TQT_TQOBJECT(this), TQT_SLOT(helpGame()), actionCollection(), "help_game");
- games = new KSelectAction(i18n("&Game Type"), 0, TQT_TQOBJECT(this),
+ games = new TDESelectAction(i18n("&Game Type"), 0, TQT_TQOBJECT(this),
TQT_SLOT(newGameType()),
actionCollection(), "game_type");
TQStringList list;
@@ -104,7 +104,7 @@ pWidget::pWidget()
TDEGlobal::dirs()->addResourceType("wallpaper", TDEStandardDirs::kde_default("data") + "kpat/backgrounds/");
TDEGlobal::dirs()->addResourceType("wallpaper", TDEStandardDirs::kde_default("data") + "ksnake/backgrounds/");
- wallpapers = new KSelectAction(i18n("&Change Background"), 0, TQT_TQOBJECT(this),
+ wallpapers = new TDESelectAction(i18n("&Change Background"), 0, TQT_TQOBJECT(this),
TQT_SLOT(changeWallpaper()),
actionCollection(), "wallpaper");
list.clear();
@@ -131,16 +131,16 @@ pWidget::pWidget()
(void)new cardMap(midcolor);
- backs = new KAction(i18n("&Switch Cards..."), 0, TQT_TQOBJECT(this),
+ backs = new TDEAction(i18n("&Switch Cards..."), 0, TQT_TQOBJECT(this),
TQT_SLOT(changeBackside()),
actionCollection(), "backside");
- stats = new KAction(i18n("&Statistics"), 0, TQT_TQOBJECT(this), TQT_SLOT(showStats()),
+ stats = new TDEAction(i18n("&Statistics"), 0, TQT_TQOBJECT(this), TQT_SLOT(showStats()),
actionCollection(),"game_stats");
- animation = new KToggleAction(i18n( "&Animation on Startup" ),
+ animation = new TDEToggleAction(i18n( "&Animation on Startup" ),
0, TQT_TQOBJECT(this), TQT_SLOT(animationChanged()),
actionCollection(), "animation");
- dropaction = new KToggleAction(i18n("&Enable Autodrop"),
+ dropaction = new TDEToggleAction(i18n("&Enable Autodrop"),
0, TQT_TQOBJECT(this), TQT_SLOT(enableAutoDrop()),
actionCollection(), "enable_autodrop");
dropaction->setCheckedState(i18n("Disable Autodrop"));
@@ -168,7 +168,7 @@ pWidget::pWidget()
statusBar()->insertItem( "", 1, 0, true );
createGUI(TQString(), false);
- KAcceleratorManager::manage(menuBar());
+ TDEAcceleratorManager::manage(menuBar());
newGameType();
adjustSize();
@@ -394,7 +394,7 @@ void pWidget::showEvent(TQShowEvent *e)
{
if (dill)
dill->setMinimumSize(TQSize(0,0));
- KMainWindow::showEvent(e);
+ TDEMainWindow::showEvent(e);
}
void pWidget::slotGameInfo(const TQString &text)