summaryrefslogtreecommitdiff
path: root/src/containers/kolabconfiguration.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/containers/kolabconfiguration.h')
-rw-r--r--src/containers/kolabconfiguration.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/containers/kolabconfiguration.h b/src/containers/kolabconfiguration.h
index 4d38367..2d8f9e8 100644
--- a/src/containers/kolabconfiguration.h
+++ b/src/containers/kolabconfiguration.h
@@ -109,11 +109,11 @@ private:
std::vector<Snippet> mSnippets;
};
-struct Tag {
- Tag(){}
- Tag(const std::string &name, const std::string &type): mName(name), mType(type) {}
+struct Relation {
+ Relation(){}
+ Relation(const std::string &name, const std::string &type): mName(name), mType(type) {}
- bool operator==(const Tag &other) const {
+ bool operator==(const Relation &other) const {
return mName == other.mName &&
mType == other.mType &&
mColor == other.mColor &&
@@ -156,7 +156,7 @@ public:
Configuration(const std::vector<CategoryColor> &);
Configuration(const Dictionary &);
Configuration(const SnippetsCollection &);
- Configuration(const Tag &);
+ Configuration(const Relation &);
Configuration(const Configuration &);
~Configuration();
void operator=(const Configuration &);
@@ -177,13 +177,13 @@ public:
TypeDictionary,
TypeCategoryColor,
TypeSnippet,
- TypeTag
+ TypeRelation
};
ConfigurationType type() const;
std::vector<CategoryColor> categoryColor() const;
Dictionary dictionary() const;
SnippetsCollection snippets() const;
- Tag tag() const;
+ Relation relation() const;
private:
struct Private;
boost::scoped_ptr<Private> d;