diff options
Diffstat (limited to 'ksame/KSameWidget.cpp')
| -rw-r--r-- | ksame/KSameWidget.cpp | 10 | 
1 files changed, 5 insertions, 5 deletions
| diff --git a/ksame/KSameWidget.cpp b/ksame/KSameWidget.cpp index e9583ae2..438154f1 100644 --- a/ksame/KSameWidget.cpp +++ b/ksame/KSameWidget.cpp @@ -47,17 +47,17 @@ static int default_colors=3;  #define Board 	KScoreDialog::Custom1  KSameWidget::KSameWidget(TQWidget *parent, const char* name, WFlags fl) : -             KMainWindow(parent,name,fl) +             TDEMainWindow(parent,name,fl)  {  	KStdGameAction::gameNew(TQT_TQOBJECT(this), TQT_SLOT(m_new()), actionCollection(), "game_new"); -	restart = new KAction(i18n("&Restart This Board"), CTRL+Key_R, TQT_TQOBJECT(this), +	restart = new TDEAction(i18n("&Restart This Board"), CTRL+Key_R, TQT_TQOBJECT(this),  						  TQT_SLOT(m_restart()), actionCollection(), "game_restart");  	KStdGameAction::highscores(TQT_TQOBJECT(this), TQT_SLOT(m_showhs()), actionCollection(), "game_highscores");  	KStdGameAction::quit(TQT_TQOBJECT(this), TQT_SLOT(close()), actionCollection(), "game_quit");  	undo = KStdGameAction::undo(TQT_TQOBJECT(this), TQT_SLOT(m_undo()), actionCollection(), "edit_undo"); -	random = new KToggleAction(i18n("&Random Board"), 0, 0, 0, actionCollection(), "random_board"); -	showNumberRemaining = new KToggleAction(i18n("&Show Number Remaining"), 0, TQT_TQOBJECT(this), TQT_SLOT(showNumberRemainingToggled()), actionCollection(), "showNumberRemaining"); +	random = new TDEToggleAction(i18n("&Random Board"), 0, 0, 0, actionCollection(), "random_board"); +	showNumberRemaining = new TDEToggleAction(i18n("&Show Number Remaining"), 0, TQT_TQOBJECT(this), TQT_SLOT(showNumberRemainingToggled()), actionCollection(), "showNumberRemaining");  	KStdAction::configureNotifications(TQT_TQOBJECT(this), TQT_SLOT(configureNotifications()),                 actionCollection()); @@ -85,7 +85,7 @@ KSameWidget::KSameWidget(TQWidget *parent, const char* name, WFlags fl) :  	// Once the main view can scale then use defualt setupGUI() and remove the  	//    noMerge="1" from the uirc file  	// StatusBar | ToolBar -	setupGUI(KMainWindow::Save | Keys | Create ); +	setupGUI(TDEMainWindow::Save | Keys | Create );  	random->setChecked(true);  	setScore(0); | 
