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/Time.cpp | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'pokemod/Time.cpp') diff --git a/pokemod/Time.cpp b/pokemod/Time.cpp index b87106df..c308801c 100644 --- a/pokemod/Time.cpp +++ b/pokemod/Time.cpp @@ -15,9 +15,18 @@ * with this program. If not, see . */ +// Pokemod includes #include "Pokemod.h" + +// Header include #include "Time.h" +Time::Time(const Time& time) : + Object("Time", time.pokemod(), time.id()) +{ + *this = time; +} + Time::Time(const Pokemod* pokemod, const int id) : Object("Time", pokemod, id), m_name(""), @@ -26,13 +35,13 @@ Time::Time(const Pokemod* pokemod, const int id) : { } -Time::Time(const Pokemod* pokemod, const Time& time, const int id) : +Time::Time(const Time& time, const Pokemod* pokemod, const int id) : Object("Time", pokemod, id) { *this = time; } -Time::Time(const Pokemod* pokemod, const QDomElement& xml, const int id) : +Time::Time(const QDomElement& xml, const Pokemod* pokemod, const int id) : Object("Time", pokemod, id) { load(xml, id); -- cgit