summaryrefslogtreecommitdiffabout
path: root/libkcal
Side-by-side diff
Diffstat (limited to 'libkcal') (more/less context) (show whitespace changes)
-rw-r--r--libkcal/incidence.cpp4
-rw-r--r--libkcal/incidence.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/libkcal/incidence.cpp b/libkcal/incidence.cpp
index 78fa24f..9c35b1d 100644
--- a/libkcal/incidence.cpp
+++ b/libkcal/incidence.cpp
@@ -382,2 +382,6 @@ QString Incidence::categoriesStr()
}
+QString Incidence::categoriesStrWithSpace()
+{
+ return mCategories.join(", ");
+}
diff --git a/libkcal/incidence.h b/libkcal/incidence.h
index 60070a2..327e7dd 100644
--- a/libkcal/incidence.h
+++ b/libkcal/incidence.h
@@ -160,2 +160,3 @@ class Incidence : public IncidenceBase
QString categoriesStr();
+ QString categoriesStrWithSpace();