+ /**Adds a new battle to the dokument and emits documentChanged.
+ * \todo add some checks to see if the battle exist and so and return the status.
+ * \return returns 0 if everything is ok.
+ */
+ int newBattle(QString name);
+
+ /**This returns the the data structure, so other can work on it, but not supposed
+ * change it.
+ * \todo remove this, and replace it with a better more closed interface.
+ */
+ std::map<QString, std::map<QString, std::map<QString, Fleet> > >& Battles();
+