From 6679f5cffa9d35a23b76605ddfbf3257f882b6ee Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Thu, 17 Apr 2008 23:34:36 +0000 Subject: [FIX] Frac -> Fraction [FIX] ImageCache and Ini removed [FIX] Fraction/Point widgets moved to pokemodr [FIX] Copy ctors made for pokemod classes [FIX] Ctors in pokemod fixed [FIX] Copyright headers fixed in pokemodr [FIX] PokeModr updated to new API and fixed in some places git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@99 6ecfd1a5-f3ed-3746-8530-beee90d26b22 --- pokemod/Store.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'pokemod/Store.cpp') diff --git a/pokemod/Store.cpp b/pokemod/Store.cpp index 37e1b3fa..a3f6e37a 100644 --- a/pokemod/Store.cpp +++ b/pokemod/Store.cpp @@ -24,19 +24,25 @@ // Header include #include "Store.h" +Store::Store(const Store& store) : + Object("Store", store.pokemod(), store.id()) +{ + *this = store; +} + Store::Store(const Pokemod* pokemod, const int id) : Object("Store", pokemod, id), m_name("") { } -Store::Store(const Pokemod* pokemod, const Store& store, const int id) : +Store::Store(const Store& store, const Pokemod* pokemod, const int id) : Object("Store", pokemod, id) { *this = store; } -Store::Store(const Pokemod* pokemod, const QDomElement& xml, const int id) : +Store::Store(const QDomElement& xml, const Pokemod* pokemod, const int id) : Object("Store", pokemod, id) { load(xml, id); -- cgit