Development/Tutorials/Games/KStandardGameAction: Difference between revisions

From KDE TechBase
m (Add more further reading)
(Add KStandardGameAction overview from header file)
Line 14: Line 14:
==Abstract==
==Abstract==
This tutorial will explain the usage of <tt>KStandardGameAction</tt>s in libkdegames.
This tutorial will explain the usage of <tt>KStandardGameAction</tt>s in libkdegames.
== KStandardGameAction ==
This class is an extension to the usual <tt>KStandardAction</tt> class which provides easy access to often used KDE actions.
Using these actions helps maintaining consistency among the games.
Games often use different menu entries than other programs, e.g. games use
the menu "game" instead of "file". This class provides the entries which
differ from the usual KStandardAction entries.


[[Category:C++]]
[[Category:C++]]

Revision as of 07:50, 19 May 2007

KStandardGameAction
Tutorial Series   KDE Games
Previous   Introduction to KDE4 programming
What's Next  
Further Reading   KStandardGameAction, KStandardAction

Abstract

This tutorial will explain the usage of KStandardGameActions in libkdegames.

KStandardGameAction

This class is an extension to the usual KStandardAction class which provides easy access to often used KDE actions.

Using these actions helps maintaining consistency among the games.

Games often use different menu entries than other programs, e.g. games use the menu "game" instead of "file". This class provides the entries which differ from the usual KStandardAction entries.