src/kolabcontainers.cpp src/kolabcontainers.h src/xcalconversions.h
Jeroen van Meeuwen
vanmeeuwen at kolabsys.com
Wed May 23 10:12:59 CEST 2012
src/kolabcontainers.cpp | 2 +-
src/kolabcontainers.h | 4 +++-
src/xcalconversions.h | 2 +-
3 files changed, 5 insertions(+), 3 deletions(-)
New commits:
commit d321aa529bf3ed8cca12bcc1e0465b3008b5ef8f
Author: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen at kolabsys.com>
Date: Wed May 23 09:12:34 2012 +0100
Add CUTYPEs GROUP and INDIVIDUAL
Correct typo Cuype => Cutype
diff --git a/src/kolabcontainers.cpp b/src/kolabcontainers.cpp
index 812269d..51e9a6c 100644
--- a/src/kolabcontainers.cpp
+++ b/src/kolabcontainers.cpp
@@ -519,7 +519,7 @@ std::vector< ContactReference > Attendee::delegatedFrom() const
return d->delegatedFrom;
}
-void Attendee::setCuype(Cutype type)
+void Attendee::setCutype(Cutype type)
{
d->cutype = type;
}
diff --git a/src/kolabcontainers.h b/src/kolabcontainers.h
index 90a1f54..b41b8b0 100644
--- a/src/kolabcontainers.h
+++ b/src/kolabcontainers.h
@@ -342,6 +342,8 @@ enum Role {
enum Cutype {
Unknown,
+ Group,
+ Individual,
Resource
};
@@ -375,7 +377,7 @@ public:
void setDelegatedFrom(const std::vector<ContactReference> &);
std::vector<ContactReference> delegatedFrom() const;
- void setCuype(Cutype);
+ void setCutype(Cutype);
Cutype cutype() const;
private:
struct Private;
diff --git a/src/xcalconversions.h b/src/xcalconversions.h
index 76a27a3..390b286 100644
--- a/src/xcalconversions.h
+++ b/src/xcalconversions.h
@@ -909,7 +909,7 @@ void setIncidenceProperties(I &inc, const T &prop)
}
if (const icalendar_2_0::CutypeParamType * p = dynamic_cast<const icalendar_2_0::CutypeParamType*> (&*it)) {
if (p->text() == RESOURCE) {
- a.setCuype(Resource);
+ a.setCutype(Resource);
}
}
More information about the commits
mailing list