Kanagram::Kanagram() : QWidget(0), m_game(NULL), m_overNext(false), m_overConfig(false), m_overHelp(false), m_overQuit(false), m_overReveal(false), m_overHint(false), m_overUp(false), m_overHintBox(false), m_showHint(false), m_player(NULL), m_actionCollection(NULL) { setAttribute(Qt::WA_StaticContents); m_renderer = new QSvgRenderer(KStandardDirs::locate("appdata", "images/kanagram.svg")); m_actionCollection = new KActionCollection(this); m_actionCollection->setAssociatedWidget(this); KStandardAction::quit(kapp, SLOT(quit()), m_actionCollection);