diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2008-01-23 04:50:24 +0000 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2008-01-23 04:50:24 +0000 |
| commit | ef250617e8163c535931be045aa4e9d59163ace7 (patch) | |
| tree | 5b76323ec66a63c3fca589b088b310c3fdaba2b7 /pokemod/Time.cpp | |
| parent | efa80ce427e40070e36e5ab86d2f6dbf4ad50648 (diff) | |
[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
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@40 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemod/Time.cpp')
| -rw-r--r-- | pokemod/Time.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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; } |
