Development/Tutorials/Games/Highscores

< Development‎ | Tutorials
Revision as of 22:57, 17 April 2007 by Milliams (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
High Scores
Tutorial Series   KDE Games
Previous   Introduction to KDE4 programming
What's Next  
Further Reading   KScoreDialog

Abstract

This tutorial will explain how to use the high score system built into kdegames in your application.

KScoreDialog

The high score system is provided through the KScoreDialog class. It is intended to be a lightweight solution and offers the following abilities:

  1. Grouping of scores (for different difficulty levels etc.)
  2. Standard fields: Name, Level, Date, Time, Score
  3. Custom fields (e.g. number of moves)

The Code

  1. include <KScoreDialog>


KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V.Legal