kgoldrunner
Go to the documentation of this file.
25 #include <KXmlGuiWindow>
62 void setToggle (
const char * actionName,
const bool onOff);
63 void setAvail (
const char * actionName,
const bool onOff);
71 bool identifyMoveAction (QKeyEvent * event,
bool pressed);
97 void optionsConfigureKeys();
99 void gameFreeze (
bool);
101 void adjustHintAction (
bool);
102 void setEditMenu (
bool on_off);
103 void setEditIcon (
const QString & actionName,
const char iconType);
104 void viewFullScreen (
bool activation);
106 QSize sizeHint()
const;
110 void setupEditToolbarActions();
112 QSignalMapper * tempMapper;
114 KAction * gameAction (
const QString & name,
const int code,
115 const QString & text,
const QString & toolTip,
116 const QString & whatsThis,
const QKeySequence & key);
118 KAction * editAction (
const QString & name,
const int code,
119 const QString & text,
const QString & toolTip,
120 const QString & whatsThis);
122 KToggleAction * settingAction (
const QString & name,
124 const QString & text,
125 const QString & toolTip,
126 const QString & whatsThis);
128 KToggleAction * editToolbarAction
129 (
const QString & name,
const char code,
130 const QString & shortText,
const QString & text,
131 const QString & toolTip,
const QString & whatsThis);
133 void keyControl (
const QString & name,
const QString & text,
134 const QKeySequence & shortcut,
const int code,
135 const bool mover =
false);
146 bool getDirectories();
148 QString systemHTMLDir;
149 QString systemDataDir;
157 KAction * hintAction;
163 KToolBar * editToolbar;
166 #endif // KGOLDRUNNER_H
virtual ~KGoldrunner()
Default Destructor.
void setToggle(const char *actionName, const bool onOff)
void keyReleaseEvent(QKeyEvent *event)
void setAvail(const char *actionName, const bool onOff)
KGoldrunner()
Default Constructor.
bool startedOK()
Used to indicate if the class initialised properly.
bool queryClose()
To save edits before closing.
void readProperties(const KConfigGroup &)
This function is called when this app is restored.
void saveProperties(KConfigGroup &)
This function is called when it is time for the app to save its properties for session management pur...
The QGraphicsScene that represents KGoldrunner on the screen.
void keyPressEvent(QKeyEvent *event)
This class serves as the main window for KGoldrunner.
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:44:12 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.