Untitled
public text v1 · immutable//Before
KAction * action = KStandardGameAction::gameNew( this, SLOT(newGame()), this);
actionCollection()->addAction(action->objectName(), action);
//After
KStandardGameAction::gameNew( this, SLOT(newGame()), actionCollection() );