summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kolabformat/kolabobject.cpp5
-rw-r--r--kolabformat/kolabobject.h3
2 files changed, 7 insertions, 1 deletions
diff --git a/kolabformat/kolabobject.cpp b/kolabformat/kolabobject.cpp
index d6150c9..4a9fc5e 100644
--- a/kolabformat/kolabobject.cpp
+++ b/kolabformat/kolabobject.cpp
@@ -577,6 +577,11 @@ bool KolabObjectReader::isTag() const
return d->mTag.isValid();
}
+bool KolabObjectReader::isRelation() const
+{
+ return d->mRelation.isValid();
+}
+
Akonadi::Relation KolabObjectReader::getRelation() const
{
return d->mRelation;
diff --git a/kolabformat/kolabobject.h b/kolabformat/kolabobject.h
index 6c53f82..9bb3762 100644
--- a/kolabformat/kolabobject.h
+++ b/kolabformat/kolabobject.h
@@ -108,8 +108,9 @@ public:
Freebusy getFreebusy() const;
#ifdef HAVE_TAG_H
bool isTag() const;
- Akonadi::Relation getRelation() const;
Akonadi::Tag getTag() const;
+ bool isRelation() const;
+ Akonadi::Relation getRelation() const;
QStringList getTagMembers() const;
#endif