summaryrefslogtreecommitdiffstats
path: root/pokemod/Time.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pokemod/Time.cpp')
-rw-r--r--pokemod/Time.cpp10
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;
}