From ef250617e8163c535931be045aa4e9d59163ace7 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Wed, 23 Jan 2008 04:50:24 +0000 Subject: [FIX] Grammer in Changelog [FIX] Made pokemod classes contain their names for later ease [ADD] PokéModr main window form [FIX] Ini and Exception includes fixed [FIX] BugCatcher bugs fixed [FIX] .pro files fixed [ADD] PokéModr main GUI almost complete MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@40 6ecfd1a5-f3ed-3746-8530-beee90d26b22 --- pokemod/Time.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'pokemod/Time.cpp') diff --git a/pokemod/Time.cpp b/pokemod/Time.cpp index b8e3215d..caf78a63 100644 --- a/pokemod/Time.cpp +++ b/pokemod/Time.cpp @@ -24,7 +24,7 @@ #include "Time.h" Time::Time(const Pokemod& par, const unsigned _id) : - Object(par, _id), + Object("Time", par, _id), name(""), startHour(0), startMinute(0) @@ -32,13 +32,13 @@ Time::Time(const Pokemod& par, const unsigned _id) : } Time::Time(const Pokemod& par, const Time& t, const unsigned _id) : - Object(par, _id) + Object("Time", par, _id) { *this = t; } Time::Time(const Pokemod& par, const QString& fname, const unsigned _id) : - Object(par, _id) + Object("Time", par, _id) { load(fname, _id); } @@ -95,14 +95,14 @@ void Time::setName(const QString& n) void Time::setStartHour(const unsigned h) throw(BoundsException) { if (24 <= h) - throw(BoundsException("Time", "startHour")); + throw(BoundsException(className, "startHour")); startHour = h; } void Time::setStartMinute(const unsigned m) throw(BoundsException) { if (60 <= m) - throw(BoundsException("Time", "startMinute")); + throw(BoundsException(className, "startMinute")); startMinute = m; } -- cgit