summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kolabformat/kolabobject.cpp5
-rw-r--r--kolabformat/kolabobject.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/kolabformat/kolabobject.cpp b/kolabformat/kolabobject.cpp
index cc50d9e..d6150c9 100644
--- a/kolabformat/kolabobject.cpp
+++ b/kolabformat/kolabobject.cpp
@@ -572,6 +572,11 @@ Freebusy KolabObjectReader::getFreebusy() const
}
#ifdef HAVE_TAG_H
+bool KolabObjectReader::isTag() const
+{
+ return d->mTag.isValid();
+}
+
Akonadi::Relation KolabObjectReader::getRelation() const
{
return d->mRelation;
diff --git a/kolabformat/kolabobject.h b/kolabformat/kolabobject.h
index dff7a6b..6c53f82 100644
--- a/kolabformat/kolabobject.h
+++ b/kolabformat/kolabobject.h
@@ -107,6 +107,7 @@ public:
QStringList getDictionary(QString &lang) const;
Freebusy getFreebusy() const;
#ifdef HAVE_TAG_H
+ bool isTag() const;
Akonadi::Relation getRelation() const;
Akonadi::Tag getTag() const;
QStringList getTagMembers() const;