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

libkdegames/highscore

  • KExtHighscore
  • ManagerPrivate
Public Types | Public Member Functions | Public Attributes | List of all members
KExtHighscore::ManagerPrivate Class Reference

#include <kexthighscore_internal.h>

Public Types

enum  QueryType {
  Submit, Register, Change, Players,
  Scores
}
 

Public Member Functions

 ManagerPrivate (uint nbGameTypes, Manager &manager)
 
 ~ManagerPrivate ()
 
void checkFirst ()
 
void exportHighscores (QTextStream &)
 
uint gameType () const
 
KHighscore & hsConfig ()
 
void init (uint maxNbentries)
 
bool isWWHSAvailable () const
 
bool modifySettings (const QString &newName, const QString &comment, bool WWEnabled, QWidget *widget)
 
uint nbGameTypes () const
 
PlayerInfos & playerInfos ()
 
KUrl queryUrl (QueryType type, const QString &newName=QLatin1String("")) const
 
Score readScore (uint i) const
 
ScoreInfos & scoreInfos ()
 
void setGameType (uint type)
 
int submitLocal (const Score &score)
 
int submitScore (const Score &score, QWidget *widget, bool askIfAnonymous)
 

Public Attributes

Manager & manager
 
KUrl serverURL
 
bool showDrawGames
 
Manager::ShowMode showMode
 
bool showStatistics
 
bool trackDrawGames
 
bool trackLostGames
 
QString version
 

Detailed Description

Definition at line 227 of file kexthighscore_internal.h.

Member Enumeration Documentation

enum KExtHighscore::ManagerPrivate::QueryType
Enumerator
Submit 
Register 
Change 
Players 
Scores 

Definition at line 249 of file kexthighscore_internal.h.

Constructor & Destructor Documentation

KExtHighscore::ManagerPrivate::ManagerPrivate ( uint  nbGameTypes,
Manager &  manager 
)

Definition at line 522 of file kexthighscore_internal.cpp.

KExtHighscore::ManagerPrivate::~ManagerPrivate ( )

Definition at line 536 of file kexthighscore_internal.cpp.

Member Function Documentation

void KExtHighscore::ManagerPrivate::checkFirst ( )

Definition at line 780 of file kexthighscore_internal.cpp.

void KExtHighscore::ManagerPrivate::exportHighscores ( QTextStream &  s)

Definition at line 853 of file kexthighscore_internal.cpp.

uint KExtHighscore::ManagerPrivate::gameType ( ) const
inline

Definition at line 243 of file kexthighscore_internal.h.

KHighscore& KExtHighscore::ManagerPrivate::hsConfig ( )
inline

Definition at line 248 of file kexthighscore_internal.h.

void KExtHighscore::ManagerPrivate::init ( uint  maxNbentries)

Definition at line 529 of file kexthighscore_internal.cpp.

bool KExtHighscore::ManagerPrivate::isWWHSAvailable ( ) const
inline

Definition at line 245 of file kexthighscore_internal.h.

bool KExtHighscore::ManagerPrivate::modifySettings ( const QString &  newName,
const QString &  comment,
bool  WWEnabled,
QWidget *  widget 
)

Definition at line 695 of file kexthighscore_internal.cpp.

uint KExtHighscore::ManagerPrivate::nbGameTypes ( ) const
inline

Definition at line 244 of file kexthighscore_internal.h.

PlayerInfos& KExtHighscore::ManagerPrivate::playerInfos ( )
inline

Definition at line 247 of file kexthighscore_internal.h.

KUrl KExtHighscore::ManagerPrivate::queryUrl ( QueryType  type,
const QString &  newName = QLatin1String("") 
) const

Definition at line 543 of file kexthighscore_internal.cpp.

Score KExtHighscore::ManagerPrivate::readScore ( uint  i) const

Definition at line 679 of file kexthighscore_internal.cpp.

ScoreInfos& KExtHighscore::ManagerPrivate::scoreInfos ( )
inline

Definition at line 246 of file kexthighscore_internal.h.

void KExtHighscore::ManagerPrivate::setGameType ( uint  type)

Definition at line 746 of file kexthighscore_internal.cpp.

int KExtHighscore::ManagerPrivate::submitLocal ( const Score &  score)

Definition at line 825 of file kexthighscore_internal.cpp.

int KExtHighscore::ManagerPrivate::submitScore ( const Score &  score,
QWidget *  widget,
bool  askIfAnonymous 
)

Definition at line 785 of file kexthighscore_internal.cpp.

Member Data Documentation

Manager& KExtHighscore::ManagerPrivate::manager

Definition at line 254 of file kexthighscore_internal.h.

KUrl KExtHighscore::ManagerPrivate::serverURL

Definition at line 255 of file kexthighscore_internal.h.

bool KExtHighscore::ManagerPrivate::showDrawGames

Definition at line 257 of file kexthighscore_internal.h.

Manager::ShowMode KExtHighscore::ManagerPrivate::showMode

Definition at line 258 of file kexthighscore_internal.h.

bool KExtHighscore::ManagerPrivate::showStatistics

Definition at line 257 of file kexthighscore_internal.h.

bool KExtHighscore::ManagerPrivate::trackDrawGames

Definition at line 257 of file kexthighscore_internal.h.

bool KExtHighscore::ManagerPrivate::trackLostGames

Definition at line 257 of file kexthighscore_internal.h.

QString KExtHighscore::ManagerPrivate::version

Definition at line 256 of file kexthighscore_internal.h.


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

KDE's Doxygen guidelines are available online.

libkdegames/highscore

Skip menu "libkdegames/highscore"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

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