[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdegames/ktron
From: Benjamin Meyer <benjamin () csh ! rit ! edu>
Date: 2004-06-08 14:35:29
Message-ID: 20040608143529.3D8F39911 () office ! kde ! org
[Download RAW message or body]
CVS commit by bmeyer:
convert to setupGUI
M +1 -6 ktron.cpp 1.52
--- kdegames/ktron/ktron.cpp #1.51:1.52
@@ -85,13 +85,8 @@ KTron::KTron(QWidget *parent, const char
KStdGameAction::gameNew( tron, SLOT( newGame() ), actionCollection() );
KStdGameAction::quit(this, SLOT( close() ), actionCollection());
-
- KStdAction::keyBindings(guiFactory(), SLOT(configureShortcuts()), actionCollection());
-
KStdAction::preferences(this, SLOT(showSettings()), actionCollection());
- createStandardStatusBarAction();
- createGUI();
+ setupGUI( KMainWindow::Keys | StatusBar | Save | Create);
resize(400,300);
- setAutoSaveSettings();
loadSettings();
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic