XML card database

This commit is contained in:
Max-Wilhelm Bruker 2009-07-11 18:25:19 +02:00
parent a3f6adddc9
commit b8bf18801f
5 changed files with 126 additions and 94 deletions

View file

@ -228,9 +228,9 @@ MainWindow::MainWindow(QWidget *parent)
QPixmapCache::setCacheLimit(200000);
db = new CardDatabase;
db->loadFromFile("../cards.dat");
db->loadFromFile("../cards.xml");
// db->importOracleDir();
// db->saveToFile("../cards.dat");
// db->saveToFile("../cards.xml");
scene = new QGraphicsScene(0, 0, 1096, 1160, this);
view = new GameView(scene);