diff options
Diffstat (limited to 'kplato/kptresource.cpp')
-rw-r--r-- | kplato/kptresource.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kplato/kptresource.cpp b/kplato/kptresource.cpp index 3b3be7a28..ae56980ac 100644 --- a/kplato/kptresource.cpp +++ b/kplato/kptresource.cpp @@ -594,7 +594,7 @@ Duration Resource::effort(const DateTime &start, const Duration &duration, bool return e; } -DateTime Resource::availableAfter(const DateTime &time, const DateTime limit, bool checkAppointments) const { +DateTime Resource::availableAfter(const DateTime &time, const DateTime limit, bool chectdeAppointments) const { DateTime t; if (m_units == 0) { return t; @@ -617,14 +617,14 @@ DateTime Resource::availableAfter(const DateTime &time, const DateTime limit, bo } t = m_availableFrom > time ? m_availableFrom : time; t = cal->firstAvailableAfter(t, lmt); - if (checkAppointments) { + if (chectdeAppointments) { //TODO } //kdDebug()<<k_funcinfo<<time.toString()<<"="<<t.toString()<<" "<<m_name<<endl; return t; } -DateTime Resource::availableBefore(const DateTime &time, const DateTime limit, bool checkAppointments) const { +DateTime Resource::availableBefore(const DateTime &time, const DateTime limit, bool chectdeAppointments) const { DateTime t; if (m_units == 0) { return t; @@ -653,7 +653,7 @@ DateTime Resource::availableBefore(const DateTime &time, const DateTime limit, b } //kdDebug()<<k_funcinfo<<t<<", "<<lmt<<endl; t = cal->firstAvailableBefore(t, lmt); - if (checkAppointments) { + if (chectdeAppointments) { //TODO } //kdDebug()<<k_funcinfo<<m_name<<" returns: "<<time<<"="<<t<<" "<<endl; |