summaryrefslogtreecommitdiff
path: root/kolabformat/kolabobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'kolabformat/kolabobject.h')
-rw-r--r--kolabformat/kolabobject.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/kolabformat/kolabobject.h b/kolabformat/kolabobject.h
index 9bb3762..bc6d6e2 100644
--- a/kolabformat/kolabobject.h
+++ b/kolabformat/kolabobject.h
@@ -25,6 +25,8 @@
#ifdef HAVE_TAG_H
#include <akonadi/item.h>
#include <akonadi/tag.h>
+#endif
+#ifdef HAVE_RELATION_H
#include <akonadi/relation.h>
#endif
#include <kabc/addressee.h>
@@ -109,9 +111,11 @@ public:
#ifdef HAVE_TAG_H
bool isTag() const;
Akonadi::Tag getTag() const;
+ QStringList getTagMembers() const;
+#endif
+#ifdef HAVE_RELATION_H
bool isRelation() const;
Akonadi::Relation getRelation() const;
- QStringList getTagMembers() const;
#endif
private: