1 /***************************************************************************
2 bcdoc.cpp - description
4 begin : Sun May 27 22:13:58 CEST 2001
5 copyright : (C) 2001 by Michael Andreen
7 ***************************************************************************/
9 /***************************************************************************
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
16 ***************************************************************************/
39 bool BSDoc::saveAs(const QString &filename)
44 bool BSDoc::load(const QString &filename)
46 emit documentChanged();
50 bool BSDoc::isModified() const
55 ///////////////////////////////////////////////////////////////////////////
58 int BSDoc::newBattle(QString name)
60 m_Battles[name]["Friendly"]["Home Planet"];
61 m_Battles[name]["Hostile"];
64 emit documentChanged();
68 /////////////////////////////////////////////////////////////////////////
71 std::map<QString, std::map<QString, std::map<QString, Fleet> > >& BSDoc::Battles()