• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdegames API Reference
  • KDE Home
  • Contact Us
 

kgoldrunner

Public Slots | Public Member Functions | Protected Member Functions | List of all members
KGoldrunner Class Reference

#include <kgoldrunner.h>

Inheritance diagram for KGoldrunner:
Inheritance graph
[legend]

Public Slots

void redrawEditToolbar ()
 
void setAvail (const char *actionName, const bool onOff)
 
void setToggle (const char *actionName, const bool onOff)
 

Public Member Functions

 KGoldrunner ()
 
virtual ~KGoldrunner ()
 
bool startedOK ()
 

Protected Member Functions

void keyPressEvent (QKeyEvent *event)
 
void keyReleaseEvent (QKeyEvent *event)
 
bool queryClose ()
 
void readProperties (const KConfigGroup &)
 
void saveProperties (KConfigGroup &)
 

Detailed Description

This class serves as the main window for KGoldrunner.

It handles the menu, toolbar and keystroke actions and sets up the game, scene and view.

Main window class

Definition at line 42 of file kgoldrunner.h.

Constructor & Destructor Documentation

KGoldrunner::KGoldrunner ( )

Default Constructor.

Definition at line 63 of file kgoldrunner.cpp.

KGoldrunner::~KGoldrunner ( )
virtual

Default Destructor.

Definition at line 187 of file kgoldrunner.cpp.

Member Function Documentation

void KGoldrunner::keyPressEvent ( QKeyEvent *  event)
protected

Definition at line 670 of file kgoldrunner.cpp.

void KGoldrunner::keyReleaseEvent ( QKeyEvent *  event)
protected

Definition at line 680 of file kgoldrunner.cpp.

bool KGoldrunner::queryClose ( )
protected

To save edits before closing.

Definition at line 933 of file kgoldrunner.cpp.

void KGoldrunner::readProperties ( const KConfigGroup &  )
protected

This function is called when this app is restored.

The KConfig object points to the session management config file that was saved with saveProperties.

Definition at line 836 of file kgoldrunner.cpp.

void KGoldrunner::redrawEditToolbar ( )
slot

Definition at line 819 of file kgoldrunner.cpp.

void KGoldrunner::saveProperties ( KConfigGroup &  )
protected

This function is called when it is time for the app to save its properties for session management purposes.

Definition at line 827 of file kgoldrunner.cpp.

void KGoldrunner::setAvail ( const char *  actionName,
const bool  onOff 
)
slot

Definition at line 763 of file kgoldrunner.cpp.

void KGoldrunner::setToggle ( const char *  actionName,
const bool  onOff 
)
slot

Definition at line 758 of file kgoldrunner.cpp.

bool KGoldrunner::startedOK ( )
inline

Used to indicate if the class initialised properly.

Definition at line 59 of file kgoldrunner.h.


The documentation for this class was generated from the following files:
  • kgoldrunner.h
  • kgoldrunner.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:24 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kgoldrunner

Skip menu "kgoldrunner"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdegames API Reference

Skip menu "kdegames API Reference"
  • granatier
  • kapman
  • kblackbox
  • kgoldrunner
  • kigo
  • kmahjongg
  • KShisen
  • ksquares
  • libkdegames
  •   highscore
  •   libkdegamesprivate
  •     kgame
  • libkmahjongg
  • palapeli
  •   libpala

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

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