diff options
author | Mavridis Philippe <mavridisf@gmail.com> | 2024-09-30 00:04:56 +0300 |
---|---|---|
committer | Philippe Mavridis <philippe.mavridis@yandex.com> | 2025-05-15 21:00:25 +0300 |
commit | 04e86613f67d171cc965fce64a4310c0d25c98e1 (patch) | |
tree | 08a85d43bc40568f94259601339ccd7e1de11773 /kplato/kptresource.cpp | |
parent | cf85b9c285a2b9baa87c9d0cb9d683b48e82a475 (diff) | |
download | koffice-feat/cmake-port.tar.gz koffice-feat/cmake-port.zip |
WIP: CMake portfeat/cmake-port
Signed-off-by: Philippe Mavridis <philippe.mavridis@yandex.com>
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; |