Revision 1193161

Go back to digest for 7th November 2010

Bug Fixes in Games

Parker Coates committed changes in /trunk/KDE/kdegames/kpat:

Rework the DealerInfo class to improve robustness.

This may be overkill, but it makes the DealerInfo class much easier to
use. Translation duties have been moved inside the class to ensure the
developer gets a translated string unless he explicitly requests the
untranslated bytes.

The base ID and the subtype IDs are handled separately inside the class and there are explicit getters for each.

File Changes

Modified 9 files
  • /trunk/KDE/kdegames/kpat
  •   /dealerinfo.cpp
  •   /dealerinfo.h
  •   /gameselectionscene.cpp
  •   /klondike.cpp
  •   /main.cpp
  •   /mainwindow.cpp
  •   /numbereddealdialog.cpp
  •   /spider.cpp
  •   /statisticsdialog.cpp
9 files changed in total