+ /**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.
+ */
+ const BattleList& battles() const;
+
+
+ /**Looks for the fleet with the specified name, in the specified group in the
+ * specified battle.
+ * \return Returns '\0' (NULL) if the fleet isn't found, if it is found it
+ * returns a const pointer to the fleet.
+ */
+ const Fleet* specificFleet(QString battle, QString group, QString fleet) const;
+