Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

HighscoreDialog Class Reference

Shows the highscores of a collection and lets the user select a level. More...

#include <highscore_dialog.h>

Inheritance diagram for HighscoreDialog::

List of all members.

Public Slots

void levelSelected (QListViewItem *item)

Public Methods

 HighscoreDialog (int collection_nr, QWidget *parent=0, char const *name=0)
int selectedLevel () const

Private Attributes

KListView * m_list_view
int m_selected_level

Detailed Description

Shows the highscores of a collection and lets the user select a level.

Author:
Ralf Schmelter (ralfs@pc2a.chemie.uni-dortmund.de).
Version:
0.1


Constructor & Destructor Documentation

HighscoreDialog::HighscoreDialog int collection_nr,
QWidget * parent = 0,
char const * name = 0
 

Constructs the object.

Parameters:
collection_nr   The index of the collection to display.
parent   The parent widget.
name   The internal name.


Member Function Documentation

void HighscoreDialog::levelSelected QListViewItem * item [slot]
 

Called when the user selected a level.

ent item The item selected.

int HighscoreDialog::selectedLevel const
 

Returns the level selected by the user.


Member Data Documentation

KListView* HighscoreDialog::m_list_view [private]
 

The list view with the level data.

int HighscoreDialog::m_selected_level [private]
 

The selected level.


The documentation for this class was generated from the following file:
Generated at Sun Jan 6 18:49:10 2002 for EasySok by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001